[rtems-source-builder commit] 5: Update Newlib

Sebastian Huber sebh at rtems.org
Tue Mar 17 07:25:57 UTC 2020


Module:    rtems-source-builder
Branch:    master
Commit:    30725b64f80c24389f5148f81058b2e0b250b3e0
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=30725b64f80c24389f5148f81058b2e0b250b3e0

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar 17 07:30:55 2020 +0100

5: Update Newlib

Pick up fix for crt0.c.

---

 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-7947581.cfg       | 42 ++++++++++++++++++++++
 .../tools/rtems-gcc-9.3.0-newlib-7947581.cfg       | 28 +++++++++++++++
 7 files changed, 75 insertions(+), 5 deletions(-)

diff --git a/rtems/config/5/rtems-default.bset b/rtems/config/5/rtems-default.bset
index bdf4715..3f4e6ab 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-c56f53a
+tools/rtems-gcc-7.5.0-newlib-7947581
 tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-epiphany.bset b/rtems/config/5/rtems-epiphany.bset
index 3f599a0..e54a8ea 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-c56f53a
+tools/rtems-gcc-7.5.0-newlib-7947581
 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 fc57837..75e0eb8 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.3.0-newlib-c56f53a
+tools/rtems-gcc-9.3.0-newlib-7947581
 tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-riscv.bset b/rtems/config/5/rtems-riscv.bset
index e85c41a..bf5874b 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.3.0-newlib-c56f53a
+tools/rtems-gcc-9.3.0-newlib-7947581
 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 e39711b..b414908 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.3.0-newlib-c56f53a
+tools/rtems-gcc-9.3.0-newlib-7947581
 tools/rtems-tools-5-1
diff --git a/rtems/config/tools/rtems-gcc-7.5.0-newlib-7947581.cfg b/rtems/config/tools/rtems-gcc-7.5.0-newlib-7947581.cfg
new file mode 100644
index 0000000..cf62d2f
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-7.5.0-newlib-7947581.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 7947581
+%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 3122fcced8c3c9f5e6c9103bc882958364f3bc7f1806843ff470ed70cd2b9c5c239b9a905c08341ee4d0988e26022fb5da7e565e8af984cd00724288416158d8
+
+%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.3.0-newlib-7947581.cfg b/rtems/config/tools/rtems-gcc-9.3.0-newlib-7947581.cfg
new file mode 100644
index 0000000..0ba47f8
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-9.3.0-newlib-7947581.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.3.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 4b9e3639eef6e623747a22c37a904b4750c93b6da77cf3958d5047e9b5ebddb7eebe091cc16ca0a227c0ecbd2bf3b984b221130f269a97ee4cc18f9cf6c444de
+
+%define newlib_version 7947581
+%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 3122fcced8c3c9f5e6c9103bc882958364f3bc7f1806843ff470ed70cd2b9c5c239b9a905c08341ee4d0988e26022fb5da7e565e8af984cd00724288416158d8
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-9.cfg



More information about the vc mailing list