diff mbox series

Update GMP/MPFR/MPC/ISL version in contrib/download_prerequisites (and gcc/infrastructure)

Message ID c6223a2f-39ee-425c-38dd-b31131504a89@codesourcery.com
State New
Headers show
Series Update GMP/MPFR/MPC/ISL version in contrib/download_prerequisites (and gcc/infrastructure) | expand

Commit Message

Tobias Burnus Nov. 24, 2021, 8:05 a.m. UTC
Note: This change has has no effect on https://gcc.gnu.org/install/prerequisites.html,
i.e. the minimal versions remain: GMP 4.3.2, MPFR 3.1.0, MPC 1.0.1, ISL 0.15. However,
not all features might work with the minimal version and in the future, the minimal
version might change. (There is a Graphite feature in the pipeline for GCC 13 which
will require a newer ISL, whether by bumping the minimal ISL version or using a configure
to disable if older is unclear; cf. https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584715.html)



This patch consists of two parts:

* Placing a new version under https://gcc.gnu.org/pub/gcc/infrastructure/
* The attached patch to the download script


Upstream links to the new versions (the first idea was to use 'major-release - 1'
for greater stability but at the end, only GMP is not the newest):

* https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2
   (stable<minus><one> branch; current would be 6.2.1 – before: 6.1.0)

* https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.bz2
   (latest version [as 4.0.2 is too old for MPC 1.1.x] - before: 3.1.6)

* https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
   (latest version - before: 1.0.3)

* https://libisl.sourceforge.io/isl-0.24.tar.bz2
   (latest version - before 0.18)

I did note that the script uses http and not https. I left it that way:
some older systems may not have an up-to-date CA trust list or struggle with
now disabled older crypto algorithms. Given that the hash is checked, I think
that's acceptable and (still) makes sense.

Tobias
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

Comments

Richard Biener Nov. 24, 2021, 8:42 a.m. UTC | #1
On Wed, 24 Nov 2021, Tobias Burnus wrote:

> Note: This change has has no effect on
> https://gcc.gnu.org/install/prerequisites.html,
> i.e. the minimal versions remain: GMP 4.3.2, MPFR 3.1.0, MPC 1.0.1, ISL 0.15.
> However,
> not all features might work with the minimal version and in the future, the
> minimal
> version might change. (There is a Graphite feature in the pipeline for GCC 13
> which
> will require a newer ISL, whether by bumping the minimal ISL version or using
> a configure
> to disable if older is unclear; cf.
> https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584715.html)
> 
> 
> 
> This patch consists of two parts:
> 
> * Placing a new version under https://gcc.gnu.org/pub/gcc/infrastructure/
> * The attached patch to the download script
> 
> 
> Upstream links to the new versions (the first idea was to use 'major-release -
> 1'
> for greater stability but at the end, only GMP is not the newest):
> 
> * https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2
>   (stable<minus><one> branch; current would be 6.2.1 – before: 6.1.0)

I've put 6.2.1 to infrastructure, it isn't a .0 and thus should be OK.

> * https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.bz2
>   (latest version [as 4.0.2 is too old for MPC 1.1.x] - before: 3.1.6)
> 
> * https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
>   (latest version - before: 1.0.3)
> 
> * https://libisl.sourceforge.io/isl-0.24.tar.bz2
>   (latest version - before 0.18)

I've put the above to infrastructure.

Can you please update the patch and verify the combination builds
fine in-tree again?

Thanks,
Richard.

> I did note that the script uses http and not https. I left it that way:
> some older systems may not have an up-to-date CA trust list or struggle with
> now disabled older crypto algorithms. Given that the hash is checked, I think
> that's acceptable and (still) makes sense.
> 
> Tobias
> -----------------
> Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634
> München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas
> Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht
> München, HRB 106955
> 
>
diff mbox series

Patch

Update GMP/MPFR/MPC/ISL version in contrib/download_prerequisites

contrib/
	* download_prerequisites: Update to gmp-6.1.2, mpfr-4.1.0,
	mpc-1.2.1 and isl-0.24.
	* contrib/prerequisites.md5: Update hash.
	* contrib/prerequisites.sha512: Likewise.

diff --git a/contrib/download_prerequisites b/contrib/download_prerequisites
index 11c283ecb1a..689e238dab1 100755
--- a/contrib/download_prerequisites
+++ b/contrib/download_prerequisites
@@ -5,7 +5,7 @@ 
 # Run this from the top level of the GCC source tree and the GCC build will do
 # the right thing.  Run it with the `--help` option for more information.
 #
-# (C) 2010-2016 Free Software Foundation
+# (C) 2010-2021 Free Software Foundation
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -27,10 +27,10 @@  version='(unversioned)'
 # remember to also update the files `contrib/prerequisites.sha512` and
 # `contrib/prerequisites.md5` with the new checksums.
 
-gmp='gmp-6.1.0.tar.bz2'
-mpfr='mpfr-3.1.6.tar.bz2'
-mpc='mpc-1.0.3.tar.gz'
-isl='isl-0.18.tar.bz2'
+gmp='gmp-6.1.2.tar.bz2'
+mpfr='mpfr-4.1.0.tar.bz2'
+mpc='mpc-1.2.1.tar.gz'
+isl='isl-0.24.tar.bz2'
 
 base_url='http://gcc.gnu.org/pub/gcc/infrastructure/'
 
diff --git a/contrib/prerequisites.md5 b/contrib/prerequisites.md5
index 272f7a429b6..f1703493c76 100644
--- a/contrib/prerequisites.md5
+++ b/contrib/prerequisites.md5
@@ -1,4 +1,4 @@ 
-86ee6e54ebfc4a90b643a65e402c4048  gmp-6.1.0.tar.bz2
-320c28198def956aeacdb240b46b8969  mpfr-3.1.6.tar.bz2
-d6a1d5f8ddea3abd2cc3e98f58352d26  mpc-1.0.3.tar.gz
-11436d6b205e516635b666090b94ab32  isl-0.18.tar.bz2
+8ddbb26dc3bd4e2302984debba1406a5  gmp-6.1.2.tar.bz2
+44b892bc5a45bafb4294d134e13aad1d  mpfr-4.1.0.tar.bz2
+9f16c976c25bb0f76b50be749cd7a3a8  mpc-1.2.1.tar.gz
+dd2f7b78e118c25bd96134a52aae7f4d  isl-0.24.tar.bz2
diff --git a/contrib/prerequisites.sha512 b/contrib/prerequisites.sha512
index 71601457cfc..5edde13e2f8 100644
--- a/contrib/prerequisites.sha512
+++ b/contrib/prerequisites.sha512
@@ -1,4 +1,4 @@ 
-3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117  gmp-6.1.0.tar.bz2
-0c310dd7956be527884f8059c195a5aca1042b089d0927ac6341e6310b1250a7059bc61aaaab4dfb76c6ab8b67e440878ca203f72674529bbcb46770ed9b6885  mpfr-3.1.6.tar.bz2
-0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43  mpc-1.0.3.tar.gz
-85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94  isl-0.18.tar.bz2
+268db88447174617f5746d9a6ba2b105940cc1a5e73155eb23b6eedf55f8e7724eda05d161b2de19aca9e794956d226ba9ed6f23124c7c82f7e1872e32b003cf  gmp-6.1.2.tar.bz2
+410208ee0d48474c1c10d3d4a59decd2dfa187064183b09358ec4c4666e34d74383128436b404123b831e585d81a9176b24c7ced9d913967c5fce35d4040a0b4  mpfr-4.1.0.tar.bz2
+3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee  mpc-1.2.1.tar.gz
+aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95  isl-0.24.tar.bz2