Re: undefined reference to `_text'
From: Stafford Horne
Date: Tue Dec 13 2016 - 21:40:01 EST
On Wed, Dec 14, 2016 at 05:00:22AM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: b78b499a67c3f77aeb6cd0b54724bc38b141255d
> commit: 7c7808ce107d63e158dbbc3af085980985a0c3c4 openrisc: prevent VGA console, fix builds
> date: 31 hours ago
> config: openrisc-alldefconfig (attached as .config)
> compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
> 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 7c7808ce107d63e158dbbc3af085980985a0c3c4
> # save the attached .config to linux build tree
> make.cross ARCH=openrisc
>
> All errors (new ones prefixed by >>):
>
> .tmp_kallsyms1.o: In function `kallsyms_relative_base':
> >> (.rodata+0x8a18): undefined reference to `_text'
>
I can reproduce this. Sorry about it never noticed before it seems
specifically related to 'make alldefconfig' not happending with my
config. Having a look.
-Stafford