[PATCH 5/6] Download GCC prerequisites from GNU server

Chris Johns chrisj at rtems.org
Sun Jun 4 23:13:25 UTC 2017


On 02/06/2017 23:00, Sebastian Huber wrote:
> Use HTTPS instead of FTP.
> ---
>  source-builder/config/gcc-6-1.cfg | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/source-builder/config/gcc-6-1.cfg b/source-builder/config/gcc-6-1.cfg
> index 9f75d6e..c17abc3 100644
> --- a/source-builder/config/gcc-6-1.cfg
> +++ b/source-builder/config/gcc-6-1.cfg
> @@ -11,7 +11,7 @@
>  #
>  # GCC core and G++
>  #
> -%source set gcc ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
> +%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
>  
>  #
>  # Newlib
> @@ -21,9 +21,9 @@
>  #
>  # Packages GCC requires
>  #
> -%source set mpfr http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
> -%source set mpc http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
> -%source set gmp ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
> +%source set mpfr https://ftp.gnu.org/gnu/mpfr/mpfr-%{mpfr_version}.tar.bz2
> +%source set mpc https://ftp.gnu.org/gnu/mpc/mpc-%{mpc_version}.tar.gz
> +%source set gmp https://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2

This breaks the SH target:

error: downloading https://ftp.gnu.org/gnu/mpc/mpc-0.8.1.tar.gz: all paths have
failed, giving up

It seems the original 7.1 patch I pushed is wrong and should not be referencing
gcc-6-1.cfg. This change is ok for a new file gcc-7-1.cfg and gcc-6-1.cfg should
be left untouched to make sure 6.* gcc builds continue to work.

I suggest cleaning the sources and patches directories after a change like this
then checking downloading using the command the release scripts use:

 https://git.rtems.org/rtems-release/tree/rtems-release-sources#n106

Chris


More information about the devel mailing list