change log for rtems (2011-11-15)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Nov 16 04:15:24 UTC 2011


 *ralf* (on branch rtems-4-10-branch):
Back port from CVS-HEAD.

M 1.62.2.10  contrib/crossrpms/gcc/gccnewlib.add

diff -u rtems/contrib/crossrpms/gcc/gccnewlib.add:1.62.2.9 rtems/contrib/crossrpms/gcc/gccnewlib.add:1.62.2.10
--- rtems/contrib/crossrpms/gcc/gccnewlib.add:1.62.2.9	Wed Aug  3 23:57:46 2011
+++ rtems/contrib/crossrpms/gcc/gccnewlib.add	Tue Nov 15 21:18:43 2011
@@ -74,6 +74,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -186,14 +192,9 @@
 BuildRequires:  @rpmprefix@@tool_target at -gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
-%if %build_gcj
-# Building gcj requires bison and zlib
-BuildRequires:	bison
-%endif
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	@rpmprefix@@tool_target at -binutils


 *ralf* (on branch rtems-4-10-branch):
Bump GCC_RPMREL.

M 1.120.2.19  contrib/crossrpms/rtems4.10/arm/Makefile.am
M 1.124.2.19  contrib/crossrpms/rtems4.10/avr/Makefile.am
M 1.109.2.18  contrib/crossrpms/rtems4.10/bfin/Makefile.am
M 1.123.2.19  contrib/crossrpms/rtems4.10/h8300/Makefile.am
M 1.122.2.19  contrib/crossrpms/rtems4.10/i386/Makefile.am
M 1.80.2.19  contrib/crossrpms/rtems4.10/lm32/Makefile.am
M 1.119.2.19  contrib/crossrpms/rtems4.10/m32c/Makefile.am
M 1.112.2.19  contrib/crossrpms/rtems4.10/m32r/Makefile.am
M 1.123.2.19  contrib/crossrpms/rtems4.10/m68k/Makefile.am
M 1.125.2.19  contrib/crossrpms/rtems4.10/mips/Makefile.am
M 1.126.2.19  contrib/crossrpms/rtems4.10/powerpc/Makefile.am
M 1.122.2.19  contrib/crossrpms/rtems4.10/sh/Makefile.am
M 1.122.2.19  contrib/crossrpms/rtems4.10/sparc/Makefile.am

diff -u rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am:1.120.2.18 rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am:1.120.2.19
--- rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am:1.120.2.18	Mon Sep 19 17:45:23 2011
+++ rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am	Tue Nov 15 21:19:04 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)

diff -u rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am:1.124.2.18 rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am:1.124.2.19
--- rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am:1.124.2.18	Mon Sep 19 17:45:23 2011
+++ rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am	Tue Nov 15 21:19:19 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am:1.109.2.17 rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am:1.109.2.18
--- rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am:1.109.2.17	Mon Oct 31 03:08:47 2011
+++ rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am	Tue Nov 15 21:19:28 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am:1.123.2.18 rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am:1.123.2.19
--- rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am:1.123.2.18	Mon Sep 19 17:45:23 2011
+++ rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am	Tue Nov 15 21:19:28 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am:1.122.2.18 rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am:1.122.2.19
--- rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am:1.122.2.18	Mon Sep 19 17:45:23 2011
+++ rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am	Tue Nov 15 21:19:28 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am:1.80.2.18 rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am:1.80.2.19
--- rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am:1.80.2.18	Mon Sep 19 17:45:23 2011
+++ rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am	Tue Nov 15 21:19:29 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am:1.119.2.18 rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am:1.119.2.19
--- rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am:1.119.2.18	Mon Sep 19 17:45:24 2011
+++ rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am	Tue Nov 15 21:19:29 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am:1.112.2.18 rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am:1.112.2.19
--- rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am:1.112.2.18	Mon Sep 19 17:45:24 2011
+++ rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am	Tue Nov 15 21:19:29 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am:1.123.2.18 rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am:1.123.2.19
--- rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am:1.123.2.18	Mon Sep 19 17:45:24 2011
+++ rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am	Tue Nov 15 21:19:29 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am:1.125.2.18 rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am:1.125.2.19
--- rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am:1.125.2.18	Mon Sep 19 17:45:24 2011
+++ rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am	Tue Nov 15 21:19:29 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am:1.126.2.18 rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am:1.126.2.19
--- rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am:1.126.2.18	Mon Sep 19 17:45:24 2011
+++ rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am	Tue Nov 15 21:19:29 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am:1.122.2.18 rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am:1.122.2.19
--- rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am:1.122.2.18	Mon Sep 19 17:45:24 2011
+++ rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am	Tue Nov 15 21:19:29 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`

diff -u rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am:1.122.2.18 rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am:1.122.2.19
--- rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am:1.122.2.18	Mon Sep 19 17:45:24 2011
+++ rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am	Tue Nov 15 21:19:29 2011
@@ -12,7 +12,7 @@
 
 GCC_VERS = 4.4.6
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 3
+GCC_RPMREL = 4
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`


 *ralf* (on branch rtems-4-10-branch):
Housekeeping.

R 1.1.2.1  contrib/crossrpms/patches/newlib-1.18.0-rtems4.10-20110419.diff

 *ralf*:
GCC_RPMREL = 0.20110802.0

M   1.20  contrib/crossrpms/freebsd6.4/i586/Makefile.am
M   1.11  contrib/crossrpms/freebsd7.3/i586/Makefile.am
M    1.6  contrib/crossrpms/freebsd8.2/i586/Makefile.am
M    1.6  contrib/crossrpms/freebsd8.2/x86_64/Makefile.am
M    1.5  contrib/crossrpms/netbsd5.1/i386/Makefile.am
M    1.5  contrib/crossrpms/netbsd5.1/x86_64/Makefile.am

diff -u rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am:1.19 rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am:1.20
--- rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am:1.19	Tue Aug  2 00:35:40 2011
+++ rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am	Tue Nov 15 21:46:00 2011
@@ -18,6 +18,6 @@
 
 GCC_VERS = 4.5.2
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20110802.0
+GCC_RPMREL = 0.20111116.0
 include ../gcc.am
 GCC_OPTS += --languages=cxx,fortran,objc

diff -u rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am:1.10 rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am:1.11
--- rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am:1.10	Tue Aug  2 00:35:40 2011
+++ rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am	Tue Nov 15 21:46:00 2011
@@ -18,6 +18,6 @@
 
 GCC_VERS = 4.5.2
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20110802.0
+GCC_RPMREL = 0.20111116.0
 include ../gcc.am
 GCC_OPTS += --languages=cxx,fortran,objc

diff -u rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am:1.5 rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am:1.6
--- rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am:1.5	Tue Aug  2 00:35:41 2011
+++ rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am	Tue Nov 15 21:46:00 2011
@@ -18,6 +18,6 @@
 
 GCC_VERS = 4.5.2
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20110802.0
+GCC_RPMREL = 0.20111116.0
 include ../gcc.am
 GCC_OPTS += --languages=cxx,fortran,objc

diff -u rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am:1.5 rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am:1.6
--- rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am:1.5	Tue Aug  2 00:35:41 2011
+++ rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am	Tue Nov 15 21:46:00 2011
@@ -18,6 +18,6 @@
 
 GCC_VERS = 4.5.2
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20110802.0
+GCC_RPMREL = 0.20111116.0
 include ../gcc.am
 GCC_OPTS += --languages=cxx,fortran,objc

diff -u rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am:1.4 rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am:1.5
--- rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am:1.4	Tue Aug  2 00:35:41 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am	Tue Nov 15 21:46:00 2011
@@ -18,6 +18,6 @@
 
 GCC_VERS = 4.5.2
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20110802.0
+GCC_RPMREL = 0.20111116.0
 include ../gcc.am
 GCC_OPTS += --languages=c,cxx,fortran,objc

diff -u rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am:1.4 rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am:1.5
--- rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am:1.4	Tue Aug  2 00:35:41 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am	Tue Nov 15 21:46:00 2011
@@ -18,6 +18,6 @@
 
 GCC_VERS = 4.5.2
 GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20110802.0
+GCC_RPMREL = 0.20111116.0
 include ../gcc.am
 GCC_OPTS += --languages=c,cxx,fortran,objc


 *ralf*:
Abandon gcc-4.5.0.

M    1.4  contrib/crossrpms/freebsd6.4/i586/gcc-sources.add
M    1.3  contrib/crossrpms/freebsd7.3/i586/gcc-sources.add
M    1.3  contrib/crossrpms/freebsd8.2/i586/gcc-sources.add
M    1.3  contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add
M    1.3  contrib/crossrpms/netbsd5.1/i386/gcc-sources.add
M    1.3  contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add

diff -u rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add:1.3 rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add:1.4
--- rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add:1.3	Mon Mar 21 03:43:54 2011
+++ rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add	Tue Nov 15 21:47:02 2011
@@ -1,7 +1,4 @@
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif

diff -u rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add:1.2 rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add:1.3
--- rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add:1.2	Mon Mar 21 03:43:54 2011
+++ rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add	Tue Nov 15 21:47:02 2011
@@ -1,7 +1,4 @@
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif

diff -u rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add:1.2 rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add:1.3
--- rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add:1.2	Mon Mar 21 03:43:54 2011
+++ rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add	Tue Nov 15 21:47:02 2011
@@ -1,7 +1,4 @@
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif

diff -u rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add:1.2 rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add:1.3
--- rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add:1.2	Mon Mar 21 03:43:54 2011
+++ rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add	Tue Nov 15 21:47:02 2011
@@ -1,7 +1,4 @@
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif

diff -u rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add:1.2 rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add:1.3
--- rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add:1.2	Mon Mar 21 03:43:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add	Tue Nov 15 21:47:03 2011
@@ -1,7 +1,4 @@
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif

diff -u rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add:1.2 rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add:1.3
--- rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add:1.2	Mon Mar 21 03:43:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add	Tue Nov 15 21:47:03 2011
@@ -1,7 +1,4 @@
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif


 *ralf* (on branch rtems-4-10-branch):
Regenerate.

M   1.17  contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec
M   1.12  contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec
M    1.6  contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec
M    1.6  contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec
M    1.5  contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec
M    1.5  contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec
M 1.72.2.16  contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec
M 1.78.2.16  contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec
M 1.75.2.16  contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec
M 1.77.2.16  contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
M 1.75.2.16  contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec
M 1.51.2.16  contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec
M 1.74.2.16  contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec
M 1.73.2.16  contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec
M 1.75.2.16  contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec
M 1.77.2.16  contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec
M 1.78.2.16  contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec
M 1.75.2.16  contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec
M 1.75.2.16  contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec

diff -u rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec:1.16 rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec:1.17
--- rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec:1.16	Tue Aug  2 00:38:44 2011
+++ rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec	Tue Nov 15 21:48:52 2011
@@ -41,7 +41,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	0.20110802.0%{?dist}
+Release:      	0.20111116.0%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -105,6 +105,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -215,10 +221,9 @@
 BuildRequires:  i586-pc-freebsd6.4-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	i586-pc-freebsd6.4-binutils
@@ -239,9 +244,6 @@
 %global _gcclibdir %{_prefix}/lib
 
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif
@@ -286,17 +288,17 @@
 %{?PATCH0:%patch0 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a1
+%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1}
 cd gcc-%{gcc_pkgvers}
 %{?PATCH1:%patch1 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a2
+%{?SOURCE2:%setup -q -T -D -n %{name}-%{version} -a2}
 %{?PATCH2:%patch2 -p0}
 
 
 
-%setup -q -T -D -n %{name}-%{version} -a5
+%{?SOURCE5:%setup -q -T -D -n %{name}-%{version} -a5}
 %{?PATCH5:%patch5 -p0}
 
 %if %{with gcc_stdint}

diff -u rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec:1.11 rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec:1.12
--- rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec:1.11	Tue Aug  2 00:38:44 2011
+++ rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec	Tue Nov 15 21:48:53 2011
@@ -41,7 +41,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	0.20110802.0%{?dist}
+Release:      	0.20111116.0%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -105,6 +105,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -215,10 +221,9 @@
 BuildRequires:  i586-pc-freebsd7.3-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	i586-pc-freebsd7.3-binutils
@@ -239,9 +244,6 @@
 %global _gcclibdir %{_prefix}/lib
 
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif
@@ -286,17 +288,17 @@
 %{?PATCH0:%patch0 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a1
+%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1}
 cd gcc-%{gcc_pkgvers}
 %{?PATCH1:%patch1 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a2
+%{?SOURCE2:%setup -q -T -D -n %{name}-%{version} -a2}
 %{?PATCH2:%patch2 -p0}
 
 
 
-%setup -q -T -D -n %{name}-%{version} -a5
+%{?SOURCE5:%setup -q -T -D -n %{name}-%{version} -a5}
 %{?PATCH5:%patch5 -p0}
 
 %if %{with gcc_stdint}

diff -u rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec:1.5 rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec:1.6
--- rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec:1.5	Tue Aug  2 00:38:44 2011
+++ rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec	Tue Nov 15 21:48:53 2011
@@ -41,7 +41,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	0.20110802.0%{?dist}
+Release:      	0.20111116.0%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -105,6 +105,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -215,10 +221,9 @@
 BuildRequires:  i586-pc-freebsd8.2-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	i586-pc-freebsd8.2-binutils
@@ -239,9 +244,6 @@
 %global _gcclibdir %{_prefix}/lib
 
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif
@@ -286,17 +288,17 @@
 %{?PATCH0:%patch0 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a1
+%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1}
 cd gcc-%{gcc_pkgvers}
 %{?PATCH1:%patch1 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a2
+%{?SOURCE2:%setup -q -T -D -n %{name}-%{version} -a2}
 %{?PATCH2:%patch2 -p0}
 
 
 
-%setup -q -T -D -n %{name}-%{version} -a5
+%{?SOURCE5:%setup -q -T -D -n %{name}-%{version} -a5}
 %{?PATCH5:%patch5 -p0}
 
 %if %{with gcc_stdint}

diff -u rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec:1.5 rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec:1.6
--- rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec:1.5	Tue Aug  2 00:38:44 2011
+++ rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec	Tue Nov 15 21:48:58 2011
@@ -41,7 +41,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	0.20110802.0%{?dist}
+Release:      	0.20111116.0%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -105,6 +105,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -215,10 +221,9 @@
 BuildRequires:  amd64-pc-freebsd8.2-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	amd64-pc-freebsd8.2-binutils
@@ -239,9 +244,6 @@
 %global _gcclibdir %{_prefix}/lib
 
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif
@@ -286,17 +288,17 @@
 %{?PATCH0:%patch0 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a1
+%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1}
 cd gcc-%{gcc_pkgvers}
 %{?PATCH1:%patch1 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a2
+%{?SOURCE2:%setup -q -T -D -n %{name}-%{version} -a2}
 %{?PATCH2:%patch2 -p0}
 
 
 
-%setup -q -T -D -n %{name}-%{version} -a5
+%{?SOURCE5:%setup -q -T -D -n %{name}-%{version} -a5}
 %{?PATCH5:%patch5 -p0}
 
 %if %{with gcc_stdint}

diff -u rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec:1.4 rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec:1.5
--- rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec:1.4	Tue Aug  2 00:38:44 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec	Tue Nov 15 21:48:53 2011
@@ -41,7 +41,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	0.20110802.0%{?dist}
+Release:      	0.20111116.0%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -105,6 +105,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -215,10 +221,9 @@
 BuildRequires:  i386-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	i386-pc-netbsdelf5.1-binutils
@@ -239,9 +244,6 @@
 %global _gcclibdir %{_prefix}/lib
 
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif
@@ -286,17 +288,17 @@
 %{?PATCH0:%patch0 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a1
+%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1}
 cd gcc-%{gcc_pkgvers}
 %{?PATCH1:%patch1 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a2
+%{?SOURCE2:%setup -q -T -D -n %{name}-%{version} -a2}
 %{?PATCH2:%patch2 -p0}
 
 
 
-%setup -q -T -D -n %{name}-%{version} -a5
+%{?SOURCE5:%setup -q -T -D -n %{name}-%{version} -a5}
 %{?PATCH5:%patch5 -p0}
 
 %if %{with gcc_stdint}

diff -u rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec:1.4 rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec:1.5
--- rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec:1.4	Tue Aug  2 00:38:44 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec	Tue Nov 15 21:48:58 2011
@@ -41,7 +41,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	0.20110802.0%{?dist}
+Release:      	0.20111116.0%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -105,6 +105,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -215,10 +221,9 @@
 BuildRequires:  amd64-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	amd64-pc-netbsdelf5.1-binutils
@@ -239,9 +244,6 @@
 %global _gcclibdir %{_prefix}/lib
 
 Source0: 	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
-%if "%{gcc_version}" == "4.5.0"
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
-%endif
 %if "%{gcc_version}" == "4.5.2"
 Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
 %endif
@@ -286,17 +288,17 @@
 %{?PATCH0:%patch0 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a1
+%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1}
 cd gcc-%{gcc_pkgvers}
 %{?PATCH1:%patch1 -p1}
 cd ..
 
-%setup -q -T -D -n %{name}-%{version} -a2
+%{?SOURCE2:%setup -q -T -D -n %{name}-%{version} -a2}
 %{?PATCH2:%patch2 -p0}
 
 
 
-%setup -q -T -D -n %{name}-%{version} -a5
+%{?SOURCE5:%setup -q -T -D -n %{name}-%{version} -a5}
 %{?PATCH5:%patch5 -p0}
 
 %if %{with gcc_stdint}

diff -u rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec:1.72.2.15 rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec:1.72.2.16
--- rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec:1.72.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec	Tue Nov 15 21:20:22 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-arm-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-arm-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-arm-rtems4.10-binutils
 Requires:	rtems-4.10-arm-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-arm-rtems4.10-binutils
-# Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-arm-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec:1.78.2.15 rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec:1.78.2.16
--- rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec:1.78.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec	Tue Nov 15 21:20:23 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-avr-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-avr-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-avr-rtems4.10-binutils
 Requires:	rtems-4.10-avr-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -339,7 +344,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -611,7 +616,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-avr-rtems4.10-binutils
-# Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -629,7 +634,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-avr-rtems4.10-gcc-libgcc
@@ -744,7 +749,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -765,7 +770,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec:1.75.2.15 rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec:1.75.2.16
--- rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec:1.75.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec	Tue Nov 15 21:20:23 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-bfin-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-bfin-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-bfin-rtems4.10-binutils
 Requires:	rtems-4.10-bfin-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-bfin-rtems4.10-binutils
-# Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-bfin-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec:1.77.2.15 rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec:1.77.2.16
--- rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec:1.77.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec	Tue Nov 15 21:20:23 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-h8300-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-h8300-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-h8300-rtems4.10-binutils
 Requires:	rtems-4.10-h8300-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-h8300-rtems4.10-binutils
-# Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-h8300-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec:1.75.2.15 rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec:1.75.2.16
--- rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec:1.75.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec	Tue Nov 15 21:20:23 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-i386-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-i386-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-i386-rtems4.10-binutils
 Requires:	rtems-4.10-i386-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-i386-rtems4.10-binutils
-# Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-i386-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec:1.51.2.15 rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec:1.51.2.16
--- rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec:1.51.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec	Tue Nov 15 21:20:23 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-lm32-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-lm32-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-lm32-rtems4.10-binutils
 Requires:	rtems-4.10-lm32-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-lm32-rtems4.10-binutils
-# Requires:       rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-lm32-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec:1.74.2.15 rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec:1.74.2.16
--- rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec:1.74.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec	Tue Nov 15 21:20:24 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-m32c-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-m32c-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-m32c-rtems4.10-binutils
 Requires:	rtems-4.10-m32c-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -339,7 +344,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -611,7 +616,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-m32c-rtems4.10-binutils
-# Requires:       rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -629,7 +634,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-m32c-rtems4.10-gcc-libgcc
@@ -745,7 +750,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -766,7 +771,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec:1.73.2.15 rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec:1.73.2.16
--- rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec:1.73.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec	Tue Nov 15 21:20:24 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-m32r-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-m32r-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-m32r-rtems4.10-binutils
 Requires:	rtems-4.10-m32r-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -339,7 +344,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -611,7 +616,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-m32r-rtems4.10-binutils
-# Requires:       rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -629,7 +634,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-m32r-rtems4.10-gcc-libgcc
@@ -745,7 +750,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -766,7 +771,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec:1.75.2.15 rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec:1.75.2.16
--- rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec:1.75.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec	Tue Nov 15 21:20:24 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-m68k-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-m68k-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-m68k-rtems4.10-binutils
 Requires:	rtems-4.10-m68k-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-m68k-rtems4.10-binutils
-# Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-m68k-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec:1.77.2.15 rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec:1.77.2.16
--- rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec:1.77.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec	Tue Nov 15 21:20:24 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-mips-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-mips-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-mips-rtems4.10-binutils
 Requires:	rtems-4.10-mips-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-mips-rtems4.10-binutils
-# Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-mips-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec:1.78.2.15 rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec:1.78.2.16
--- rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec:1.78.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec	Tue Nov 15 21:20:24 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-powerpc-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-powerpc-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-powerpc-rtems4.10-binutils
 Requires:	rtems-4.10-powerpc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-powerpc-rtems4.10-binutils
-# Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-powerpc-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec:1.75.2.15 rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec:1.75.2.16
--- rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec:1.75.2.15	Mon Aug 29 00:40:14 2011
+++ rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec	Tue Nov 15 21:20:24 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-sh-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-sh-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-sh-rtems4.10-binutils
 Requires:	rtems-4.10-sh-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-sh-rtems4.10-binutils
-# Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-sh-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec:1.75.2.15 rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec:1.75.2.16
--- rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec:1.75.2.15	Mon Aug 29 00:40:15 2011
+++ rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec	Tue Nov 15 21:20:24 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	3%{?dist}
+Release:      	4%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -119,6 +119,12 @@
 %global gmp_provided 4.1.4
 %endif
 
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
 %if 0%{?suse11_3}
 %global mpc_provided 0.8.1
 %global mpfr_provided 2.4.2
@@ -227,10 +233,9 @@
 BuildRequires:  rtems-4.10-sparc-rtems4.10-gcc = %{gcc_rpmvers}
 %endif
 
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
 BuildRequires:	flex bison
-%endif
-
 
 BuildRequires:	texinfo >= 4.2
 BuildRequires:	rtems-4.10-sparc-rtems4.10-binutils
@@ -238,7 +243,7 @@
 Requires:	rtems-4.10-gcc-common
 Requires:	rtems-4.10-sparc-rtems4.10-binutils
 Requires:	rtems-4.10-sparc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:	rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -349,7 +354,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-27%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -622,7 +627,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-sparc-rtems4.10-binutils
-# Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+# Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -640,7 +645,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-26%{?dist}
+Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-27%{?dist}
 License:	GPL
 
 %description -n rtems-4.10-sparc-rtems4.10-gcc-libgcc
@@ -816,7 +821,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.10-newlib-common
@@ -837,7 +842,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        26%{?dist}
+Release:        27%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111115/ce0cf259/attachment.html>


More information about the vc mailing list