tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ff1176468d368232b684f75e82563369208bc371
commit: 7b034d9c1b08b3d06ad712283c1115a7fe39e354 s390/boot: add zstd support
date: 6 weeks ago
config: s390-randconfig-r026-20210727 (attached as .config)
compiler: s390-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7b034d9c1b08b3d06ad712283c1115a7fe39e354
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 7b034d9c1b08b3d06ad712283c1115a7fe39e354
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
All errors (new ones prefixed by >>):
s390-linux-ld: arch/s390/boot/compressed/decompressor.o: in function `HUF_decompress1X2_usingDTable_internal':
>> decompressor.c:(.text+0x2152): undefined reference to `__clzdi2'
>> s390-linux-ld: decompressor.c:(.text+0x2392): undefined reference to `__clzdi2'
s390-linux-ld: arch/s390/boot/compressed/decompressor.o: in function `HUF_decompress1X4_usingDTable_internal':
decompressor.c:(.text+0x2d16): undefined reference to `__clzdi2'
s390-linux-ld: decompressor.c:(.text+0x2db4): undefined reference to `__clzdi2'
s390-linux-ld: arch/s390/boot/compressed/decompressor.o: in function `ZSTD_decodeSequenceLong':
decompressor.c:(.text+0x32a2): undefined reference to `__clzdi2'
s390-linux-ld: arch/s390/boot/compressed/decompressor.o:decompressor.c:(.text+0x450c): more undefined references to `__clzdi2' follow
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
On Wed, Jul 28, 2021 at 01:27:54AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: ff1176468d368232b684f75e82563369208bc371
> commit: 7b034d9c1b08b3d06ad712283c1115a7fe39e354 s390/boot: add zstd support
> date: 6 weeks ago
> config: s390-randconfig-r026-20210727 (attached as .config)
...
> s390-linux-ld: arch/s390/boot/compressed/decompressor.o: in function `HUF_decompress1X2_usingDTable_internal':
> >> decompressor.c:(.text+0x2152): undefined reference to `__clzdi2'
haaaahh.... Not very nice, but that would work:
Vasily Gorbik (1):
s390/boot: fix zstd build for -march=z900
arch/s390/boot/compressed/Makefile | 1 +
arch/s390/boot/compressed/clz_ctz.c | 2 ++
2 files changed, 3 insertions(+)
create mode 100644 arch/s390/boot/compressed/clz_ctz.c
--
2.25.4