[linux-rt-devel:linux-5.13.y-rt-rebase 4/222] arc-elf-ld: printk.c:undefined reference to `kgdb_roundup_cpu'

From: kernel test robot
Date: Thu Jul 08 2021 - 12:33:42 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.13.y-rt-rebase
head: 7e175e6b59975c8901ad370f7818937f68de45c1
commit: 735eda8e5ceb2b6716285c005e876bff2df979cc [4/222] console: add write_atomic interface
config: arc-randconfig-r031-20210707 (attached as .config)
compiler: arc-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/rt/linux-rt-devel.git/commit/?id=735eda8e5ceb2b6716285c005e876bff2df979cc
git remote add linux-rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags linux-rt-devel linux-5.13.y-rt-rebase
git checkout 735eda8e5ceb2b6716285c005e876bff2df979cc
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=arc 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 >>):

arc-elf-ld: kernel/printk/printk.o: in function `console_atomic_unlock':
printk.c:(.text+0x3012): undefined reference to `kgdb_roundup_cpu'
>> arc-elf-ld: printk.c:(.text+0x3012): undefined reference to `kgdb_roundup_cpu'

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

Attachment: .config.gz
Description: application/gzip