summaryrefslogtreecommitdiffstats
path: root/scripts/min-tool-version.sh
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-06-02 16:33:54 +0200
committerPeter Zijlstra <peterz@infradead.org>2023-06-05 09:36:37 +0200
commit8664645ade97b66a9d150cae43f4e6eef737b97d (patch)
tree860135fa0531954074cac6ad9b5faa6375291750 /scripts/min-tool-version.sh
parentpercpu: Wire up cmpxchg128 (diff)
downloadlinux-8664645ade97b66a9d150cae43f4e6eef737b97d.tar.xz
linux-8664645ade97b66a9d150cae43f4e6eef737b97d.zip
parisc: Raise minimal GCC version
64-bit targets need the __int128 type, which for pa-risc means raising the minimum gcc version to 11. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Helge Deller <deller@gmx.de> Tested-by: Mark Rutland <mark.rutland@arm.com> Link: https://lkml.kernel.org/r/20230602143912.GI620383%40hirez.programming.kicks-ass.net
Diffstat (limited to 'scripts/min-tool-version.sh')
-rwxr-xr-xscripts/min-tool-version.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
index 20d483ec6f5f..367c37fc59f0 100755
--- a/scripts/min-tool-version.sh
+++ b/scripts/min-tool-version.sh
@@ -17,7 +17,11 @@ binutils)
echo 2.25.0
;;
gcc)
- echo 5.1.0
+ if [ "$SRCARCH" = parisc ]; then
+ echo 11.0.0
+ else
+ echo 5.1.0
+ fi
;;
llvm)
if [ "$SRCARCH" = s390 ]; then