[Bug c/45407] internal compiler error gcc 4.5.1

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|WAITING |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 08:03:21
   date||


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



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-27 Thread bbiswas at email dot unc dot edu


--- 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



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-27 Thread ebotcazou at gcc dot gnu dot org


--- 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



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-27 Thread bbiswas at email dot unc dot edu


--- 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



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-25 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-08-25 18:41 
---
Please _attach_ the preprocessed file.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |WAITING


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



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-25 Thread bbiswas at email dot unc dot edu


--- Comment #2 from bbiswas at email dot unc dot edu  2010-08-25 18:55 
---
Subject: Re:  internal compiler error gcc 4.5.1

Here you go:


--- Comment #3 from bbiswas at email dot unc dot edu  2010-08-25 18:55 
---
Created an attachment (id=21564)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21564action=view)


--- Comment #4 from bbiswas at email dot unc dot edu  2010-08-25 18:55 
---
Created an attachment (id=21565)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21565action=view)


-- 


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



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-25 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-08-25 19:14 
---
Thanks, but I cannot reproduce the problem.

Which stage of the bootstrap is this?  What base compiler do you use?  Note
that
recent versions of GMP/MPFR are miscompiled on this platform by older versions
of GCC, I'd suggest to stick to the recommended versions:
  http://gcc.gnu.org/install/prerequisites.html


-- 


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



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-25 Thread bbiswas at email dot unc dot edu


--- Comment #6 from bbiswas at email dot unc dot edu  2010-08-25 19:43 
---
Subject: Re:  internal compiler error gcc 4.5.1

It's in stage 3.

My base compiler is 4.1.2.

I trying to upgrade gcc at our university from 4.1.2 to 4.5.1. I've
successfully built the compiler for Linux 2.6 (32 and 64-bit) and AIX  
5.3.
Solaris 10 is my remaining version.

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?

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.


Thanks,
--Brian



On Aug 25, 2010, at 3:14 PM, ebotcazou at gcc dot gnu dot org wrote:



 --- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-08-25  
 19:14 ---
 Thanks, but I cannot reproduce the problem.

 Which stage of the bootstrap is this?  What base compiler do you  
 use?  Note
 that
 recent versions of GMP/MPFR are miscompiled on this platform by  
 older versions
 of GCC, I'd suggest to stick to the recommended versions:
  http://gcc.gnu.org/install/prerequisites.html


 -- 


 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



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-25 Thread ebotcazou at gcc dot gnu dot org


--- 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