This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld --as-needed assertion fail, BFD internal error and crash


On Wed, Mar 15, 2006 at 06:01:05PM +0000, Nick Clifton wrote:
> >While building random packages with ld --as-needed to evaluate this
> >extension, I found few cases where ld fails within BFD:
> >http://sources.redhat.com/bugzilla/show_bug.cgi?id=2434
> >Looks like --as-needed is not widely used and therefore not tested well.
> 
> The attached patch appears to fix this problem, but I am not sure that 
> it is the correct solution.

This patch is least not sufficient, second test still fails with 76
assertions instead of 300 (in this test h->u.weakdef->root.type may also
take value bfd_link_hash_indirect).


-- 
ldv

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]