This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Apr 2009 15:37:11 -0000
- Subject: [Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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