]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scripts/min-tool-version.sh: raise minimum clang version to 15.0.0 for s390
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 31 Oct 2022 12:34:56 +0000 (13:34 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 9 Nov 2022 17:41:16 +0000 (18:41 +0100)
Before version 15.0.0 llvm's integrated assembler may silently
generate corrupted code on s390. See e.g. commit e9953b729b78
("s390/boot: workaround llvm IAS bug") for further details.

While there have been workarounds applied for all known existing
locations, there is nothing that prevents that new code with
problematic patterns will be added.

Therefore raise the minimum clang version to 15.0.0. Note that llvm
commit e547b04d5b2c ("[SystemZ] Bugfix for symbolic displacements."),
which is included in 15.0.0, fixes the broken code generation.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20221031123456.3872220-1-hca@linux.ibm.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
scripts/min-tool-version.sh

index b6593eac5003cfae2ddfce5ac50ab6155058377e..201bccfbc67883fdb9e6e872e56a58af5ca0c850 100755 (executable)
@@ -25,7 +25,7 @@ icc)
        ;;
 llvm)
        if [ "$SRCARCH" = s390 ]; then
-               echo 14.0.0
+               echo 15.0.0
        else
                echo 11.0.0
        fi