diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index ad1274cd135d..7a6914fdfcb7 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1627,6 +1627,8 @@ config ARM64_BTI_KERNEL # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94697 depends on !CC_IS_GCC || GCC_VERSION >= 100100 depends on !(CC_IS_CLANG && GCOV_KERNEL) + # https://bugs.llvm.org/show_bug.cgi?id=46258 + depends on !CFI_CLANG || CLANG_VERSION >= 120000 depends on (!FUNCTION_GRAPH_TRACER || DYNAMIC_FTRACE_WITH_REGS) help Build the kernel with Branch Target Identification annotations