------- Comment #10 from bbiswas at email dot unc dot edu  2010-08-27 15:05 
-------
Subject: Re:  internal compiler error gcc 4.5.1

Yes. mpc 0.8.2 includes symbols found in gmp 3.0.0. But you can't use  
gmp 3.0.0
because then gcc fails to build ("internal compiler error"). mpc 0.8.1  
doesn't
include those symbols, you can use gmp 4.3.2, and all is well.

--Brian



On Aug 27, 2010, at 10:36 AM, ebotcazou at gcc dot gnu dot org wrote:

>
>
> ------- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-08-27  
> 14:36 -------
>> 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.
>
> Thanks for your feedback.  I'm going to add a blurb to the platform- 
> specific
> instructions.
>
>> 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.
>
> Do you confirm that going from MPC 0.8.1 to 0.8.2 alone is  
> problematic with GCC
> 4.1.2 as the base compiler?
>
>
> -- 
>
> ebotcazou at gcc dot gnu dot org changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>  GCC build triplet|                            |sparc-sun-solaris2.*
>   GCC host triplet|                            |sparc-sun-solaris2.*
> GCC target triplet|                            |sparc-sun-solaris2.*
>
>
> 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

Reply via email to