Binutils 2.9.5.0.29 ld crash

H . J . Lu hjl@valinux.com
Fri Mar 10 18:01:00 GMT 2000


On Fri, Mar 10, 2000 at 05:06:07PM -0800, Philippe Troin wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
> 
> > On Fri, Mar 10, 2000 at 04:42:03PM -0800, Philippe Troin wrote:
> > > "H . J . Lu" <hjl@valinux.com> writes:
> > > 
> > > > On Fri, Mar 10, 2000 at 03:42:42PM -0800, Philippe Troin wrote:
> > > > > 
> > > > > It seems to be related with the debugging symbols, compiling without
> > > > > -g seems to works.
> > > 
> > > Replacing -g by -O gave a crash (SIGBUS), later on in the build...
> > > 
> > > > It may be a compiler bug. If you can provide a complete test, I
> > > > can look into it if I can reproduce it on Solaris 2.7/Sparc. binaries
> > > > files are ok.
> > > 
> > > Can I send all the .so and .o involved in the failure ?
> > > If yes, should they be sent directly to hjl@valinux.com or also to
> > > binutils@sourceware.cygnus.com ?
> > > 
> > 
> > It's better to put them on some web/http sites and send an email
> > to binutils@sourceware.cygnus.com.
> 
> I've made this file available by ftp on:
> 
> ftp://binutils:binutils@ftp.aristotech.com/cust/binutils/phil@aristotech.com-crash-binutils-2.9.5.0.29.tar.bz2
> 

Did you compile the .o files with -fpic or -fPIC? It looks like you
didn't. At least, I didn't find the symbol, _GLOBAL_OFFSET_TABLE_,
in those .o files. The GNU ld doesn't like -Bsymbolic without PIC.
We just fixed one similar bug. I guess it is another one.



H.J.


More information about the Binutils mailing list