ld -lgen -ladm causes assert failure in gnu ld 2.12.1 and 2.13 under Solaris 2.7 or 2.8
Andrew Koenig
ark@research.att.com
Fri Sep 20 06:52:00 GMT 2002
Nick> Andrew: if you add -znocombreloc to the linker command line then you
Nick> get a working dyn.so binary. I would suggest adding
Nick> -Wl,-znocombreloc to the SHFLAGS variable in your shell script.
Nick> Of course this does not fix the problem, but it does mean that
Nick> binutils 2.13 can now be used with Solaris 2.7 and 2.8.
I will give it a try and let you know. If it does work, making it work
for Python is a somewhat harder problem, as the linker options are
generated by a script that generates another script, etc...
However, I'll see if I can untangle it.
I suppose the thing to do is to find where it specifies --export-dynamic
to the linker and add -znocombreloc at that point?
More information about the Binutils
mailing list