GMP failure

Yuri Matiyasevich yumat at
Sun Sep 29 19:45:47 CEST 2013

During installation of  mpfr I got:

checking if gmp.h version and libgmp version are the same... (5.1.2/5.0.2)
configure: WARNING:
configure: WARNING: 'gmp.h' and 'libgmp' seem to have different versions or
configure: WARNING: we cannot run a program linked with GMP (if you cannot
configure: WARNING: see the version numbers above). A cause may be different
configure: WARNING: GMP versions with different ABI's or the use of
configure: WARNING: or --with-gmp-include with a system include directory
configure: WARNING: (such as /usr/include or /usr/local/include).
configure: WARNING: However since we can't use 'libtool' inside the
configure: WARNING: we can't be sure. See 'config.log' for details.
configure: WARNING:

Installation of gmp didn't pass make check, the following was printed on
the screen (file  make_check_eng is attached):

root at Arb-2:~/gmp-5.1.2# make check > make_check_eng
/bin/bash: line 5: 27709 Aborted                 (core dumped) ${dir}$tst
t-io_raw.c:102: GNU MP assertion failed: ! ferror(fp)
/bin/bash: line 5: 28321 Aborted                 (core dumped) ${dir}$tst
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

root at Arb-2:~/gmp-5.1.2# gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--disable-werror --with-arch-32=i686 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

root at Arb-2:~/gmp-5.1.2# uname -a
Linux Arb-2 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

root at Arb-2:~/gmp-5.1.2# ./config.guess

root at Arb-2:~/gmp-5.1.2# ./configfsf.guess
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp_failure.tgz
Type: application/x-gzip
Size: 62219 bytes
Desc: not available
URL: <>

More information about the gmp-bugs mailing list