summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-05 11:02:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-05 11:14:47 +0200
commite047d64adf806d37393eb12d02a7ce26633d2eba (patch)
treea29b97cc709d55203b85c218d3270158b1ed9355
parente59abc9575538242d5dfc8814f9cda1a11002798 (diff)
downloadrtems-source-builder-e047d64adf806d37393eb12d02a7ce26633d2eba.tar.bz2
5: Update Newlib
Pick up <stddef.h> FreeBSD compatiblity changes.
-rw-r--r--rtems/config/5/rtems-default.bset2
-rw-r--r--rtems/config/5/rtems-epiphany.bset2
-rw-r--r--rtems/config/5/rtems-or1k.bset2
-rw-r--r--rtems/config/5/rtems-riscv.bset2
-rw-r--r--rtems/config/5/rtems-x86_64.bset2
-rw-r--r--rtems/config/tools/rtems-gcc-9.1.0-newlib-5c2a3661c.cfg18
-rw-r--r--rtems/config/tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c.cfg45
7 files changed, 68 insertions, 5 deletions
diff --git a/rtems/config/5/rtems-default.bset b/rtems/config/5/rtems-default.bset
index 256ad78..d57388f 100644
--- a/rtems/config/5/rtems-default.bset
+++ b/rtems/config/5/rtems-default.bset
@@ -18,6 +18,6 @@ devel/expat-2.1.0-1
tools/rtems-gdb-8.2.1-1
tools/rtems-binutils-2.32
-tools/rtems-gcc-fb371a33fa6-newlib-1d35a003f
+tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c
tools/rtems-tools-5-1
tools/rtems-kernel-5
diff --git a/rtems/config/5/rtems-epiphany.bset b/rtems/config/5/rtems-epiphany.bset
index c548f1b..09b3abb 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.32
-tools/rtems-gcc-7.4.0-newlib-1d35a003f
+tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c
tools/rtems-gdb-7.8.1-1
tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-or1k.bset b/rtems/config/5/rtems-or1k.bset
index 85ff900..0ab37d2 100644
--- a/rtems/config/5/rtems-or1k.bset
+++ b/rtems/config/5/rtems-or1k.bset
@@ -11,6 +11,6 @@
devel/expat-2.1.0-1
tools/rtems-gdb-8.2.1-1
tools/rtems-binutils-2.32
-tools/rtems-gcc-9.1.0-newlib-1d35a003f
+tools/rtems-gcc-9.1.0-newlib-5c2a3661c
tools/rtems-tools-5-1
tools/rtems-kernel-5
diff --git a/rtems/config/5/rtems-riscv.bset b/rtems/config/5/rtems-riscv.bset
index 3a2e62c..99f0754 100644
--- a/rtems/config/5/rtems-riscv.bset
+++ b/rtems/config/5/rtems-riscv.bset
@@ -12,6 +12,6 @@
devel/expat-2.1.0-1
tools/rtems-gdb-8.2.1-1
tools/rtems-binutils-2.32
-tools/rtems-gcc-9.1.0-newlib-1d35a003f
+tools/rtems-gcc-9.1.0-newlib-5c2a3661c
tools/rtems-tools-5-1
tools/rtems-kernel-5
diff --git a/rtems/config/5/rtems-x86_64.bset b/rtems/config/5/rtems-x86_64.bset
index 39fba23..6e3c27c 100644
--- a/rtems/config/5/rtems-x86_64.bset
+++ b/rtems/config/5/rtems-x86_64.bset
@@ -9,6 +9,6 @@
devel/expat-2.1.0-1
tools/rtems-gdb-8.2.1-1
tools/rtems-binutils-2.32
-tools/rtems-gcc-9.1.0-newlib-1d35a003f
+tools/rtems-gcc-9.1.0-newlib-5c2a3661c
tools/rtems-tools-5-1
tools/rtems-kernel-5
diff --git a/rtems/config/tools/rtems-gcc-9.1.0-newlib-5c2a3661c.cfg b/rtems/config/tools/rtems-gcc-9.1.0-newlib-5c2a3661c.cfg
new file mode 100644
index 0000000..3c54765
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-9.1.0-newlib-5c2a3661c.cfg
@@ -0,0 +1,18 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 9.1.0
+%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.xz
+%hash sha512 gcc-%{gcc_version}.tar.xz b6134df027e734cee5395afd739fcfa4ea319a6017d662e54e89df927dea19d3fff7a6e35d676685383034e3db01c9d0b653f63574c274eeb15a2cb0bc7a1f28
+
+%define newlib_version 5c2a3661c
+%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 ba3577c8462bed5126581488ee04aef56f54e6915e7e64b0d441269f7ef4f5e9f9c61cc1245ade904b51b8655445cafa2949eef438c5441abc290fc51cf0f536
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-9.cfg
diff --git a/rtems/config/tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c.cfg b/rtems/config/tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c.cfg
new file mode 100644
index 0000000..23413e2
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c.cfg
@@ -0,0 +1,45 @@
+%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 fb371a33fa6
+%define gcc_external 1
+%define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
+%source set gcc --rsb-file=%{gcc_expand_name}.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
+%hash sha512 %{gcc_expand_name}.tar.gz 7ea57504771ec5c2ad48b616d3723a6c7d2a0c59417113f535af24cb83f15c48ec930a0bbe099346c61e6994539f9668b33e203352ad2cd0d9707b375c00c227
+
+%define newlib_version 5c2a3661c
+%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 ba3577c8462bed5126581488ee04aef56f54e6915e7e64b0d441269f7ef4f5e9f9c61cc1245ade904b51b8655445cafa2949eef438c5441abc290fc51cf0f536
+
+%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