[tip:x86/asm 3/3] bug.c:undefined reference to `__start___bug_table'

From: kbuild test robot
Date: Thu Mar 30 2017 - 07:53:57 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/asm
head: 19d436268dde95389c616bb3819da73f0a8b28a8
commit: 19d436268dde95389c616bb3819da73f0a8b28a8 [3/3] debug: Add _ONCE() logic to report_bug()
config: c6x-evmc6678_defconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 19d436268dde95389c616bb3819da73f0a8b28a8
# save the attached .config to linux build tree
make.cross ARCH=c6x

All errors (new ones prefixed by >>):

lib/lib.a(bug.o): In function `find_bug':
>> bug.c:(.text+0x114): undefined reference to `__start___bug_table'
>> bug.c:(.text+0x118): undefined reference to `__stop___bug_table'
bug.c:(.text+0x11c): undefined reference to `__start___bug_table'
bug.c:(.text+0x120): undefined reference to `__stop___bug_table'

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

Attachment: .config.gz
Description: application/gzip