Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1538319
| From | Nicholas Piggin <npiggin@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: linux-next: Tree for Dec 7 (kallsyms failure) |
| Date | 2016-12-08 06:10 +0100 |
| Message-ID | <sLZ7Y-1LZ-5@gated-at.bofh.it> (permalink) |
| References | <sLDTP-4MF-7@gated-at.bofh.it> <sLU8i-6PU-21@gated-at.bofh.it> <sLUhY-6TP-15@gated-at.bofh.it> <sLWMO-8w0-11@gated-at.bofh.it> <sLYEV-1lh-9@gated-at.bofh.it> |
| Organization | IBM |
On Thu, 8 Dec 2016 15:29:35 +1100
Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> On Wed, 7 Dec 2016 18:30:57 -0800 Randy Dunlap <rdunlap@infradead.org> wrote:
> >
> > On 12/07/16 15:56, Stephen Rothwell wrote:
> > >
> > > On Wed, 7 Dec 2016 15:42:32 -0800 Randy Dunlap <rdunlap@infradead.org> wrote:
> > >>
> > >> I started seeing this yesterday (2016-1206).
> > >> This is on x86_64.
> > >>
> > >> Anybody know about it?
> > >>
> > >> kallsyms failure: relative symbol value 0xffffffff81000000 out of range in relative mode
> > >
> > > I got a similar failure starting a few days ago on my powerpc
> > > allyesconfig build. I was assuming that it was PowerPC specific, but
> > > noone has found a cause yet.
> > >
> >
> > It may just be an invalid randconfig. I modified scripts/kallsyms.c and
> > I see this message:
> > kallsyms failure: relative symbol value 0xffffffff81000000 [symbol: Tstartup_64] out of range in relative mode
> >
> > and it makes sense that startup_64 would (or could) be at 0xffffffff81000000...
> > especially since CONFIG_PHYSICAL_START=0x1000000 and
> > (from Documentation/x86/x86_64/mm.txt)
> > ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0
> >
> >
> > Ard, what do you think about this?
>
> The similar failure I saw in the powerpc allyesconfig build
>
> kallsyms failure: relative symbol value 0xc000000000000000 out of range in relative mode
>
> was caused by commit
>
> 8ab2ae655bfe ("default exported asm symbols to zero")
>
> which has been reverted in Linus' tree today.
>
Huh, so it seems like the explicit 0 symbols were being picked up as the
kallsyms relative base, putting the 0xc... symbols beyond reach.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
linux-next: Tree for Dec 7 Stephen Rothwell <sfr@canb.auug.org.au> - 2016-12-07 07:30 +0100
Re: linux-next: Tree for Dec 7 (kallsyms failure) Randy Dunlap <rdunlap@infradead.org> - 2016-12-08 00:50 +0100
Re: linux-next: Tree for Dec 7 (kallsyms failure) Stephen Rothwell <sfr@canb.auug.org.au> - 2016-12-08 01:00 +0100
Re: linux-next: Tree for Dec 7 (kallsyms failure) Randy Dunlap <rdunlap@infradead.org> - 2016-12-08 03:40 +0100
Re: linux-next: Tree for Dec 7 (kallsyms failure) Stephen Rothwell <sfr@canb.auug.org.au> - 2016-12-08 05:40 +0100
Re: linux-next: Tree for Dec 7 (kallsyms failure) Nicholas Piggin <npiggin@gmail.com> - 2016-12-08 06:10 +0100
csiph-web