undefined reference to `printk'

From: kbuild test robot
Date: Sun Aug 07 2016 - 03:12:42 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: 0cbbc422d56668528f6efd1234fe908010284082
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