On Mon, 27 Mar 2006 14:11:56 -0800 Randy.Dunlap wrote:

> On Mon, 27 Mar 2006 13:19:41 -0800 Randy.Dunlap wrote:
> 
> > On Mon, 27 Mar 2006 22:36:25 +0200 Sam Ravnborg wrote:
> > 
> > > On Mon, Mar 27, 2006 at 12:26:12PM -0800, Randy.Dunlap wrote:
> > > > From: Randy Dunlap <[EMAIL PROTECTED]>
> > > > 
> > > > Fix section mismatches in acenic driver:
> > > > WARNING: drivers/net/acenic.o - Section mismatch: reference to 
> > > > .init.data:tigon2FwText from .text between 'acenic_probe_one' (at 
> > > > offset 0x2409) and 'ace_interrupt'
> > > > WARNING: drivers/net/acenic.o - Section mismatch: reference to 
> > > > .init.data:tigon2FwRodata from .text between 'acenic_probe_one' (at 
> > > > offset 0x2422) and 'ace_interrupt'
> > > > 
> > > > Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
> > > 
> > > I'm glad to see these fixes appear.
> > > Did you manage to compile with and without HOTPLUG enabled?
> > > This is important since HOTPLUG redefined __dev* to nothing => no
> > > section mismatchs.
> > 
> > Nope, only with HOTPLUG enabled.  I can try without also (but
> > disabling it is a pain :).
> 
> ugh, FW_LOADER is the beast (not CONFIG_HOTPLUG itself).
> 
> Sam, I am now seeing this error (not a WARNING like the previous ones were):
> 
> drivers/net/typhoon.c:137: error: version causes a section type conflict
> 
> but I don't see a real problem in the driver source file.
> Ideas, anyone?

This happens for typhoon (above) as well as:

drivers/net/natsemi.c:241: error: version causes a section type conflict
drivers/net/bnx2.c:66: error: version causes a section type conflict
drivers/net/starfire.c:338: error: version causes a section type conflict

Is this (just) a gcc problem or do other people also see this?

Changing <version> to another name does not help.

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to