From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 10 Apr 2019 18:02:24 +0200 From: Martin Schwidefsky Subject: Re: [PATCH 11/12] s390: make chkbss work with clang In-Reply-To: <20190408212648.2407234-11-arnd@arndb.de> References: <20190408212648.2407234-1-arnd@arndb.de> <20190408212648.2407234-11-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20190410180224.45db1055@mschwideX1> Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Arnd Bergmann Cc: Heiko Carstens , clang-built-linux@googlegroups.com, Nick Desaulniers , Nathan Chancellor , linux-s390@vger.kernel.org, Vasily Gorbik , linux-kernel@vger.kernel.org List-ID: On Mon, 8 Apr 2019 23:26:24 +0200 Arnd Bergmann 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 Added to s390/linux:features for the next merge window. Thanks. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.