public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	Andrew Morton <akpm@osdl.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: lib.a causing modules not to load
Date: Wed, 19 Nov 2003 11:06:09 +1100	[thread overview]
Message-ID: <20031119014155.50D362C0C7@lists.samba.org> (raw)
In-Reply-To: Your message of "18 Nov 2003 10:25:16 MDT." <1069172719.1835.30.camel@mulgrave>

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.

      reply	other threads:[~2003-11-19  1:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07 16:21 lib.a causing modules not to load James Bottomley
2003-11-07 16:27 ` James Bottomley
2003-11-08  4:34 ` Andrew Morton
2003-11-08  8:51   ` Christoph Hellwig
2003-11-08 15:16     ` James Bottomley
2003-11-17  2:47       ` Rusty Russell
2003-11-18 16:25         ` James Bottomley
2003-11-19  0:06           ` Rusty Russell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031119014155.50D362C0C7@lists.samba.org \
    --to=rusty@rustcorp.com.au \
    --cc=James.Bottomley@steeleye.com \
    --cc=akpm@osdl.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox