Bill Allombert on Wed, 18 Feb 2004 16:19:03 +0100


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

Re: 2.1.5 installation & Linux Mandrake 9.2


On Wed, Feb 18, 2004 at 03:29:49PM +0100, Jean-Marc Sac-Epee wrote:
> [root@hal pari-2.1.5]# make gp
> cd Olinux-i686; make gp
> make[1]: Entering directory `/usr/local/pari-2.1.5/Olinux-i686'
> /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit 
> -fomit-frame-pointer   -I. -I../src/headers -I../src/language  -o gp.o 
> ../src/gp/gp.c
> /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit 
> -fomit-frame-pointer   -I. -I../src/headers -I../src/language  -o 
> gp_rl.o ../src/gp/gp_rl.c
> /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit 
> -fomit-frame-pointer   -I. -I../src/headers  -o buch2.o 
> ../src/basemath/buch2.c
> ../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:https://qa.mandrakesoft.com/> for instructions.
> make[1]: *** [buch2.o] Erreur 1
> make[1]: Leaving directory `/usr/local/pari-2.1.5/Olinux-i686'
> make: *** [gp] Erreur 2
> [root@hal pari-2.1.5]#

As usual, mandrake ship with a broken C compiler.
Try 
cd /usr/local/pari-2.1.5/Olinux-i686
/usr/bin/gcc -c -O2 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer   -I. -I../src/headers  -o buch2.o ../src/basemath/buch2.c
make gp

If it still does not work, use -O0 instead of -O2.
Eventually you may want to install a less broken version of gcc.

Well come back in the PARI world!

Cheers,
Bill.