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'
Unified · Split
| @@ -26,7 +26,7 @@ gcc) · 25 unmodified lines | |||
| 26 | fi | 26 | fi |
| 27 | ;; | 27 | ;; |
| 28 | llvm) | 28 | llvm) |
| 29 | if [ "$SRCARCH" = s390 ]; then | 29 | if [ "$SRCARCH" = s390 -o "$SRCARCH" = x86 ]; then |
| 30 | echo 15.0.0 | 30 | echo 15.0.0 |
| 31 | elif [ "$SRCARCH" = loongarch ]; then | 31 | elif [ "$SRCARCH" = loongarch ]; then |
| 32 | echo 18.0.0 | 32 | echo 18.0.0 |