This is the mail archive of the binutils@sources.redhat.com 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 -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 01:03:56PM -0400, Jakub Jelinek wrote:
> 
> 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

"$@" -z nocombreloc was what I was trying to convey, so that no one
adds -z combreloc... didn't some versions of GCC do so?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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