[rtems-source-builder commit] darwin: Fix building GCC 4.9.3 on Darwin ( MacOS).

Chris Johns chrisj at rtems.org
Mon Jan 29 03:25:55 UTC 2018


Module:    rtems-source-builder
Branch:    4.11
Commit:    b0f7ca76bb58ba2c925dfba0214bd7f49a72efce
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=b0f7ca76bb58ba2c925dfba0214bd7f49a72efce

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Jan 25 16:52:38 2018 +1100

darwin: Fix building GCC 4.9.3 on Darwin (MacOS).

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
@@ -26,6 +26,16 @@
 %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.
 #
 %include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg



More information about the vc mailing list