Bootstrapping with an in-tree copy of mpfr (version 2.4.1) and using an installed gmp in a directory specified by --with-gmp=foo yields an error when the bootstrap process gets to configuring the mpfr dir:
> configure: error: Do not use --with-gmp-build and other --with-gmp options simultaneously. > See `config.log' for more details. > make[1]: *** [configure-mpfr] Error 1 Older versions of mpfr built in-tree are more forgiving and mask the issue but the bug is merely latent in those cases. The problem is that the top-level configure process assumes that if one is building mpfr in-tree then gmp is also being built in-tree and therefore the second --with-gmp* flag is specified pointing to the a gmp build dir which does not exist in this scenario. More details are found here: http://gcc.gnu.org/ml/gcc/2009-04/msg00342.html http://gcc.gnu.org/ml/gcc/2009-04/msg00364.html The solution is to only pass --with-gmp-build= when one is actually building gmp in-tree regardless of what's going on with mpfr. -- Summary: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors Product: gcc Version: 4.3.4 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39739