Building Pari-2.1.5 (from http://www.gn-50uma.de/ftp/pari/00index.html) fails when trying to compile src/basemath/buch2.c with -O3 on a SuSE 8.2 system, the compiler aborts with a "internal compiler error" message. uname -a Linux lily 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686 unknown unknown GNU/Linux gcc --version gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) Unfortunately I have no stock gcc 3.3 available to test. /usr/bin/gcc -c -O3 -Wall -Wno-implicit -fomit-frame-pointer -o buch2.o -x cpp-output buch2.i ../src/basemath/buch2.c: In function `small_norm_for_buchall': ../src/basemath/buch2.c:1516: warning: comparison between signed and unsigned ../src/basemath/buch2.c: In function `relationrank': ../src/basemath/buch2.c:2146: warning: comparison between signed and unsigned ../src/basemath/buch2.c: In function `buchall': ../src/basemath/buch2.c:3036: warning: comparison between signed and unsigned ../src/basemath/buch2.c: At top level: ../src/basemath/buch2.c:1782: internal compiler error: in remove_edge, at callgraph.c:189 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. alex@lily:~/pari-2.1.5/Olinux-i686> Compiling with -O2 seems to work: /usr/bin/gcc -c -O2 -Wall -Wno-implicit -fomit-frame-pointer -o buch2.o -x cpp-output buch2.i ../src/basemath/buch2.c: In function `small_norm_for_buchall': ../src/basemath/buch2.c:1516: warning: comparison between signed and unsigned ../src/basemath/buch2.c: In function `relationrank': ../src/basemath/buch2.c:2146: warning: comparison between signed and unsigned ../src/basemath/buch2.c: In function `buchall': ../src/basemath/buch2.c:3036: warning: comparison between signed and unsigned alex@lily:~/pari-2.1.5/Olinux-i686> I'll attach the "buch2.i" file to this report. Alex
Created attachment 4223 [details] the preprocessed Pari source file
Can you try a final version of 3.3 since I cannot reproduce it on 3.3.1 (20030526) and the mainline (20030614)?
Subject: Re: New: Building Pari-2.1.5 fails with SuSE gcc 3.3 -O3 (internal compiler error) > /usr/bin/gcc -c -O3 -Wall -Wno-implicit -fomit-frame-pointer -o buch2.o -x > cpp-output buch2.i > ../src/basemath/buch2.c: In function `small_norm_for_buchall': > ../src/basemath/buch2.c:1516: warning: comparison between signed and > unsigned ../src/basemath/buch2.c: In function `relationrank': > ../src/basemath/buch2.c:2146: warning: comparison between signed and > unsigned ../src/basemath/buch2.c: In function `buchall': > ../src/basemath/buch2.c:3036: warning: comparison between signed and > unsigned ../src/basemath/buch2.c: At top level: > ../src/basemath/buch2.c:1782: internal compiler error: in remove_edge, at > callgraph.c:189 > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. There is no callgraph.c source file in the FSF tree. Ask SuSE directly.
Ok, will contact SuSE. This bug closed as INVALID.