[bvanassche:configfs 3/3] s390-linux-ld: configfs-test.c:undefined reference to `kunit_do_assertion'

From: kernel test robot
Date: Fri Jul 30 2021 - 21:05:18 EST


tree: https://github.com/bvanassche/linux configfs
head: b797b6eadbd0dd69533fd4fad901c20202a52095
commit: b797b6eadbd0dd69533fd4fad901c20202a52095 [3/3] configfs: Add unit tests
config: s390-allmodconfig (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://github.com/bvanassche/linux/commit/b797b6eadbd0dd69533fd4fad901c20202a52095
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche configfs
git checkout b797b6eadbd0dd69533fd4fad901c20202a52095
# 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 <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0xdc): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x1c2): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x6be): undefined reference to `memunmap'
s390-linux-ld: fs/configfs/configfs-test.o: in function `configfs_bin_attr':
configfs-test.c:(.text+0xde): undefined reference to `kunit_binary_assert_format'
>> s390-linux-ld: configfs-test.c:(.text+0x118): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1f4): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x28e): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x346): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x3e0): undefined reference to `kunit_do_assertion'
s390-linux-ld: fs/configfs/configfs-test.o:configfs-test.c:(.text+0x4f4): more undefined references to `kunit_do_assertion' follow
s390-linux-ld: fs/configfs/configfs-test.o: in function `configfs_bin_attr':
configfs-test.c:(.text+0x70c): undefined reference to `kunit_unary_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x78a): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x860): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x8fe): undefined reference to `kunit_do_assertion'
>> s390-linux-ld: configfs-test.c:(.text+0x980): undefined reference to `kunit_unary_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x9fe): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0xb00): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0xbda): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0xc9a): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0xd46): undefined reference to `kunit_do_assertion'
s390-linux-ld: fs/configfs/configfs-test.o:configfs-test.c:(.text+0xe34): more undefined references to `kunit_do_assertion' follow
s390-linux-ld: fs/configfs/configfs-test.o: in function `configfs_text_attr':
configfs-test.c:(.text+0x12d2): undefined reference to `kunit_binary_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x130c): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x13f2): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1490): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x155a): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1600): undefined reference to `kunit_do_assertion'
>> s390-linux-ld: configfs-test.c:(.text+0x1670): undefined reference to `kunit_binary_str_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x170a): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x17d0): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1876): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1940): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x19e6): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1a56): undefined reference to `kunit_binary_str_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x1af0): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1bb6): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1c5c): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1d26): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1dcc): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1e3c): undefined reference to `kunit_binary_str_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x1ed6): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x1fa6): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x204c): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x20be): undefined reference to `kunit_binary_str_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x215e): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x2226): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x22ec): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x23ac): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x246a): undefined reference to `kunit_do_assertion'
s390-linux-ld: fs/configfs/configfs-test.o:configfs-test.c:(.text+0x2528): more undefined references to `kunit_do_assertion' follow
s390-linux-ld: fs/configfs/configfs-test.o: in function `configfs_text_attr':
configfs-test.c:(.text+0x262e): undefined reference to `kunit_binary_str_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x26ba): undefined reference to `kunit_do_assertion'
s390-linux-ld: fs/configfs/configfs-test.o: in function `configfs_mounted':
configfs-test.c:(.text+0x2f10): undefined reference to `kunit_unary_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x2f70): undefined reference to `kunit_unary_assert_format'
s390-linux-ld: configfs-test.c:(.text+0x2ffc): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x3146): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x3290): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x33da): undefined reference to `kunit_do_assertion'
s390-linux-ld: configfs-test.c:(.text+0x3524): undefined reference to `kunit_do_assertion'
s390-linux-ld: fs/configfs/configfs-test.o:configfs-test.c:(.text+0x366a): more undefined references to `kunit_do_assertion' follow
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x62): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x14e): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `fixed_mmio_clk_setup':
clk-fixed-mmio.c:(.text+0x3c): undefined reference to `of_iomap'
s390-linux-ld: clk-fixed-mmio.c:(.text+0x7e): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0x4d4): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x69c): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x7ba): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer':
timer-microchip-pit64b.c:(.init.text+0x894): undefined reference to `of_iomap'
s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0xae4): undefined reference to `iounmap'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip