Alexandru Ghitza on Wed, 28 Jul 1999 09:48:04 -0700

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

Re: problems compiling 2.0.16.beta

I want to thank everybody who replied to my message.  To summarize, I was
getting a message like (I have gcc 2.8.1,plenty of space on my
partitions, and this is the first time in 3 years that I see this message)

gcc: Internal compiler error: program cc1 got fatal signal 6
make[1]: *** [buch2.o] Error 1
make[1]: Leaving directory `/usr/src/pari-2.0.16.beta/o.linux-i586'
make: *** [install] Error 2

on the source files buch2.c, trans3.c and mpqs.c.  Karim Belabas
suggested I remove the optimization flags on these targets.  The resulting
lines in o.linux-i586/Makefile look like:

buch2.o: .headers ../src/headers/parinf.h ../src/basemath/buch2.c
	$(CC) -c -fexpensive-optimizations -malign-loops=2 -malign-jumps=2
-malign-functions=2 $(CPPFLAGS)  -o buch2.o ../src/basemath/buch2.c

(similar for trans3.o and mpqs.o)
It worked just fine afterwards.  

Thanks again,
Alexandru Ghitza