tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6014cfa5bf32cf8c5c58b3cfd5ee0e1542c8a825 commit: fe5be808fa6c8df5cf939ec622514f970573bc88 [9226/10906] nitro_enclaves: test: Use kunit_test_suite() macro config: arm64-randconfig-r026-20220715 (https://download.01.org/0day-ci/archive/20220717/202207171447.MI0Zed7N-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 2da550140aa98cf6a3e96417c87f1e89e3a26047) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fe5be808fa6c8df5cf939ec622514f970573bc88 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout fe5be808fa6c8df5cf939ec622514f970573bc88 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: kunit_kmalloc_array >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(ne_misc_dev_test_merge_phys_contig_memory_regions) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: kunit_binary_assert_format >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(ne_misc_dev_test_merge_phys_contig_memory_regions) in archive drivers/built-in.a >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(ne_misc_dev_test_merge_phys_contig_memory_regions) in archive drivers/built-in.a >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(ne_misc_dev_test_merge_phys_contig_memory_regions) in archive drivers/built-in.a >>> referenced 5 more times -- >> ld.lld: error: undefined symbol: kunit_do_failed_assertion >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(ne_misc_dev_test_merge_phys_contig_memory_regions) in archive drivers/built-in.a >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(ne_misc_dev_test_merge_phys_contig_memory_regions) in archive drivers/built-in.a >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(ne_misc_dev_test_merge_phys_contig_memory_regions) in archive drivers/built-in.a >>> referenced 2 more times -- >> ld.lld: error: undefined symbol: kunit_kfree >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(ne_misc_dev_test_merge_phys_contig_memory_regions) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: kunit_unary_assert_format >>> referenced by ne_misc_dev.c >>> virt/nitro_enclaves/ne_misc_dev.o:(.rodata+0x258) in archive drivers/built-in.a -- 0-DAY CI Kernel Test Service https://01.org/lkp