[PATCH 1/2] Update newlib to c56f53a
Joel Sherrill
joel at rtems.org
Thu Mar 12 20:21:35 UTC 2020
This is primarily to pick up the bug fix to have i386 fenv methods.
---
rtems/config/5/rtems-default.bset | 2 +-
rtems/config/5/rtems-epiphany.bset | 2 +-
rtems/config/5/rtems-or1k.bset | 2 +-
rtems/config/5/rtems-riscv.bset | 2 +-
rtems/config/5/rtems-x86_64.bset | 2 +-
.../tools/rtems-gcc-7.5.0-newlib-c56f53a.cfg | 42 ++++++++++++++++++++++
.../tools/rtems-gcc-9.2.0-newlib-c56f53a.cfg | 28 +++++++++++++++
7 files changed, 75 insertions(+), 5 deletions(-)
create mode 100644 rtems/config/tools/rtems-gcc-7.5.0-newlib-c56f53a.cfg
create mode 100644 rtems/config/tools/rtems-gcc-9.2.0-newlib-c56f53a.cfg
diff --git a/rtems/config/5/rtems-default.bset b/rtems/config/5/rtems-default.bset
index 0b67b9e..bdf4715 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-9.1-1
tools/rtems-binutils-2.34
-tools/rtems-gcc-7.5.0-newlib-fbaa096
+tools/rtems-gcc-7.5.0-newlib-c56f53a
tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-epiphany.bset b/rtems/config/5/rtems-epiphany.bset
index 58f81ef..3f599a0 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.34
-tools/rtems-gcc-7.5.0-newlib-fbaa096
+tools/rtems-gcc-7.5.0-newlib-c56f53a
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 d2f659d..b157742 100644
--- a/rtems/config/5/rtems-or1k.bset
+++ b/rtems/config/5/rtems-or1k.bset
@@ -11,5 +11,5 @@
devel/expat-2.1.0-1
tools/rtems-gdb-8.2.1-1
tools/rtems-binutils-2.34
-tools/rtems-gcc-9.2.0-newlib-fbaa096
+tools/rtems-gcc-9.2.0-newlib-c56f53a
tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-riscv.bset b/rtems/config/5/rtems-riscv.bset
index 6678a47..f77f7cc 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.3-1
tools/rtems-binutils-2.34
-tools/rtems-gcc-9.2.0-newlib-fbaa096
+tools/rtems-gcc-9.2.0-newlib-c56f53a
tools/rtems-tools-5-1
devel/sis-2-1
diff --git a/rtems/config/5/rtems-x86_64.bset b/rtems/config/5/rtems-x86_64.bset
index 7d13ce0..de34156 100644
--- a/rtems/config/5/rtems-x86_64.bset
+++ b/rtems/config/5/rtems-x86_64.bset
@@ -9,5 +9,5 @@
devel/expat-2.1.0-1
tools/rtems-gdb-8.2.1-1
tools/rtems-binutils-2.34
-tools/rtems-gcc-9.2.0-newlib-fbaa096
+tools/rtems-gcc-9.2.0-newlib-c56f53a
tools/rtems-tools-5-1
diff --git a/rtems/config/tools/rtems-gcc-7.5.0-newlib-c56f53a.cfg b/rtems/config/tools/rtems-gcc-7.5.0-newlib-c56f53a.cfg
new file mode 100644
index 0000000..0ccad81
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-7.5.0-newlib-c56f53a.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 c56f53a
+%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 ae973e04fa9a723192d24d7aca708edfd9232d5b009b9e7214447f5947698d16f15285ca97375f1845ee1778c5304f658cd3a7e1c839981102b79c8466ff0e7c
+
+%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
diff --git a/rtems/config/tools/rtems-gcc-9.2.0-newlib-c56f53a.cfg b/rtems/config/tools/rtems-gcc-9.2.0-newlib-c56f53a.cfg
new file mode 100644
index 0000000..a4f2c6a
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-9.2.0-newlib-c56f53a.cfg
@@ -0,0 +1,28 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%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 9.2.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 a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
+
+%define newlib_version c56f53a
+%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 ae973e04fa9a723192d24d7aca708edfd9232d5b009b9e7214447f5947698d16f15285ca97375f1845ee1778c5304f658cd3a7e1c839981102b79c8466ff0e7c
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-9.cfg
--
1.8.3.1
More information about the devel
mailing list