ld -lgen -ladm causes assert failure in gnu ld 2.12.1 and 2.13 under Solaris 2.7 or 2.8
Alan Modra
amodra@bigpond.net.au
Fri Sep 20 02:53:00 GMT 2002
On Fri, Sep 20, 2002 at 08:07:34AM +0100, Nick Clifton wrote:
> Andrew: if you add -znocombreloc to the linker command line then you
> get a working dyn.so binary. I would suggest adding
> -Wl,-znocombreloc to the SHFLAGS variable in your shell script.
>
> Of course this does not fix the problem, but it does mean that
> binutils 2.13 can now be used with Solaris 2.7 and 2.8.
The interesting question is whether this is a bug in solaris ld.so,
or in binutils. If it's ld.so, then I suppose we ought to default
to -znocombreloc on solaris.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list