]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scripts/min-tool-version.sh: raise minimum clang version to 14.0.0 for s390
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 11 May 2022 12:05:32 +0000 (14:05 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 17 May 2022 13:16:29 +0000 (15:16 +0200)
Before version 14.0.0 llvm's integrated assembler fails to handle some
displacement variants:

arch/s390/purgatory/head.S:108:10: error: invalid operand for instruction
 lg %r11,kernel_type-.base_crash(%r13)

Instead of working around this and given that this is already fixed
raise the minimum clang version from 13.0.0 to 14.0.0.

Acked-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://reviews.llvm.org/D113341
Link: https://lore.kernel.org/r/20220511120532.2228616-9-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
scripts/min-tool-version.sh

index 7c20252a90c68d6108caa0207c6769ae761861dc..250925aab101c8eeda2728f78538e81992dda38e 100755 (executable)
@@ -24,9 +24,8 @@ icc)
        echo 16.0.3
        ;;
 llvm)
-       # https://lore.kernel.org/r/YMtib5hKVyNknZt3@osiris/
        if [ "$SRCARCH" = s390 ]; then
-               echo 13.0.0
+               echo 14.0.0
        else
                echo 11.0.0
        fi