[rcu:rcu/test 138/143] rcutorture.c:undefined reference to `torture_num_online_cpus'
From: kernel test robot
Date: Wed Dec 23 2020 - 14:05:43 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test
head: 4c4c8e04a7f8522de634aa062f4cd6b8b80c151b
commit: cf516f4063cae6b69de6dd734d6c57901d24f112 [138/143] torture: Maintain torture-specific set of CPUs-online books
config: arc-randconfig-r016-20201221 (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.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/paulmck/linux-rcu.git/commit/?id=cf516f4063cae6b69de6dd734d6c57901d24f112
git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
git fetch --no-tags rcu rcu/test
git checkout cf516f4063cae6b69de6dd734d6c57901d24f112
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
arceb-elf-ld: kernel/rcu/rcutorture.o: in function `rcu_torture_one_read':
>> rcutorture.c:(.text+0x22b8): undefined reference to `torture_num_online_cpus'
>> arceb-elf-ld: rcutorture.c:(.text+0x22b8): undefined reference to `torture_num_online_cpus'
arceb-elf-ld: kernel/rcu/rcutorture.o: in function `rcu_torture_reader':
rcutorture.c:(.text+0x267a): undefined reference to `torture_num_online_cpus'
arceb-elf-ld: rcutorture.c:(.text+0x267a): undefined reference to `torture_num_online_cpus'
arceb-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
stackdepot.c:(.text+0x34a): undefined reference to `__irqentry_text_start'
arceb-elf-ld: stackdepot.c:(.text+0x34a): undefined reference to `__irqentry_text_start'
arceb-elf-ld: stackdepot.c:(.text+0x352): undefined reference to `__irqentry_text_end'
arceb-elf-ld: stackdepot.c:(.text+0x352): undefined reference to `__irqentry_text_end'
arceb-elf-ld: stackdepot.c:(.text+0x35a): undefined reference to `__softirqentry_text_start'
arceb-elf-ld: stackdepot.c:(.text+0x35a): undefined reference to `__softirqentry_text_start'
arceb-elf-ld: stackdepot.c:(.text+0x362): undefined reference to `__softirqentry_text_end'
arceb-elf-ld: stackdepot.c:(.text+0x362): undefined reference to `__softirqentry_text_end'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip