[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -no-undefined and GNU ld

From: Ralf Wildenhues
Subject: Re: -no-undefined and GNU ld
Date: Wed, 12 Apr 2006 08:30:51 +0200
User-agent: Mutt/1.5.11

Hi Christian,

* Christian Biesinger wrote on Wed, Apr 12, 2006 at 12:22:38AM CEST:
> since GNU ld supports -z defs (or the equivalent --no-undefined), I was 
> wondering why libtool doesn't use this to enforce its -no-undefined 
> flag? It does seem to do this on Solaris (and of course on platforms 
> where that's the only supported behaviour).

IIRC last time I tried it, it caused lots of spurious errors.  I don't
remember whether they were due to glibc doing weird things, or limitations
in the linker.  I also don't remember how it interacted with weak symbols.

> Or is the issue just that nobody made a patch for this yet? :)

Before accepting such a patch, it would need someone to do some testing,
on some non-trivial packages, and with a couple of different glibc, gcc,
and binutils versions commonly found in use today.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]