summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-18 13:20:10 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-19 07:01:10 +0100
commit83fa79314dd87c0a8c78fd642b2cea3138be8dd6 (patch)
tree67d6de1a0b0adf54173f1256fff3628ca919d044
parent074ef0c6cd692c3b18feba4d46e9834aa1f822fc (diff)
downloadrtems-source-builder-83fa79314dd87c0a8c78fd642b2cea3138be8dd6.tar.bz2
5: Update to GCC 7.5.0
-rw-r--r--rtems/config/5/rtems-default.bset2
-rw-r--r--rtems/config/5/rtems-epiphany.bset2
-rw-r--r--rtems/config/tools/rtems-gcc-7.5.0-newlib-d14714c69.cfg42
3 files changed, 44 insertions, 2 deletions
diff --git a/rtems/config/5/rtems-default.bset b/rtems/config/5/rtems-default.bset
index b6b3dc7..97c4ede 100644
--- a/rtems/config/5/rtems-default.bset
+++ b/rtems/config/5/rtems-default.bset
@@ -18,5 +18,5 @@ devel/expat-2.1.0-1
tools/rtems-gdb-8.3-1
tools/rtems-binutils-2.33.1
-tools/rtems-gcc-fb371a33fa6-newlib-d14714c69
+tools/rtems-gcc-7.5.0-newlib-d14714c69
tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-epiphany.bset b/rtems/config/5/rtems-epiphany.bset
index 3f41d4c..01bf464 100644
--- a/rtems/config/5/rtems-epiphany.bset
+++ b/rtems/config/5/rtems-epiphany.bset
@@ -34,6 +34,6 @@
5/rtems-autotools
devel/expat-2.1.0-1
tools/rtems-binutils-2.33.1
-tools/rtems-gcc-fb371a33fa6-newlib-d14714c69
+tools/rtems-gcc-7.5.0-newlib-d14714c69
tools/rtems-gdb-7.8.1-1
tools/rtems-tools-5-1
diff --git a/rtems/config/tools/rtems-gcc-7.5.0-newlib-d14714c69.cfg b/rtems/config/tools/rtems-gcc-7.5.0-newlib-d14714c69.cfg
new file mode 100644
index 0000000..b2f927c
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-7.5.0-newlib-d14714c69.cfg
@@ -0,0 +1,42 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+#
+# FreeBSD specific fix for MIPS
+#
+%if %{_build_os} == freebsd || %{_build_os} == darwin
+ %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
+
+%if %{_build_os} == darwin
+ %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/3171/darwin-libstdcpp-noparallel-fix.patch
+ %hash sha512 darwin-libstdcpp-noparallel-fix.patch 01fa1bd55f19b01f10c41fdfe31356a7a4ddf265ebac8f4b974ccd1718181fd56bcb18a96e0492aa37511f08b37f94052a5557e21075604fceee06d80ffbb7d8
+%endif
+
+%define gcc_version 7.5.0
+%hash sha512 gcc-%{gcc_version}.tar.xz fe716cc19f2e3255d3a8b1b8290777bf769c6d98e6e0b07b81a3d6ad43f8af74cb170dfa18b1555dbfcd3f55ae582b91a286ccef496b9b65c1579902f96a1f60
+
+%define newlib_version 3e24fbf6f
+%define newlib_external 1
+%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
+%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
+%hash sha512 newlib-%{newlib_version}.tar.gz 64d2d6fd6a4d0a2974563d526a94e122713db1a5576baa08fd39674546859c179799abdba86293b75cf60e9a784b5ce802bc2b4ef35ba5bd6c7572184ec051ee
+
+%define isl_version 0.16.1
+%hash sha512 isl-%{isl_version}.tar.bz2 c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
+
+%define mpfr_version 3.1.4
+%hash sha512 mpfr-%{mpfr_version}.tar.bz2 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
+
+%define mpc_version 1.0.3
+%hash sha512 mpc-%{mpc_version}.tar.gz 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
+
+%define gmp_version 6.1.0
+%hash sha512 gmp-%{gmp_version}.tar.bz2 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-7.2-1.cfg