Re: gcc 4.1.1 issues with 2.6.17-rc5

From: Randy.Dunlap
Date: Sun May 28 2006 - 01:42:31 EST


On Sun, 28 May 2006 15:21:20 +1000 Con Kolivas wrote:

> On Sunday 28 May 2006 12:55, Con Kolivas wrote:
> > Funky new warnings on upgrading to gcc 4.1.1
> >
> > gcc compiled locally with:
> > Target: i686-pc-linux-gnu
> > Configured with: ../gcc-4.1.1/configure --prefix=/usr
> > --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared
> > --enable-threads=posix
> > --disable-checking --enable-long-long --enable-__cxa_atexit
> > --enable-clocale=gnu --disable-libunwind-exceptions
> > --enable-languages=c,c++ --program-suffix=-4.1.1
> >
> > warnings:
> > OBJCOPY arch/i386/boot/vmlinux.bin
> > WARNING: drivers/i2c/busses/scx200_acb.o - Section mismatch: reference
> > to .init.text: from .smp_locks after '' (at offset 0x0)
> > WARNING: drivers/i2c/busses/scx200_acb.o - Section mismatch: reference
> > to .init.text: from .smp_locks after '' (at offset 0x4)
> > WARNING: drivers/i2c/busses/scx200_acb.o - Section mismatch: reference
> > to .exit.text: from .smp_locks after '' (at offset 0x8)
> > WARNING: drivers/i2c/busses/scx200_acb.o - Section mismatch: reference
> > to .exit.text: from .smp_locks after '' (at offset 0xc)
> > WARNING: drivers/i2c/busses/scx200_acb.o - Section mismatch: reference
> > to .exit.text: from .smp_locks after '' (at offset 0x10)
> > BUILD arch/i386/boot/bzImage
>
> Should also mention:
> binutils-2.15.92.0.2-6.2.102mdk
>
> 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?

---
~Randy
-
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/