make tune fails on a Loongson processor

Sylvain CHEVILLARD sylvain.chevillard at loria.fr
Mon Oct 18 17:29:04 CEST 2010


Dear GMP developers,

I am encountering a problem when trying to perform a "make tune" with
GMP 5.0.1 on a Loongson-2 processor (a kind of MIPS64).
Namely, I performed my tests on the following machine (which you might
have access): gcc42.fsffrance.org (on port 9092).

* GMP version: 5.0.1
* Test program:
    make
    cd tune
    make tune

* I get a crash with the following message:
./tuneup
Parameters for ./mpn/mips64/gmp-mparam.h
Using: microsecond accurate getrusage()
speed_precision 1000, speed_unittime 1.00e-06 secs, CPU freq 528.38 MHz
DEFAULT_MAX_SIZE 1000, fft_max_size 50000

/* Generated by tuneup.c, 2010-10-18, gcc 4.3 */

Fatal error: too many (11) failed measurements (0.0)
make: *** [tune] Aborted


* When configuring, I used --disable-shared
* Output of `gcc -v`:
Using built-in specs.
Target: mipsel-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='RAYS
4.3.0-4.rays0' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --disable-libssp --enable-checking=release
--build=mipsel-linux-gnu --host=mipsel-linux-gnu
--target=mipsel-linux-gnu
Thread model: posix
gcc version 4.3.1 20080501 (prerelease) (RAYS 4.3.0-4.rays0) 

* Output of `uname -a`:
Linux gcc42 2.6.27.1 #476 Tue Oct 20 14:25:23 CST 2009 mips64 GNU/Linux

* Output of `./config.guess`:
mips64el-unknown-linux-gnu

* Output of `./configfsf.guess`:
mips64el-unknown-linux-gnu


Thank you very much for your comments on this issue.

Best regards,

Sylvain Chevillard




More information about the gmp-bugs mailing list