source: rtems-source-builder/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg @ b0f7ca7

4.11
Last change on this file since b0f7ca7 was b0f7ca7, checked in by Chris Johns <chrisj@…>, on 01/25/18 at 05:52:38

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

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#
2# GCC 4.9.3, Newlib 2.2.0-1 (actually a snapshot)
3#
4
5%define gcc_version    4.9.3
6%define newlib_version 2.2.0.20150423
7
8%hash md5 gcc-%{gcc_version}.tar.bz2 6f831b4d251872736e8e9cc09746f327
9%hash md5 newlib-%{newlib_version}.tar.gz c819de85d4cb4be540ebf6d405f42296
10
11#
12# Fix for MSYS2 on Windows. See ticket #2990 for details.
13#
14%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/2990/gcc-4.9.3-20170404-1.patch
15%hash  sha512 gcc-4.9.3-20170404-1.patch c6402e578793e39869d0f3ba021922794e8ea30595286f63cbc9d32c5cb9ef1d9bb3be28f2a9127077d62a44f425f9c0685e3c22596aed67837fe2fcf8a09e71
16
17#
18# FreeBSD specific fix for MIPS
19#
20%if %{_build_os} == freebsd
21 %patch add gcc --rsb-file=freebsd-libgcc-sed-fix.patch -p0 https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
22 %hash  sha256 freebsd-libgcc-sed-fix.patch 8a11bd619c2e55466688e328da00b387d02395c1e8ff4a99225152387a1e60a4
23 # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212465
24 %patch add gcc --rsb-file=freebsd-212465-lang-gcc49.patch -p0 https://svnweb.freebsd.org/ports/head/lang/gcc/files/patch-gcc_system.h?view=co&pathrev=427110
25 %hash  sha512 freebsd-212465-lang-gcc49.patch bfeb8780a934305b4b6de4b84ae2af4f086fb6d428c208c50cc70813df3f6769d460c214072fb89589e6bbd9afd48714ee3771bd0d6bf49588ef9283b358368a
26%endif
27
28#
29# MacOS High Sierra does not build objc
30#
31%if %{_build_os} == darwin
32 %patch add gcc -p0 https://devel.rtems.org/raw-attachment/ticket/2439/gcc-4.9.3-macos-xcode9.diff
33 %hash  sha512 gcc-4.9.3-macos-xcode9.diff c2e95a3bf216e8f3415aebef5a0149984100498ea12285241a64f8758ff63dc9fb9c466e85416c9d35d79f9b5690a501131c44bcab0b44ecfbbcba778ca7644d
34
35%endif
36
37
38#
39# The gcc/newlib build instructions.
40#
41%include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
Note: See TracBrowser for help on using the repository browser.