ld trapped in endless loop (was Re: config? bootstrap on

John David Anglin dave@hiauly1.hia.nrc.ca
Sun Jan 20 12:25:00 GMT 2002


> > > yields error message:
> > > collect2: ld terminated with signal 11 [Segmentation fault]
> >
> > This is certainly a bug.  Searching for -lm twice is not the problem.
> 
> With friday's cvs checkout of binutils the bug still remains
> (segmentation fault), so maybe someone
> should take a look at ld again.

I encountered a similar problem linking libstdc++ in the current gcc main
branch when binutils was built with gcc.  Try building binutils with the
HP ansi compiler.  This fixed the seg fault for me.  Likely, the real
problem is with gcc.

Dave
-- 
David Anglin                                     dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc-bugs mailing list