Re: [next] [clang] s390: clang: error: unable to execute command: Segmentation fault (core dumped)

From: Heiko Carstens
Date: Thu Jun 17 2021 - 10:56:10 EST


On Thu, Jun 17, 2021 at 06:19:14PM +0530, Naresh Kamboju wrote:
> The git bisect found the first bad commit,
> The first bad commit:
> commit 3abbdfde5a6588a92209cd8b131769b8058e7c21
> Author: Heiko Carstens <hca@xxxxxxxxxxxxx>
> Date: Wed Jun 9 22:59:13 2021 +0200
> s390/bitops: use register pair instead of register asm
>
> Get rid of register asm statement and use a register pair.
> This allows the compiler to allocate registers on its own.
>
> Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
> Signed-off-by: Vasily Gorbik <gor@xxxxxxxxxxxxx>
> arch/s390/include/asm/bitops.h | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
> Previous HEAD position was 3abbdfde5a65 s390/bitops: use register pair
> instead of register asm
> HEAD is now at 7d9c6b8147bd Add linux-next specific files for 20210617

You need clang-13 development version which contains commit
d058262b1471 ("[SystemZ] Support i128 inline asm operands.").
Every older clang version won't be able to complile the kernel for
s390 anymore.

This is intended and won't be fixed.