Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1541527 > unrolled thread

undefined reference to `_text'

Started bykbuild test robot <fengguang.wu@intel.com>
First post2016-12-13 22:10 +0100
Last post2016-12-14 14:00 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  undefined reference to `_text' kbuild test robot <fengguang.wu@intel.com> - 2016-12-13 22:10 +0100
    Re: undefined reference to `_text' Stafford Horne <shorne@gmail.com> - 2016-12-14 03:50 +0100
    Re: undefined reference to `_text' Stafford Horne <shorne@gmail.com> - 2016-12-14 14:00 +0100

#1541527 — undefined reference to `_text'

Fromkbuild test robot <fengguang.wu@intel.com>
Date2016-12-13 22:10 +0100
Subjectundefined reference to `_text'
Message-ID<sO2uK-683-41@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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'

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

[toc] | [next] | [standalone]


#1541659

FromStafford Horne <shorne@gmail.com>
Date2016-12-14 03:50 +0100
Message-ID<sO7NM-J9-11@gated-at.bofh.it>
In reply to#1541527
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

[toc] | [prev] | [next] | [standalone]


#1541888

FromStafford Horne <shorne@gmail.com>
Date2016-12-14 14:00 +0100
Message-ID<sOhk5-6yG-3@gated-at.bofh.it>
In reply to#1541527
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 just sent a patch for this.

"openrisc: Add _text symbol to fix ksym build error"

-Stafford

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web