Alasdair McAndrew on Mon, 06 Oct 2014 02:17:05 +0200

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

Pari/GP hanging on tests


I've just compiled a new Pari/GP from source against GMP and readline.  The compile went through fine, but I'm having troubles with testing:  "make test-all" chugs away happily and then stalls on the charpoly test; "make dobench" just hangs immediately after printing "* Testing objets" to the screen.  Also, "make test-all" produces the line

* Testing characteristic   gp-sta..TIME=    0   gp-dyn..TIME=    0

which seems as though something is not working as it should.

And even more - "make test-kernel" crashes with a core dump; here is the complete output:

Making test-kernel in Olinux-x86_64
make[1]: Entering directory `/usr/local/src/pari-2.7.2/Olinux-x86_64'
/usr/bin/gcc  -c -I. -I../src/headers -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -o dummy.o ../src/test/dummy.c
/usr/bin/gcc  -c -I../src/language -I. -I../src/headers -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -o kerntest.o ../src/test/kerntest.c
/usr/bin/gcc  -I. -I../src/headers -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -o kerntest  mpker.o mpinl.o dummy.o kerntest.o -lgmp -ldl   -lm
Segmentation fault (core dumped)
make[1]: Leaving directory `/usr/local/src/pari-2.7.2/Olinux-x86_64'

Is this a problem with GMP, and if so, is there some way I can test my compilation?  If not, what is going on - and again, how can I run a complete test?

Just to be sure, my compilation took two steps:

./Configure --tune
make all

The compiler picked up the readline and GMP libraries, and there were no errors during the compilation.

Many thanks,