From: kernel test robot <lkp@intel.com>
To: David Gow <davidgow@google.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Shuah Khan <skhan@linuxfoundation.org>,
Andra Paraschiv <andraprs@amazon.com>
Subject: [linux-next:master 9226/10906] ld.lld: error: undefined symbol: kunit_kmalloc_array
Date: Sun, 17 Jul 2022 14:02:42 +0800 [thread overview]
Message-ID: <202207171447.MI0Zed7N-lkp@intel.com> (raw)
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@intel.com/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@intel.com>
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
reply other threads:[~2022-07-17 6:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202207171447.MI0Zed7N-lkp@intel.com \
--to=lkp@intel.com \
--cc=andraprs@amazon.com \
--cc=davidgow@google.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox