[vgupta-arc:topic-zol-remove 80/187] undefined reference to `arc_debug'

From: kernel test robot
Date: Fri Oct 22 2021 - 03:34:14 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git topic-zol-remove
head: f2709e461ce51e131e57d07a45a634f3b79b5298
commit: b1afff27a36ab56a6ed1d5933731a360aa896ad3 [80/187] xxx: debug fork/execve
config: riscv-randconfig-r042-20211021 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 11.2.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/vgupta/arc.git/commit/?id=b1afff27a36ab56a6ed1d5933731a360aa896ad3
git remote add vgupta-arc https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git
git fetch --no-tags vgupta-arc topic-zol-remove
git checkout b1afff27a36ab56a6ed1d5933731a360aa896ad3
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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 >>):

riscv64-linux-ld: kernel/fork.o: in function `.L0 ':
fork.c:(.text+0x1ea6): undefined reference to `arc_debug'
riscv64-linux-ld: kernel/fork.o: in function `.L584':
fork.c:(.text+0x2626): undefined reference to `arc_debug'
riscv64-linux-ld: kernel/kthread.o: in function `kthread_probe_data':
>> (.text+0x16ba): undefined reference to `arc_debug'
riscv64-linux-ld: fs/exec.o: in function `.L18':
exec.c:(.text+0x1204): undefined reference to `arc_debug'

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

Attachment: .config.gz
Description: application/gzip