[PATCH] Update newlib to 5835688440fb0b23fe991a04c7e2df54ded87657

Joel Sherrill joel at rtems.org
Mon Oct 22 16:33:33 UTC 2018


---
 rtems/config/5/rtems-default.bset                  |  2 +-
 ...ib-5835688440fb0b23fe991a04c7e2df54ded87657.cfg | 34 ++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 rtems/config/tools/rtems-gcc-7.3.0-newlib-5835688440fb0b23fe991a04c7e2df54ded87657.cfg

diff --git a/rtems/config/5/rtems-default.bset b/rtems/config/5/rtems-default.bset
index 7927808..dd1f2b3 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.0.1-1
 
 tools/rtems-binutils-2.31.1
-tools/rtems-gcc-7.3.0-newlib-103b055035fea328f8bc7826801760fb1c055683
+tools/rtems-gcc-7.3.0-newlib-5835688440fb0b23fe991a04c7e2df54ded87657
 tools/rtems-tools-5-1
 tools/rtems-kernel-5
diff --git a/rtems/config/tools/rtems-gcc-7.3.0-newlib-5835688440fb0b23fe991a04c7e2df54ded87657.cfg b/rtems/config/tools/rtems-gcc-7.3.0-newlib-5835688440fb0b23fe991a04c7e2df54ded87657.cfg
new file mode 100644
index 0000000..5598e7e
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-7.3.0-newlib-5835688440fb0b23fe991a04c7e2df54ded87657.cfg
@@ -0,0 +1,34 @@
+%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
+
+%define gcc_version 7.3.0
+%hash sha512 gcc-%{gcc_version}.tar.xz ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4
+
+%define newlib_version 5835688440fb0b23fe991a04c7e2df54ded87657
+%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 37b0306b2e342ef7cc4dda2ef593b7124e8951b6fc7b058e8c0cb854fa30cc51ffe41bc40cb7858258e70a508cc9db6025d3f37e313efcdcd732c147d02b8898
+
+%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
-- 
1.8.3.1



More information about the devel mailing list