This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [configure PATCH] [PR32258] configure != prerequisites + no check install errors
- From: Ian Lance Taylor <iant at google dot com>
- To: Rob1weld at aol dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 28 Jun 2007 17:40:37 -0700
- Subject: Re: [configure PATCH] [PR32258] configure != prerequisites + no check install errors
- References: <bcf.1802d4fb.33ae40ff@aol.com>
Rob1weld@aol.com writes:
> Page http://gcc.gnu.org/install/prerequisites.html requires MPFR 2.2.1 (or
> later) but GCC 4.3.0 's main configure script will allow one to build gcc using
> mpfr-2.2.0 - this is less than allowed on the prerequisites page. Patch
> level 5 should be used it is the most current. Using level 1 - 3 generates too
> many errors in the testsuite.
>
> More than one person has ran into installation difficulties where the
> library and the header files do not match. The mpfr.info has macros to test for
> this along with suggested code, lets use it.
>
> Bug report: _http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32258Index_
> (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32258Index) :
Kaveh first required MPFR 2.2.0. Then he moved it up to 2.2.1.
Everybody grumbled about having to upgrade their MPFR so quickly, so
we decided that it was OK to let people use 2.2.0. We should apply
something like your patch before the gcc 4.3.0 release. But we don't
necessarily have to apply it yet.
In any case, your actual patch is incorrect. configure is a generated
file. You need to patch configure.ac instead. (And you need a
ChangeLog entry.)
Ian