diff --git a/rtems/config/4.11/rtems-arm.bset b/rtems/config/4.11/rtems-arm.bset index a1f8dd1..f0a0cfc 100644 --- a/rtems/config/4.11/rtems-arm.bset +++ b/rtems/config/4.11/rtems-arm.bset @@ -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 diff --git a/rtems/config/4.11/rtems-avr.bset b/rtems/config/4.11/rtems-avr.bset index 5918fc7..3b49dbd 100644 --- a/rtems/config/4.11/rtems-avr.bset +++ b/rtems/config/4.11/rtems-avr.bset @@ -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 diff --git a/rtems/config/4.11/rtems-bfin.bset b/rtems/config/4.11/rtems-bfin.bset index 676bf00..d993b57 100644 --- a/rtems/config/4.11/rtems-bfin.bset +++ b/rtems/config/4.11/rtems-bfin.bset @@ -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 diff --git a/rtems/config/4.11/rtems-h8300.bset b/rtems/config/4.11/rtems-h8300.bset index 7ae6a32..387d876 100644 --- a/rtems/config/4.11/rtems-h8300.bset +++ b/rtems/config/4.11/rtems-h8300.bset @@ -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 diff --git a/rtems/config/4.11/rtems-i386.bset b/rtems/config/4.11/rtems-i386.bset index 57a656b..3746b81 100644 --- a/rtems/config/4.11/rtems-i386.bset +++ b/rtems/config/4.11/rtems-i386.bset @@ -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 diff --git a/rtems/config/4.11/rtems-m32c.bset b/rtems/config/4.11/rtems-m32c.bset index 9324e81..f922adb 100644 --- a/rtems/config/4.11/rtems-m32c.bset +++ b/rtems/config/4.11/rtems-m32c.bset @@ -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 diff --git a/rtems/config/4.11/rtems-m32r.bset b/rtems/config/4.11/rtems-m32r.bset index fba3ad6..89e2f7f 100644 --- a/rtems/config/4.11/rtems-m32r.bset +++ b/rtems/config/4.11/rtems-m32r.bset @@ -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 diff --git a/rtems/config/4.11/rtems-m68k.bset b/rtems/config/4.11/rtems-m68k.bset index f5a085f..cdad863 100644 --- a/rtems/config/4.11/rtems-m68k.bset +++ b/rtems/config/4.11/rtems-m68k.bset @@ -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 diff --git a/rtems/config/4.11/rtems-microblaze.bset b/rtems/config/4.11/rtems-microblaze.bset index e05ad58..1670a42 100644 --- a/rtems/config/4.11/rtems-microblaze.bset +++ b/rtems/config/4.11/rtems-microblaze.bset @@ -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 diff --git a/rtems/config/4.11/rtems-mips.bset b/rtems/config/4.11/rtems-mips.bset index c97be9c..46a3550 100644 --- a/rtems/config/4.11/rtems-mips.bset +++ b/rtems/config/4.11/rtems-mips.bset @@ -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 diff --git a/rtems/config/4.11/rtems-moxie.bset b/rtems/config/4.11/rtems-moxie.bset index 213f187..98d9548 100644 --- a/rtems/config/4.11/rtems-moxie.bset +++ b/rtems/config/4.11/rtems-moxie.bset @@ -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 diff --git a/rtems/config/4.11/rtems-powerpc.bset b/rtems/config/4.11/rtems-powerpc.bset index 5109451..028e417 100644 --- a/rtems/config/4.11/rtems-powerpc.bset +++ b/rtems/config/4.11/rtems-powerpc.bset @@ -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 diff --git a/rtems/config/4.11/rtems-sh.bset b/rtems/config/4.11/rtems-sh.bset index 277e3fd..36e64c4 100644 --- a/rtems/config/4.11/rtems-sh.bset +++ b/rtems/config/4.11/rtems-sh.bset @@ -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 diff --git a/rtems/config/4.11/rtems-sparc.bset b/rtems/config/4.11/rtems-sparc.bset index a0d317e..4ca0961 100644 --- a/rtems/config/4.11/rtems-sparc.bset +++ b/rtems/config/4.11/rtems-sparc.bset @@ -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 diff --git a/rtems/config/4.11/rtems-sparc64.bset b/rtems/config/4.11/rtems-sparc64.bset index 05b0f18..e1881c2 100644 --- a/rtems/config/4.11/rtems-sparc64.bset +++ b/rtems/config/4.11/rtems-sparc64.bset @@ -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 diff --git a/rtems/config/4.11/rtems-v850.bset b/rtems/config/4.11/rtems-v850.bset index 19623af..a5c9efc 100644 --- a/rtems/config/4.11/rtems-v850.bset +++ b/rtems/config/4.11/rtems-v850.bset @@ -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 diff --git a/rtems/config/tools/rtems-gcc-4.7.3-newlib-2.0.0-1.cfg b/rtems/config/tools/rtems-gcc-4.7.3-newlib-2.0.0-1.cfg new file mode 100644 index 0000000..ec396f1 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-4.7.3-newlib-2.0.0-1.cfg @@ -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