[PATCH] darwin: Fix building GCC 4.9.3 on Darwin (MacOS).
Chris Johns
chrisj at rtems.org
Thu Jan 25 05:57:18 UTC 2018
The latest Xcode command line tools broken on 4.9.3 and a patch is needed.
Note, a suitable binutils is configured for the ARM.
Close #2439
---
rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
index c963350..b477628 100644
--- a/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
@@ -25,6 +25,16 @@
%hash sha512 freebsd-212465-lang-gcc49.patch bfeb8780a934305b4b6de4b84ae2af4f086fb6d428c208c50cc70813df3f6769d460c214072fb89589e6bbd9afd48714ee3771bd0d6bf49588ef9283b358368a
%endif
+#
+# MacOS High Sierra does not build objc
+#
+%if %{_build_os} == darwin
+ %patch add gcc -p0 https://devel.rtems.org/raw-attachment/ticket/2439/gcc-4.9.3-macos-xcode9.diff
+ %hash sha512 gcc-4.9.3-macos-xcode9.diff c2e95a3bf216e8f3415aebef5a0149984100498ea12285241a64f8758ff63dc9fb9c466e85416c9d35d79f9b5690a501131c44bcab0b44ecfbbcba778ca7644d
+
+%endif
+
+
#
# The gcc/newlib build instructions.
#
--
2.14.3 (Apple Git-98)
More information about the devel
mailing list