Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #2254: 0001-RSB-Use-gcc-5-20150301-snapshot.patch

File 0001-RSB-Use-gcc-5-20150301-snapshot.patch, 1.5 KB (added by Hesham Almatary, on 03/10/15 at 14:07:22)

Patch to use gcc snapshot

  • rtems/config/4.11/rtems-moxie.bset

    From abed5a36972592b3d8fa4fad4cbeb416b806899f Mon Sep 17 00:00:00 2001
    From: Hesham ALMatary <heshamelmatary@gmail.com>
    Date: Tue, 10 Mar 2015 09:27:10 +0000
    Subject: [PATCH] [RSB] Use gcc 5-20150301 snapshot.
    
    Use newlib git repository and gcc snapshot that contains the latest moxie
    opcodes. Revert back to dtc-1.2.0 as dtc-1.4.1 would raise a compilation error.
    
    Note: This patch is unstable, and it's meant to be a temporary solution until
    the next gcc release,the build process may or may not fail!
    
    Update #2254
    ---
     rtems/config/4.11/rtems-moxie.bset | 14 +++++++++++---
     1 file changed, 11 insertions(+), 3 deletions(-)
    
    diff --git a/rtems/config/4.11/rtems-moxie.bset b/rtems/config/4.11/rtems-moxie.bset
    index 2e4962d..64c22fc 100644
    a b  
    1616#
    1717%define win32-gdb-disable-sim
    1818
     19# Temporary solution until next gcc release to fix ABI changes.
     20%source set gcc ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/snapshots/5-20150301/gcc-5-20150301.tar.bz2
     21
     22# Use gcc snapshot the has moxie ABI changes
     23%define gcc_version 5-20150301
     24
     25%define newlib_version de616601501c4f82968683e80c112604a2d40222
     26
    1927#
    2028# Tools configuration.
    2129#
    22304.11/rtems-autotools
    2331devel/expat-2.1.0-1
    24 devel/dtc-1.4.1
    25 tools/rtems-binutils-2.24-1
    26 tools/rtems-gcc-4.9.2-newlib-git-1
     32devel/dtc-1.2.0
     33tools/rtems-binutils-git-1
     34tools/rtems-gcc-4.9-newlib-git-1
    2735tools/rtems-gdb-7.8.2-1
    2836tools/rtems-tools-4.11-1
    2937tools/rtems-kernel-4.11