Bill Allombert on Mon, 2 Jun 2003 15:52:16 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: compile problems


On Sun, Jun 01, 2003 at 01:25:11PM -0700, Manish wrote:
> Hi,
> I have SuSe 8.2, 
> gcc version 3.3 20030226 (prerelease) (SuSE Linux) and when I tried to
> compile pari-2.1.5 I am getting the following error
> 
> /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer   -I.
> -I../src/he      aders  -o buch2.o ../src/basemath/buch2.c
> ../src/basemath/buch2.c: At top level:
> ../src/basemath/buch2.c:1782: internal compiler error: in remove_edge, at
> callgraph.c:189
> 
> ----------------------
> 
> Is this a gcc bug?? or are there people who have managed to compile
> pari with the gcc version I am using

Yes, it is. gcc ICE are sure bugs. However I have no problem compiling
PARI with gcc 3.3 (Debian), so you should probably upgrade your compiler
to gcc 3.3 release. Prerelease versions of gcc often have optimization
bugs.

If you cannot upgrade gcc, try to compile buch2.c with -O0 instead of
-O3 to avoid optimization.

Cheers,
Bill.