Messages in this thread | | | From | Rusty Russell <> | Subject | Re: lib.a causing modules not to load | Date | Wed, 19 Nov 2003 11:06:09 +1100 |
| |
In message <1069172719.1835.30.camel@mulgrave> you write: > On Sun, 2003-11-16 at 20:47, Rusty Russell wrote: > > I think lib.a should be linked as is if !CONFIG_MODULES, and done as a > > ..o if CONFIG_MODULES. Other alternatives are possible, but make it > > tricky if someone adds a module later which wants something in lib.a. > > I tried this and it is getting to be a whole nasty mess can of worms: > > You can't link the lib objects all in, because they can be overridden by > the arch dependent lib.a (we rely on link order to permit this). For > instance on x86, dump_stack and bust_spinlocks give duplicate symbols.
Ewww.... Weak symbols?
Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |