bug-gnu-utils
[Top][All Lists]
Advanced

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

ld -lgen -ladm causes assert failure in gnu ld 2.12.1 and 2.13 under Sol


From: Andrew Koenig
Subject: ld -lgen -ladm causes assert failure in gnu ld 2.12.1 and 2.13 under Solaris 2.7 or 2.8
Date: Thu, 29 Aug 2002 16:39:50 -0400 (EDT)

I have reproduced this problem on Solaris 2.7 with ld 2.12.1 and ld
2.13 and on Solaris 2.8 with ld 2.12.1.  No modifications to the
distributed binutils source.

The symptom:

$ ld -lgen -ladm
ld: BFD 2.12.1 assertion fail elflink.h:3934
ld: BFD 2.12.1 assertion fail elflink.h:3934
ld: BFD 2.12.1 assertion fail elflink.h:3934
ld: BFD 2.12.1 assertion fail elflink.h:3934
ld: warning: cannot find entry symbol _start; not setting start address

The last message is expected (and the result of seeing whether
the symptom would still occur if I removed all but the libraries),
but the assertion failures are not.

These libraries are distributed as part of Solaris.  If I omit either
library from the command line, the symptom goes away.

If I mention the libraries in the opposite order (ld -ladm -lgen),
the symptom goes away.




reply via email to

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