History

x86/build: Raise the minimum LLVM version to 15.0.0

In a similar vein as to this pending commit in the x86/asm tree: a3e8fe814ad1 ("x86/build: Raise the minimum GCC version to 8.1") ... bump the minimum supported version of LLVM for building x86 kernels to 15.0.0, as that is the first version that has support for '-mstack-protector-guard-symbol', which is used unconditionally after: 80d47defddc0 ("x86/stackprotector/64: Convert to normal per-CPU variable"): Older Clang versions will fail the build with: clang-14: error: unknown argument: '-mstack-protector-guard-symbol=__ref_stack_chk_guard'

Nathan Chancellor committed 1 year ago

Commit 78616401 parent 01157dd1 file · +1 −1Browse files

Unified · Split

scripts/min-tool-version.sh+1−1
@@ -26,7 +26,7 @@ gcc) · 25 unmodified lines
26 fi26 fi
27 ;;27 ;;
28llvm)28llvm)
29 if [ "$SRCARCH" = s390 ]; then29 if [ "$SRCARCH" = s390 -o "$SRCARCH" = x86 ]; then
30 echo 15.0.030 echo 15.0.0
31 elif [ "$SRCARCH" = loongarch ]; then31 elif [ "$SRCARCH" = loongarch ]; then
32 echo 18.0.032 echo 18.0.0