[PATCH 3/4] 4.12/gcc-4.8.3 Fix building with a newer version of gcc.

Chris Johns chrisj at rtems.org
Tue Aug 8 23:39:33 UTC 2017


Updates #2990.
---
 .../tools/rtems-gcc-4.8.3-newlib-2.5.0.20170623-1.cfg      | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170623-1.cfg b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170623-1.cfg
index ff82df0..5ec7eea 100644
--- a/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170623-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170623-1.cfg
@@ -25,4 +25,18 @@
 %patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=a3617d7bde0ac1f816f9311f6d715b0b73f6ecff
 %hash sha512 newlib-cygwin-git-a3617d7bde0ac1f816f9311f6d715b0b73f6ecff.patch 3861d8f44a3f73dd3ecdea4161ce23111429811bfd7cdd3992ffa7075881583b06f4b7149db36e990637cf99e176617bed0a0f1b818adb1ec64604f13cd2630c
 
+#
+# Fix for MSYS2 on Windows. See ticket #2990 for details.
+#
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/2990/gcc-4.9.3-20170404-1.patch
+%hash  sha512 gcc-4.9.3-20170404-1.patch c6402e578793e39869d0f3ba021922794e8ea30595286f63cbc9d32c5cb9ef1d9bb3be28f2a9127077d62a44f425f9c0685e3c22596aed67837fe2fcf8a09e71
+
+#
+# FreeBSD specific fix for MIPS
+#
+%if %{_build_os} == freebsd
+ %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
+
 %include tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
-- 
2.13.2



More information about the devel mailing list