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 Fri, Sep 20, 2002 at 05:29:42PM -0400, Andrew Koenig wrote:
> Nick> Andrew: if you add -znocombreloc to the linker command line then
> Nick> you get a working dyn.so binary.  I would suggest adding
> Nick> -Wl,-znocombreloc to the SHFLAGS variable in your shell script.
> 
> OK ... I now have Python working with binutils 2.13.
> 
> On the other hand, if I try to build tk 8.4, it dumps core :-(
> 
> I would not be at all surprised to see that the -zcombreloc problem
> is affecting that build also.  So I wonder whether you are planning
> to make -znocombreloc the default again, or whether there might
> be a Solaris patch to address the problem.
> 
> I tried installing patch 109147-18, which seems to be the latest
> consolidated linker patch, but to no avail.

I checked Solaris 2.8 today (though have no idea what patches were and
were not applied there) and the Solaris linker created RELATIVE relocs
first in .SUNW_reloc section and included them in DT_RELACOUNT, so either
ld.so is inconsistent with what their linker does, or the bug is somewhere
else.

	Jakub


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