4.12: Update to GCC 7.2

This commit is contained in:
Sebastian Huber 2017-08-22 07:23:23 +02:00
parent 0a18a8f3cc
commit 630e658ccf
3 changed files with 60 additions and 1 deletions

View File

@ -11,7 +11,7 @@
devel/expat-2.1.0-1
tools/rtems-binutils-2.29-1
tools/rtems-gcc-7.1.0-newlib-2.5.0.20170818-1
tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1
tools/rtems-gdb-7.12-1
tools/rtems-tools-4.12-1
tools/rtems-kernel-4.12

View File

@ -0,0 +1,28 @@
%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg
%define gcc_version 7.2.0
%define newlib_version 2.5.0.20170818
%define mpfr_version 3.1.4
%define mpc_version 1.0.3
%define gmp_version 6.1.0
#
# FreeBSD specific fix for MIPS
#
%if %{_build_os} == freebsd
%patch add gcc --rsb-file=freebsd-libgcc-sed-fix.patch -p0 https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
%hash sha256 freebsd-libgcc-sed-fix.patch 8a11bd619c2e55466688e328da00b387d02395c1e8ff4a99225152387a1e60a4
%endif
%hash sha512 gcc-7.2.0.tar.xz f853cd6530b4055d8d8289da74687cb4c6d5f363598d386332d31852b581bac76c3adb7d61889edec3b779f63d8646f0122840f12965ce4a4389ba535dbbb6e1
%hash sha512 newlib-2.5.0.20170818.tar.gz 41382f722232593a9a2bf7de09dc51a26ad51bf8ad06259b0fd38a13cfcd577688e836446d7e88b7741eeec316cfa137ff9b4e16cca846b11bb70948ff1b8c16
%hash sha512 mpfr-3.1.4.tar.bz2 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
%hash sha512 mpc-1.0.3.tar.gz 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
%hash sha512 gmp-6.1.0.tar.bz2 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
%define with_threads 1
%define with_plugin 0
%define with_iconv 1
%include %{_configdir}/gcc-7.2-1.cfg

View File

@ -0,0 +1,31 @@
#
# GCC 7.2 Version 1.
#
# This configuration file configure's, make's and install's gcc. It uses
# newlib, MPFR, MPC, and GMP in a one-tree build configuration.
#
#
# Source
#
#
# GCC core and G++
#
%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.xz
#
# Newlib
#
%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
#
# Packages GCC requires
#
%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
#
# GCC Common build script.
#
%include %{_configdir}/gcc-common-1.cfg