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

4.11
Last change on this file since bb43afd was bb43afd, checked in by Chris Johns <chrisj@…>, on Aug 23, 2017 at 1:07:28 AM

Building gcc-4.9.3 is broken on FreeBSD 11.1

Reference the patch for the FreeBSD port. See ticket:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212465

Closes #3107.

  • Property mode set to 100644
File size: 1.3 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# The gcc/newlib build instructions.
30#
31%include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
Note: See TracBrowser for help on using the repository browser.