[Bug c/45407] internal compiler error gcc 4.5.1

bbiswas at email dot unc dot edu gcc-bugzilla@gcc.gnu.org
Fri Aug 27 14:19:00 GMT 2010



------- Comment #8 from bbiswas at email dot unc dot edu  2010-08-27 14:19 -------
Subject: Re:  internal compiler error gcc 4.5.1

I successfully built gcc on Solaris 10
using these versions of gmp/mpfr/mpc:

        gmp 4.3.2
        mpfr 2.4.2
        mpc 0.8.1

The instructions on the prerequisites.html page you reference below say
to use those versions "(or later)".  I'd recommend listing what
versions you have tested gcc with and say simply that other versions
haven't been tested.

I originally used the latest version of those three libraries:

        gmp 5.0.1
        mpfr 3.0.0
        mpc 0.8.2

Those three libraries _will_ work when building gcc on Linux or AIX--but
not Solaris (you get the "internal compiler error" message in the bug  
report I originally
submitted).

I  tried various combinations as well on Solaris (e.g. gmp 4.3.2, mpfr  
2.4.2, and mpc 0.8.2),
but only using the three earlier versions (gmp 4.3.2, mpfr 2.4.2, mpc  
0.8.1) worked.

Anyway, we have gcc working on all platforms now.

Thanks for all your help!

--Brian


On Aug 25, 2010, at 4:07 PM, ebotcazou at gcc dot gnu dot org wrote:

>
>
> ------- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-08-25  
> 20:07 -------
>> I did notice that the SUNWspro compilers were used to compile
>> the latest versions of mpfr & mpc we use. Should I try re-compiling
>> mpfr and mpc with gcc and then rebuilding gcc 4.5.1?
>
> The problematic ones are GMP and MPFR.  You should run 'make check'  
> in the
> build dir once you have compiled them.
>
>> I am using the latest versions of mpfr (3.0.0) and mpc (0.8.2).
>> I didn't see anything in:
>>
>>        http://gcc.gnu.org/install/prerequisites.html
>>
>> about certain gcc versions miscompiling either of those packages.
>
> Yes, but we cannot test all combinations of libraries so sticking  
> with the
> recommended versions is the safest approach.  These are regularly  
> tested in
> conjunction with the compiler.
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.


-- 


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



More information about the Gcc-bugs mailing list