ld trapped in endless loop (was Re: config? bootstrap on hppa64-hp-hpux11.0 with --enable-shared still fails)

Markus Werle numerical.simulation@web.de
Mon Oct 29 03:16:00 GMT 2001


Ian Lance Taylor wrote:

> Note that your command line includes
>     -lm ../libmath/.libs/libmath.a -lm
> This tells the linker to use -lm twice.  -lm maps to libm.sl.  It's
> not efficient in this case for the linker to use the full search path
> again the second time it looks for -lm, but it's not wrong.
>
> > 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.

Unfortunately I have no stable debugger on that
platform to trace this problem. If You need further information
please contact me.


Markus



More information about the Gcc-bugs mailing list