Re: [PATCH 11/12] s390: make chkbss work with clang

From: Martin Schwidefsky
Date: Wed Apr 10 2019 - 12:02:35 EST

On Mon, 8 Apr 2019 23:26:24 +0200
Arnd Bergmann <arnd@xxxxxxxx> wrote:

> llvm skips an empty .bss section entirely, which makes
> the check fail with an unexpected error:
> /tmp/binutils-multi-test/bin/s390x-linux-gnu-objdump: section '.bss' mentioned in a -j option, but not found in any input file
> error: arch/s390/boot/compressed/decompressor.o .bss section is not empty
> ../arch/s390/scripts/Makefile.chkbss:20: recipe for target 'arch/s390/boot/compressed/decompressor.o.chkbss' failed
> Change the check so we first see if a .bss section exists
> before trying to read its size.
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Added to s390/linux:features for the next merge window. Thanks.

blue skies,

"Reality continues to ruin my life." - Calvin.