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

Re: Bug#553936: FTBFS with binutils-gold



On 2009-11-02, Lucas Nussbaum <lucas@lucas-nussbaum.net> wrote:
> On 02/11/09 at 12:12 +0000, Sune Vuorela wrote:
>> 
>> Binutils-gold is not the default. It is a bit 'stricter' in how it
>> works, but it is notably faster.

> I was talking about not making --no-add-needed the default in
> binutils-gold.

then you are effectively neutering gold.
thes is what I consider one of the features of gold, and it is also one
ef the ways it is faster (by not traversing the depndencies of the
libraries to see if they are needed)

the major difference is:
your app uses both libfoo and libbar. libbar uses libfoo.  with ld, it
is sufficient to do -lbar, and with gold you need -lfoo -lbar.
in both cases, your app will have NEEDED entries for both libfoo and
libbar.

/Sune


Reply to: