undefined reference to `printk'

From: kbuild test robot
Date: Mon Aug 15 2016 - 21:20:50 EST


Hi Peter,

It's probably a bug fix that unveils the link errors.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3684b03d8e9a889eda94ee74421959a9d55e5e19
commit: 63a3f603413ffe82ad775f2d62a5afff87fd94a0 timeconst.pl: Eliminate Perl warning
date: 3 years, 6 months ago
config: m32r-allnoconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 63a3f603413ffe82ad775f2d62a5afff87fd94a0
# save the attached .config to linux build tree
make.cross ARCH=m32r

All errors (new ones prefixed by >>):

arch/m32r/kernel/built-in.o: In function `default_eit_handler':
>> (.text+0x51c): undefined reference to `printk'
arch/m32r/kernel/built-in.o: In function `default_eit_handler':
(.text+0x51c): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `printk'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data