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

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/min-tool-version.sh+1−1
@@ -26,7 +26,7 @@ gcc) · 25 unmodified lines
2626 fi
2727 ;;
2828 llvm)
29− if [ "$SRCARCH" = s390 ]; then
29+ if [ "$SRCARCH" = s390 -o "$SRCARCH" = x86 ]; then
3030 echo 15.0.0
3131 elif [ "$SRCARCH" = loongarch ]; then
3232 echo 18.0.0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t