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

John David Anglin dave@hiauly1.hia.nrc.ca
Mon Jan 21 10:27:00 GMT 2002


> > 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.
> 
> I was told that for 64 bit building with hp's compiler was deprecated.
> So binutils changed in this point?

I am only reporting my experience.  Obviously, you either have to start
with HP's compiler, prebuilt sources, or cross compile.  So, it doesn't
make much sense to me to deprecate HP's compiler for building binutils
and gcc.

> > This fixed the seg fault for me.  Likely, the real problem is with gcc.
> 
> You are right.
> People from trolltech told me last week, that the linkage problem is being
> worked on in the gcc-3.1-branch. but that branch does not bootstrap on my hpux
> (at least with those configurations I tried, only the c-compiler alone comes up

I have a small patch that fixes the 64 bit build problem and will install
today.  It's not the final solution but it gives a working base to improve
from.

Dave
-- 
J. 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