Re: gcc 4.1.1 issues with 2.6.17-rc5

From: Atsushi Nemoto
Date: Sun May 28 2006 - 12:30:44 EST


On Sat, 27 May 2006 22:39:45 -0700, "Randy.Dunlap" <rdunlap@xxxxxxxxxxxx> wrote:
> > and a missed one:
> > WARNING: drivers/usb/storage/usb-storage.o - Section mismatch: reference
> > to .exit.text: from .smp_locks after '' (at offset 0x40)
>
> Yep, Jesper posted that one.
> I also see it in ieee1394.o.
>
> So where does the .smp_locks section come from?
> Is this just a section checker bug/issue?

The .smp_locks section comes from LOCK_PREFIX on x86. I think the
warnings was not shown previously just because the modpost did not
check SHT_REL sections.

Maybe we should fix the modpost to ignore it, but I'm not sure. Is it
really safe to ignore? I'm not a x86 expert ...

---
Atsushi Nemoto
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/