]> Gentwo Git Trees - linux/.git/commit
ARM: Select ARCH_USES_CFI_GENERIC_LLVM_PASS
authorNathan Chancellor <nathan@kernel.org>
Sat, 25 Oct 2025 20:53:19 +0000 (21:53 +0100)
committerKees Cook <kees@kernel.org>
Thu, 30 Oct 2025 03:04:55 +0000 (20:04 -0700)
commit1ed9e6b1004f786d036eaabffb4ee6db9405e117
tree01a20ce60c317144886f3a977351ed08a919da43
parent39c89ee6e9c4464eb366f4e594379454a6c4db39
ARM: Select ARCH_USES_CFI_GENERIC_LLVM_PASS

Prior to clang 22.0.0 [1], ARM did not have an architecture specific
kCFI bundle lowering in the backend, which may cause issues. Select
CONFIG_ARCH_USES_CFI_GENERIC_LLVM_PASS to enable use of __nocfi_generic.

Link: https://github.com/llvm/llvm-project/commit/d130f402642fba3d065aacb506cb061c899558de
Link: https://github.com/ClangBuiltLinux/linux/issues/2124
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20251025-idpf-fix-arm-kcfi-build-error-v1-2-ec57221153ae@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
arch/arm/Kconfig