Change to DSO-linking semantics of the compiler

Michael Schwendt mschwendt at gmail.com
Wed Jan 13 11:25:25 UTC 2010


On Wed, 13 Jan 2010 09:04:21 +0000, Adam wrote:

> On Tue, 2010-01-12 at 20:04 -0500, Matthias Clasen wrote:
> > On Wed, 2010-01-13 at 00:06 +0000, Adam Williamson wrote:
> > 
> > > 
> > > if so, Mandriva has been enforcing the fixing of this type of error for
> > > a couple of years now (by having --as-needed and --no-undefined in the
> > > default ld flags). This has a few implications:
> > 
> > --as-needed is actually kinda the opposite. It counteracts careless
> > overlinking.
> 
> Indeed, sorry, I had the brain worms yesterday. --no-undefined is the
> important bit for underlinking of course.

It's easy to make that mistake. I just made it too in an earlier reply.


More information about the devel mailing list