[bvanassche:configfs 3/3] configfs-test.c:undefined reference to `kunit_binary_assert_format'

kernel test robot
2021-07-31T07:01:30Z

[-- Attachment #1: Type: text/plain, Size: 7376 bytes --]

tree: https://github.com/bvanassche/linux configfs
head: b797b6eadbd0dd69533fd4fad901c20202a52095
commit: b797b6eadbd0dd69533fd4fad901c20202a52095 [3/3] configfs: Add unit tests
config: ia64-randconfig-r024-20210730 (attached as .config)
compiler: ia64-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=ia64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

ia64-linux-ld: fs/configfs/configfs-test.o: in function `configfs_bin_attr':
>> configfs-test.c:(.text+0x70): undefined reference to `kunit_binary_assert_format'
>> ia64-linux-ld: configfs-test.c:(.text+0x172): undefined reference to `kunit_do_assertion'
>> ia64-linux-ld: configfs-test.c:(.text+0x1f0): undefined reference to `kunit_unary_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x2d2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x3b2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x442): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x461): undefined reference to `kunit_unary_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x552): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x6c2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x772): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x822): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x8e2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: fs/configfs/configfs-test.o:configfs-test.c:(.text+0x992): more undefined references to `kunit_do_assertion' follow
ia64-linux-ld: fs/configfs/configfs-test.o: in function `configfs_bin_attr':
configfs-test.c:(.text+0x10b0): undefined reference to `kunit_binary_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x11e2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x12a2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1342): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1422): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x14d2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: fs/configfs/configfs-test.o: in function `configfs_text_attr':
configfs-test.c:(.text+0x1601): undefined reference to `kunit_binary_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x1702): undefined reference to `kunit_do_assertion'
>> ia64-linux-ld: configfs-test.c:(.text+0x1721): undefined reference to `kunit_binary_str_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x1852): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1932): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x19d2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1a92): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1b32): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1b51): undefined reference to `kunit_binary_str_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x1c32): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1d02): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1d92): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1e52): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1ef2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x1f11): undefined reference to `kunit_binary_str_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x2042): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x2122): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x21b2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x21d1): undefined reference to `kunit_binary_str_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x2332): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x2412): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x24e2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x25a2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x2672): undefined reference to `kunit_do_assertion'
ia64-linux-ld: fs/configfs/configfs-test.o:configfs-test.c:(.text+0x2732): more undefined references to `kunit_do_assertion' follow
ia64-linux-ld: fs/configfs/configfs-test.o: in function `configfs_text_attr':
>> configfs-test.c:(.text+0x2810): undefined reference to `kunit_binary_str_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x28c2): undefined reference to `kunit_do_assertion'
>> ia64-linux-ld: configfs-test.c:(.text+0x2900): undefined reference to `kunit_binary_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x2a32): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x2af2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x2b92): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x2c52): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x2cf2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: fs/configfs/configfs-test.o: in function `configfs_mounted':
>> configfs-test.c:(.text+0x34a0): undefined reference to `kunit_unary_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x3580): undefined reference to `kunit_unary_assert_format'
ia64-linux-ld: configfs-test.c:(.text+0x3682): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x3842): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x3a02): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x3bc2): undefined reference to `kunit_do_assertion'
ia64-linux-ld: configfs-test.c:(.text+0x3d82): undefined reference to `kunit_do_assertion'
ia64-linux-ld: fs/configfs/configfs-test.o:configfs-test.c:(.text+0x3f62): more undefined references to `kunit_do_assertion' follow

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32803 bytes --]