This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ld trapped in endless loop (was Re: config? bootstrap on
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-bugs at gcc dot gnu dot org, bug-binutils at gnu dot org, numerical dot simulation at web dot de, ian at airs dot com
- Cc: hppa64-hp-hpux11 dot 0 at hiauly1 dot hia dot nrc dot ca, with at hiauly1 dot hia dot nrc dot ca, still at hiauly1 dot hia dot nrc dot ca, fails at hiauly1 dot hia dot nrc dot ca
- Date: Sun, 20 Jan 2002 15:25:04 -0500 (EST)
- Subject: Re: ld trapped in endless loop (was Re: config? bootstrap on
> > > 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)