Test failures on GNU/Linux with Athlon XP (32 bit) and GCC 4.3.2
Alexei Sheplyakov
alexei.sheplyakov at gmail.com
Thu Sep 16 14:50:17 CEST 2010
Dear all,
Disclaimer: I did read the manual, and know that GCC 4.3.2 miscompiles
GMP on 64-bit
machines.
I've tried compiling GMP 5.0.1 on (rather old) 32-bit machine running GNU/Linux.
Unfortunately quite a number of tests failed:
$ grep -e '^FAIL' ../obj/gmp-5.0.1/check.log
FAIL: t-toom22
FAIL: t-toom32
FAIL: t-toom33
FAIL: t-toom42
FAIL: t-toom43
FAIL: t-toom44
FAIL: t-toom52
FAIL: t-toom53
FAIL: t-toom62
FAIL: t-toom63
FAIL: t-toom6h
FAIL: t-toom8h
FAIL: t-hgcd
FAIL: t-matrix22
FAIL: t-mulmod_bnm1
FAIL: t-sqrmod_bnm1
FAIL: t-invert
FAIL: t-div
FAIL: t-bdiv
Environment:
Compiler version:
$ gcc-4.3 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1.1' --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 --enable-targets=all --enable-cld
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
$ uname -a
Linux mmo 2.6.32-bpo.4-686-bigmem #1 SMP Mon Apr 12 20:15:01 UTC 2010
i686 GNU/Linux
$ ./config.guess
athlon-pc-linux-gnu
$ ./configfsf.guess
i686-pc-linux-gnu
The configuration options used when building GMP:
./configure --disable-static --enable-shared --enable-fat --enable-cxx
CC=gcc-4.3 CXX=g++-4.3 CFLAGS='-O2 -g -Wall -pipe'
The (compressed) output of failed tests is attached.
Plese feel free to ask me for additional information.
Best regards,
Alexei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check.log.gz
Type: application/x-gzip
Size: 41609 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100916/8591423f/attachment-0001.bin>
More information about the gmp-bugs
mailing list