Re: 2.6.16-git6: build failure: ne2k-pci: footbridge_defconfig

From: Arjan van de Ven
Date: Thu Mar 23 2006 - 13:08:36 EST


On Thu, 2006-03-23 at 17:40 +0000, Russell King wrote:
> On Thu, Mar 23, 2006 at 04:55:58PM +0000, Russell King wrote:
> > On Thu, Mar 23, 2006 at 05:52:12PM +0100, Arjan van de Ven wrote:
> > > On Thu, 2006-03-23 at 16:41 +0000, Russell King wrote:
> > > > Building the ARM footbridge_defconfig provokes this build error:
> > > >
> > > > CC drivers/net/ne2k-pci.o
> > > > drivers/net/ne2k-pci.c:123: error: pci_clone_list causes a section type conflict
> > > > make[2]: *** [drivers/net/ne2k-pci.o] Error 1
> > > > make[1]: *** [drivers/net] Error 2
> > > > make: *** [drivers] Error 2
> > > > make: Leaving directory `/var/tmp/kernel-orig'
> > > >
> > > > static const struct {
> > > > char *name;
> > > > int flags;
> > > > } pci_clone_list[] __devinitdata = {
> > > >
> > > > const data can't be __devinitdata.
> > >
> > >
> > > that's a gcc bug; probably arm specific even?
> >
> > It's gcc 4.01... the kautobuild folk are going to try gcc 4.04 instead.
>
> Actually, given that it also appears with gcc 3.3, I'd like to request
> that the change (along with all the other const __devinitdata's) are
> backed out.

ok that's entirely reasonable and I'm perfectly ok with that.


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