[lkml]   [2006]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ignore smp_locks section warnings from init/exit code
On Sun, 11 Jun 2006 19:25:58 -0400 Jeff Dike wrote:

> On Thu, Jun 08, 2006 at 08:35:49PM +0200, Sam Ravnborg wrote:
> > As for .bss this is a much more generic section - so for now this is not
> > added. Can you explain why there is a reference to do_mount_root from
> > .bss or is this a bug in modpost pointing out something wrong?
> For me, the ld complaints are completely opaque. Can you give me a
> clue how you go about figuring out where the complaint is coming from?
> This is what I get with UML/x86_64 with rc6-mm2:
> WARNING: vmlinux - Section mismatch: reference to .init.text:huft_free from .bss between 'stdout@@GLIBC_2.2.5' (at offset 0x6027b748) and 'completed.6111'
> gdb tells me:
> (gdb) x/4xa 0x6027b748
> 0x6027b748 <stdout@@GLIBC_2.2.5>: 0x0 0x0
> 0x6027b758 <completed.6111+8>: 0x0 0x0
> So, with stdout@@GLIBC_2.2.5 at 0x6027b748 and completed.6111 at
> 0x6027b750 - right next to each other - there would seem to be nothing
> between them to reference anything.

gdb says 0x6027b758 for <completed.6111>, not 0x6027b750 as you
wrote, so there's 8 more bytes for gunk there. ;)
Anyway, since I can't build UML, I'm willing to look at the
file if you can put it on a web page along with its file.

> In any case, with bss containing zero-initialized stuff, I don't see
> how anything here can refer to anything anywhere else.
> > With the above patch we are down to two section mismatch warnings for
> > a defconfig build on x86_64.
> I see one (the one quoted above). Thanks for adding .plt - that made
> the build much more pleasant.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-12 02:17    [W:0.062 / U:22.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site