scripts/min-tool-version.sh: raise minimum clang version to 14.0.0 for s390

JIRA: https://issues.redhat.com/browse/RHEL-29741

commit 8218827b73c6e41029438a2d3cc573286beee914
Author: Heiko Carstens <hca@linux.ibm.com>
Date:   Wed May 11 14:05:32 2022 +0200

    scripts/min-tool-version.sh: raise minimum clang version to 14.0.0 for s390

    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>

Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Thomas Huth 2024-05-10 10:49:46 +02:00
parent 85092ebef0
commit f2df22a8c8
1 changed files with 1 additions and 2 deletions

View File

@ -20,9 +20,8 @@ gcc)
echo 5.1.0
;;
llvm)
# https://lore.kernel.org/r/YMtib5hKVyNknZt3@osiris/
if [ "$SRCARCH" = s390 ]; then
echo 13.0.0
echo 14.0.0
else
echo 10.0.1
fi