[rcu:dev.2020.08.10a 105/111] riscv64-linux-ld: main.c:undefined reference to `rcu_read_unlock_strict'
From: kernel test robot
Date: Tue Aug 11 2020 - 19:40:39 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.08.10a
head: 9dd4d242c535c30266a08806314ea6b016f94617
commit: 9e20110f8ef2745df8f4fe2d679114dccfaaa1af [105/111] rcu: Report QS for outermost PREEMPT=n rcu_read_unlock() for strict GPs
config: riscv-allnoconfig (attached as .config)
compiler: riscv64-linux-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
git checkout 9e20110f8ef2745df8f4fe2d679114dccfaaa1af
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
riscv64-linux-ld: init/main.o: in function `.L0 ':
main.c:(.ref.text+0x34): undefined reference to `rcu_read_unlock_strict'
>> riscv64-linux-ld: main.c:(.ref.text+0x64): undefined reference to `rcu_read_unlock_strict'
riscv64-linux-ld: kernel/fork.o: in function `.L26':
fork.c:(.text+0x144): undefined reference to `rcu_read_unlock_strict'
riscv64-linux-ld: kernel/fork.o: in function `.L27':
fork.c:(.text+0x164): undefined reference to `rcu_read_unlock_strict'
riscv64-linux-ld: kernel/fork.o: in function `.L183':
fork.c:(.text+0xbb4): undefined reference to `rcu_read_unlock_strict'
riscv64-linux-ld: kernel/fork.o:fork.c:(.text+0xbd4): more undefined references to `rcu_read_unlock_strict' follow
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip