build failure, GMP not available

Geoffrey Keating geoffk@apple.com
Mon Oct 30 18:01:00 GMT 2006


Hi Kaveh,

Since your patch

------------------------------------------------------------------------
r117933 | ghazi | 2006-10-21 06:58:13 -0700 (Sat, 21 Oct 2006) | 16  
lines

         * configure.in: Require GMP-4.1+ and MPFR-2.2+.  Don't check
         need_gmp anymore.

I'm getting

configure: error: Building GCC requires GMP 4.1+ and MPFR 2.2+.  Try  
the --with-gmp and/or --with-mpfr options.

1. Is this intentional?

2. Is it supposed to apply to the host, the target, or both?

3. If it's intentional, what is the list of platforms that you  
intended to prevent building, that is, platforms which GCC used to  
support but on which GMP or MPFR does not build?

4. Are you aware that the GMP home page says

[2006-05-04] GMP does not build on MacInteltosh machines. No fix  
planned for GMP 4.x.

and indeed it does not appear to build correctly when configured on  
my MacBook Pro?

5. Are you aware that the GMP home page says

Note that we chose not to work around all new GCC bugs in this  
release. Never forget to do  make check  after building the library  
to make likely it was not miscompiled!

and therefore this library needs to be part of the bootstrap, not  
built separately?

6. The regression tester does actually have GMP installed, but it is,  
not in /usr/local.  Should this code be searching for GMP and mpfr in  
more places if it is not found?

Because of the severe nature of this problem (everything doesn't  
build, multiple hosts affected), I'd like you to consider backing out  
this patch until the problems are fixed.  I'll work on a patch which  
just disables the check for Darwin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2462 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20061030/a66c0802/attachment.p7s>


More information about the Gcc mailing list