This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Update gmp/mpfr/mpc minimum versions
- From: Richard Biener <rguenther at suse dot de>
- To: Marc Glisse <marc dot glisse at inria dot fr>,Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Apr 2016 21:00:47 +0200
- Subject: Re: [RFC] Update gmp/mpfr/mpc minimum versions
- Authentication-results: sourceware.org; auth=none
- References: <AM4PR07MB1571E7BDED31B7C146A0BC4CE4630 at AM4PR07MB1571 dot eurprd07 dot prod dot outlook dot com> <alpine dot DEB dot 2 dot 20 dot 1604262029310 dot 2084 at laptop-mg dot saclay dot inria dot fr>
On April 26, 2016 8:39:28 PM GMT+02:00, Marc Glisse <marc.glisse@inria.fr> wrote:
>On Tue, 26 Apr 2016, Bernd Edlinger wrote:
>
>> as we all know, it's high time now to adjust the minimum supported
>> gmp/mpfr/mpc versions for gcc-7.
>>
>> So this attached patch is now targeting at only supporting the
>currently
>> latest relased gmp-6.1.0, mpfr-3.1.4 and mpc-1.0.3, instead of trying
>> to support all previous versions, especially in-tree, but also
>without the
>> in-tree configuration the previously used versions are really
>creating
>> trouble nowadays.
>
>For in-tree builds, requiring the latest version makes sense to me.
>When
>building gcc with a pre-installed gmp/mpfr/mpc (say the one provided by
>
>your linux distribution), that's much more painful, and the benefit is
>not
>as clear. What "trouble" do you have in mind?
>
>> To support gmp-6.1.0 in-tree we have to set AM_CFLAGS=-DNO_ASM
>> as already done with mpfr. This was already discussed recently on
>this list.
>
>Note that gmp-6.1.1 is supposed to be out any day now and will not
>require
>-DNO_ASM anymore.
I agree with Marc here - we should only update the version used by download prerequisites and document that this is the only supported version for in-tree builds.
Richard.