[rcu:dev.2021.07.27b 33/57] riscv32-linux-ld: cpu.c:undefined reference to `__udivdi3'

From: kernel test robot
Date: Tue Aug 03 2021 - 03:42:15 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.07.27b
head: 11e66439ec35a4e59ab0bafdc33b56f395cc3b49
commit: b2bdd2a98b4b3b955b4f226cea37372ec04874af [33/57] EXP cpu: Add yet more CPU-hotplug progress debugging code
config: riscv-rv32_defconfig (attached as .config)
compiler: riscv32-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://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=b2bdd2a98b4b3b955b4f226cea37372ec04874af
git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
git fetch --no-tags rcu dev.2021.07.27b
git checkout b2bdd2a98b4b3b955b4f226cea37372ec04874af
# 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=riscv SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

riscv32-linux-ld: kernel/cpu.o: in function `.L102':
cpu.c:(.text+0x5fc): undefined reference to `__udivdi3'
riscv32-linux-ld: kernel/cpu.o: in function `__cpuhp_setup_state':
cpu.c:(.text+0x19a4): undefined reference to `__udivdi3'
>> riscv32-linux-ld: cpu.c:(.text+0x1a36): undefined reference to `__udivdi3'
riscv32-linux-ld: cpu.c:(.text+0x1a54): undefined reference to `__udivdi3'
riscv32-linux-ld: cpu.c:(.text+0x1a72): undefined reference to `__udivdi3'

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

Attachment: .config.gz
Description: application/gzip