This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld -lgen -ladm causes assert failure in gnu ld 2.12.1 and 2.13 under Solaris 2.7 or 2.8
On Sun, Sep 22, 2002 at 12:37:29PM -0400, Andrew Koenig wrote:
> Daniel> Preferably the former. Could you try wrapping the linker in a shell
> Daniel> script which adds -z nocombreloc (at the end of arguments, I think..)
> Daniel> and rebuilding both GCC 3.2 and Python? That way libgcc_s, libstdc++,
> Daniel> etc. will be built without combreloc.
>
> I'm not quite sure how to do that, because in order to locate the end
> of the arguments, the script would have to parse them. For example:
Why do you need to parse the arguments?
cat > /foo/bar/ld <<"EOF"
#!/bin/sh
exec /opt/gnu/bin/ld -z nocombreloc "$@"
EOF
chmod +x /foo/bar/ld
Jakub