[Bug bootstrap/84554] make check: FAIL: tversion: ERROR! The versions of gmp.h (5.0.5) and libgmp (4.3.1) do not match.

matthew.hambley at metoffice dot gov.uk gcc-bugzilla@gcc.gnu.org
Thu Aug 23 14:12:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84554

matthew.hambley at metoffice dot gov.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthew.hambley at metoffice dot g
                   |                            |ov.uk

--- Comment #1 from matthew.hambley at metoffice dot gov.uk ---
I see this too, with GCC 8.2.0.

tar -xf gcc-8.2.0.tar.xz
cd gcc-8.2.0
./contrib/download_prerequisites
cd ..
mkdir -p gcc-8.2.0-build
cd gcc-8.2.0-build
../gcc-8.2.0/configure --prefix=$package_dir/gcc/8.2.0
--enable-languages=c,c++,fortran,go --disable-multilib
make -j 16

It looks like it gets to stage 2 of the bootstrapping process, then it fails in
the MPFR self-test in the way described.

What seems to be happening is that it's correctly picking up gmp.h from the
in-source version but and old version of the library from /usr/lib64/libgmp.so.


More information about the Gcc-bugs mailing list