mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Update RTEMS 4.11 to GCC 4.7.3.
All build sets for RTEMS 4.11 that where using GCC 4.7.2 have been updated to GCC 4.7.3. This release uses a new patch from the rtems-tools git repo. The AVR tools have the target CFLAGS forced to '-O2 -g' to work around bugs in the AVR GCC compiler related to the default optimizations used when building the various run-time libraries.
This commit is contained in:
parent
69f9806cc1
commit
3e86a96c52
@ -16,16 +16,10 @@
|
||||
#
|
||||
%define enable_obsolete 1
|
||||
|
||||
#
|
||||
# Patch to enable EABI. Part 2 fixes building on 32bit hosts.
|
||||
#
|
||||
%define rtems_gcc_patch2 %{rtems_gcc_patches}/arm/gcc-4.7-arm-to-eabi-20130306.diff
|
||||
%define rtems_gcc_patch3 %{rtems_gcc_patches}/arm/gcc-4.7-rtems4.11-arm-eabi-libcpp-20130403.diff
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5-1
|
||||
|
@ -17,10 +17,17 @@
|
||||
#
|
||||
%define enable_cxx 0
|
||||
|
||||
#
|
||||
# Set the build flags to work around the defaults in the
|
||||
# compiler that cause ICE.
|
||||
#
|
||||
%define _targetcflags -g -O2
|
||||
%define _targetcxxflags -g -O2
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -23,5 +23,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -21,5 +21,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -22,6 +22,6 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
tools/rtems-mipstx39-gdb-7.5.1-1
|
||||
|
@ -23,5 +23,5 @@
|
||||
expat-2.1.0-1
|
||||
dtc-1.2.0
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
@ -16,5 +16,5 @@
|
||||
#
|
||||
expat-2.1.0-1
|
||||
tools/rtems-binutils-2.23.1-1
|
||||
tools/rtems-gcc-4.7.2-newlib-2.0.0-1
|
||||
tools/rtems-gcc-4.7.3-newlib-2.0.0-1
|
||||
tools/rtems-gdb-7.5.1-1
|
||||
|
33
rtems/config/tools/rtems-gcc-4.7.3-newlib-2.0.0-1.cfg
Normal file
33
rtems/config/tools/rtems-gcc-4.7.3-newlib-2.0.0-1.cfg
Normal file
@ -0,0 +1,33 @@
|
||||
#
|
||||
# GCC 4.7.2., Newlib 2.0.0
|
||||
#
|
||||
|
||||
%include %{_configdir}/checks.cfg
|
||||
%include %{_configdir}/base.cfg
|
||||
%include %{_configdir}/versions.cfg
|
||||
|
||||
%define gcc_version 4.7.3
|
||||
%define newlib_version 2.0.0
|
||||
%define mpfr_version 3.0.1
|
||||
%define mpc_version 0.8.2
|
||||
%define gmp_version 5.0.5
|
||||
|
||||
%define with_threads 1
|
||||
%define with_plugin 0
|
||||
%define with_iconv 1
|
||||
|
||||
#
|
||||
# The RTEMS 4.11 patches
|
||||
#
|
||||
Patch0: %{rtems_gcc_patches}/gcc-4.7.3-rtems4.11-20130413.diff
|
||||
%include rtems-gcc-patches.cfg
|
||||
|
||||
# Incompatible with Texinfo 5
|
||||
%if %{__makeinfo_ver} >= 5.0
|
||||
%error Incomaptible version of makeinfo found!
|
||||
%endif
|
||||
|
||||
#
|
||||
# The gcc/newlib build instructions. We use 4.7 Release 1.
|
||||
#
|
||||
%include %{_configdir}/gcc-4.7-1.cfg
|
Loading…
x
Reference in New Issue
Block a user