https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92627
Bug ID: 92627
Summary: configure script unable to find gmp, mpc, and mpfr
install dirs
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: grgoffe at yahoo dot com
Target Milestone: ---
Created attachment 47331
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47331&action=edit
Gzip'd tar file containg the complete log of this build attempt.
Hi,
I'm building from the latest repository:
the configure script fails with the following:
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
https://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages.
This has been working correctly up to GCC version 10.0.0 20190918, with
configure options:
../gcc/configure --prefix=/usr/lsd/$osname --verbose \
--with-mpc=/usr/lsd/$osname \
--with-mpfr=/usr/lsd/$osname \
--with-gmp=/usr/lsd/$osname \
--disable-multilib
I am building outside of the source directory, in the same directory containing
the source (obj-x86_64-pc-linux-gnu).
Build compiler version:
gcc --version
gcc (GCC) 10.0.0 20190918 (experimental)