This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/41771] Bootstrap with Sun Studio 12.1 fails



------- Comment #3 from ro at techfak dot uni-bielefeld dot de  2009-10-21 10:54 -------
Subject: Re:  Bootstrap with Sun Studio 12.1 fails

> ------- Comment #2 from ghazi at gcc dot gnu dot org  2009-10-21 01:48 -------
> I would prefer a solution that does not involve linking xgcc and cpp with
> libgmp since that links in unecessary code and/or yields a runtime penalty for
> loading the shared library.

Indeed, even if I've been building gmp and mpfr with --disable-shared to
avoid RPATH problems.  One option might be to avoid including gmp.h in
gcc.c in the first place, as I've already mentioned.  I'm not sure how easy
that would be, though.

> It's unusual that we've only just now received this report since gmp has been
> used since gcc-4.3 (released 1.5 years ago).  So I'm curious if something more
> recently changed to trigger this issue.  I.e. did it used to work, and some
> newer version of either gmp, sun cc, or solaris exposed the problem?  Or did it
> always fail?

I've never tried this before (I regularly build with GCC 3.4 as a bootstrap
compiler since I want to include Ada support and that requires an Ada
compiler), but only just received a report from a colleague who tried to
build GCC 4.4 within pkgsrc, but failed in unexpected ways.

> (Also, you don't mention what version of gmp you were using.)

Right, sorry: I've tried this with the latest version, gmp 4.3.1.

        Rainer


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41771


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]