Re: [i386] Why g++ _always_ link an executable with libm.so?

Andrew Pinski <[email protected]> Wed, 5 Jan 2005 13:48:13 -0500
Newsgroups org.kernel.vger.linux-gcc
Message-ID <[email protected]>
On Jan 5, 2005, at 1:51 PM, Mike Hearn wrote:

> On Wed, 2005-01-05 at 13:21 -0500, Andrew Pinski wrote:
>> Well then make binutils change over --as-needed to be default.
>
> Tried, it doesn't work, there are too many broken libraries in the 
> world
> that don't correctly enumerate their dependencies in the NEEDED 
> section.
> Instead they rely on the user of the library to complete the set when
> they use it :(

Again why are you complaining when a good dynamic loader will not load
the needed libraries unless they are really needed?

-- Pinski