[rtems-crossrpms commit] Regenerate.
Ralf Corsepius
ralf at rtems.org
Wed Mar 14 15:13:05 UTC 2012
Module: rtems-crossrpms
Branch: master
Commit: a68787f95706ed3aea4b00e010f732abc221f8d3
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=a68787f95706ed3aea4b00e010f732abc221f8d3
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Wed Mar 14 13:01:04 2012 +0100
Regenerate.
---
rtems4.11/arm-eabi/Makefile.in | 2 +-
rtems4.11/arm/Makefile.in | 2 +-
rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/avr/Makefile.in | 2 +-
rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/bfin/Makefile.in | 2 +-
rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/h8300/Makefile.in | 2 +-
.../h8300/rtems-4.11-h8300-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/i386/Makefile.in | 2 +-
rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/lm32/Makefile.in | 2 +-
rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/m32c/Makefile.in | 2 +-
rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/m32r/Makefile.in | 2 +-
rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/m68k/Makefile.in | 2 +-
rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/mips/Makefile.in | 2 +-
rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/powerpc/Makefile.in | 2 +-
.../powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/sh/Makefile.in | 2 +-
rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/sparc/Makefile.in | 2 +-
.../sparc/rtems-4.11-sparc-rtems4.11-gcc.spec | 28 +++++++++++++++-----
rtems4.11/sparc64/Makefile.in | 2 +-
.../sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec | 28 +++++++++++++++-----
29 files changed, 309 insertions(+), 113 deletions(-)
diff --git a/rtems4.11/arm-eabi/Makefile.in b/rtems4.11/arm-eabi/Makefile.in
index 3433d5c..b6c4e6a 100644
--- a/rtems4.11/arm-eabi/Makefile.in
+++ b/rtems4.11/arm-eabi/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/arm/Makefile.in b/rtems4.11/arm/Makefile.in
index 4add682..c6cc877 100644
--- a/rtems4.11/arm/Makefile.in
+++ b/rtems4.11/arm/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec b/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec
index 33dbe35..3749a33 100644
--- a/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec
+++ b/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: arm-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-arm-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-arm-rtems4.11-binutils
Requires: rtems-4.11-arm-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-arm-rtems4.11-binutils
-# Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for arm-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-arm-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc arm-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/arm-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/arm-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/arm-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/arm-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for arm-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for arm-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/avr/Makefile.in b/rtems4.11/avr/Makefile.in
index 5ec283a..6793cef 100644
--- a/rtems4.11/avr/Makefile.in
+++ b/rtems4.11/avr/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec b/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
index 7485e9e..de5580d 100644
--- a/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
+++ b/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: avr-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-avr-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-avr-rtems4.11-binutils
Requires: rtems-4.11-avr-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -354,7 +362,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -638,7 +646,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-avr-rtems4.11-binutils
-# Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -656,7 +664,7 @@ Summary: libgcc for avr-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-avr-rtems4.11-gcc-libgcc
@@ -681,6 +689,12 @@ libgcc avr-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/avr-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/avr-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/avr-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/avr-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -774,7 +788,7 @@ Summary: C Library (newlib) for avr-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -795,7 +809,7 @@ Newlib C Library for avr-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/bfin/Makefile.in b/rtems4.11/bfin/Makefile.in
index 16b08d4..6eaff96 100644
--- a/rtems4.11/bfin/Makefile.in
+++ b/rtems4.11/bfin/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec b/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
index 0c283be..a29b0cc 100644
--- a/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
+++ b/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: bfin-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-bfin-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-bfin-rtems4.11-binutils
Requires: rtems-4.11-bfin-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-bfin-rtems4.11-binutils
-# Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for bfin-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-bfin-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc bfin-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/bfin-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/bfin-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/bfin-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/bfin-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -850,7 +864,7 @@ Summary: C Library (newlib) for bfin-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -871,7 +885,7 @@ Newlib C Library for bfin-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/h8300/Makefile.in b/rtems4.11/h8300/Makefile.in
index 17c8e3e..1178326 100644
--- a/rtems4.11/h8300/Makefile.in
+++ b/rtems4.11/h8300/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec b/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
index 195190a..1681026 100644
--- a/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
+++ b/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: h8300-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-h8300-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-h8300-rtems4.11-binutils
Requires: rtems-4.11-h8300-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-h8300-rtems4.11-binutils
-# Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for h8300-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-h8300-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc h8300-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/h8300-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/h8300-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/h8300-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/h8300-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for h8300-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for h8300-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/i386/Makefile.in b/rtems4.11/i386/Makefile.in
index 2080760..72a311f 100644
--- a/rtems4.11/i386/Makefile.in
+++ b/rtems4.11/i386/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec b/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
index cd64ce8..5d38723 100644
--- a/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
+++ b/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: i386-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-i386-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-i386-rtems4.11-binutils
Requires: rtems-4.11-i386-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-i386-rtems4.11-binutils
-# Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for i386-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-i386-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc i386-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/i386-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/i386-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/i386-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/i386-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for i386-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for i386-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/lm32/Makefile.in b/rtems4.11/lm32/Makefile.in
index f3962bb..e6c6987 100644
--- a/rtems4.11/lm32/Makefile.in
+++ b/rtems4.11/lm32/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.5.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 25
+GCC_RPMREL = 26
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) - 22`
diff --git a/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec b/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
index 7e84ef2..0de7307 100644
--- a/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
+++ b/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: lm32-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 25%{?dist}
+Release: 26%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-lm32-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-lm32-rtems4.11-binutils
Requires: rtems-4.11-lm32-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-3%{?dist}
+Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-4%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-25%{?dist}/newlib-%{newlib_version}-3%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-26%{?dist}/newlib-%{newlib_version}-4%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-lm32-rtems4.11-binutils
-# Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-3%{?dist}
+# Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-4%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for lm32-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-3%{?dist}
+Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-4%{?dist}
License: GPL
%description -n rtems-4.11-lm32-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc lm32-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/lm32-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/lm32-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/lm32-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/lm32-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for lm32-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 3%{?dist}
+Release: 4%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for lm32-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 3%{?dist}
+Release: 4%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/m32c/Makefile.in b/rtems4.11/m32c/Makefile.in
index 7db8e68..237e566 100644
--- a/rtems4.11/m32c/Makefile.in
+++ b/rtems4.11/m32c/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec b/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
index f2be720..00712d9 100644
--- a/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
+++ b/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: m32c-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-m32c-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-m32c-rtems4.11-binutils
Requires: rtems-4.11-m32c-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -354,7 +362,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -638,7 +646,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-m32c-rtems4.11-binutils
-# Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -656,7 +664,7 @@ Summary: libgcc for m32c-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-m32c-rtems4.11-gcc-libgcc
@@ -681,6 +689,12 @@ libgcc m32c-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/m32c-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/m32c-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/m32c-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/m32c-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -775,7 +789,7 @@ Summary: C Library (newlib) for m32c-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -796,7 +810,7 @@ Newlib C Library for m32c-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/m32r/Makefile.in b/rtems4.11/m32r/Makefile.in
index 0a42926..5037599 100644
--- a/rtems4.11/m32r/Makefile.in
+++ b/rtems4.11/m32r/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec b/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
index d071203..870cc97 100644
--- a/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
+++ b/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: m32r-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-m32r-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-m32r-rtems4.11-binutils
Requires: rtems-4.11-m32r-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -354,7 +362,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -638,7 +646,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-m32r-rtems4.11-binutils
-# Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -656,7 +664,7 @@ Summary: libgcc for m32r-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-m32r-rtems4.11-gcc-libgcc
@@ -681,6 +689,12 @@ libgcc m32r-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/m32r-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/m32r-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/m32r-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/m32r-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -775,7 +789,7 @@ Summary: C Library (newlib) for m32r-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -796,7 +810,7 @@ Newlib C Library for m32r-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/m68k/Makefile.in b/rtems4.11/m68k/Makefile.in
index 014178a..99fbdaa 100644
--- a/rtems4.11/m68k/Makefile.in
+++ b/rtems4.11/m68k/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec b/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
index 812a4f7..e25bb29 100644
--- a/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
+++ b/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: m68k-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-m68k-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-m68k-rtems4.11-binutils
Requires: rtems-4.11-m68k-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-m68k-rtems4.11-binutils
-# Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for m68k-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-m68k-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc m68k-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/m68k-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/m68k-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/m68k-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/m68k-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for m68k-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for m68k-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/mips/Makefile.in b/rtems4.11/mips/Makefile.in
index 2776ca2..064e6d4 100644
--- a/rtems4.11/mips/Makefile.in
+++ b/rtems4.11/mips/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec b/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
index abd0c8b..18d9e9a 100644
--- a/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
+++ b/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: mips-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-mips-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-mips-rtems4.11-binutils
Requires: rtems-4.11-mips-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-mips-rtems4.11-binutils
-# Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for mips-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-mips-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc mips-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/mips-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/mips-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/mips-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/mips-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for mips-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for mips-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/powerpc/Makefile.in b/rtems4.11/powerpc/Makefile.in
index bb5a9c7..8d469e2 100644
--- a/rtems4.11/powerpc/Makefile.in
+++ b/rtems4.11/powerpc/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec b/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
index 94c47c6..4c04339 100644
--- a/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
+++ b/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: powerpc-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-powerpc-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-powerpc-rtems4.11-binutils
Requires: rtems-4.11-powerpc-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-powerpc-rtems4.11-binutils
-# Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for powerpc-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-powerpc-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc powerpc-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/powerpc-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/powerpc-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/powerpc-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/powerpc-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for powerpc-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for powerpc-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/sh/Makefile.in b/rtems4.11/sh/Makefile.in
index 03c5598..3484d5d 100644
--- a/rtems4.11/sh/Makefile.in
+++ b/rtems4.11/sh/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec b/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
index 4dc1c4f..40a8c3f 100644
--- a/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
+++ b/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: sh-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-sh-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-sh-rtems4.11-binutils
Requires: rtems-4.11-sh-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-sh-rtems4.11-binutils
-# Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for sh-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-sh-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc sh-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/sh-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/sh-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/sh-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/sh-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for sh-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for sh-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/sparc/Makefile.in b/rtems4.11/sparc/Makefile.in
index 555719f..427145b 100644
--- a/rtems4.11/sparc/Makefile.in
+++ b/rtems4.11/sparc/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec b/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
index 05ed42b..1b870a4 100644
--- a/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
+++ b/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: sparc-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-sparc-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-sparc-rtems4.11-binutils
Requires: rtems-4.11-sparc-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-sparc-rtems4.11-binutils
-# Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for sparc-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-sparc-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc sparc-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/sparc-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/sparc-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/sparc-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/sparc-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for sparc-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for sparc-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.11/sparc64/Makefile.in b/rtems4.11/sparc64/Makefile.in
index 7b592ac..cc7d091 100644
--- a/rtems4.11/sparc64/Makefile.in
+++ b/rtems4.11/sparc64/Makefile.in
@@ -178,7 +178,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 4.6.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 1
+GCC_RPMREL = 2
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 4`
diff --git a/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec b/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
index f5e39df..b9a4f46 100644
--- a/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
+++ b/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
@@ -58,7 +58,7 @@ Summary: sparc64-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -175,6 +175,10 @@ BuildRequires: %{_host_rpmprefix}gcc
%endif
%endif
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required 4.2
+%endif
+
%if %{defined mpc_required}
%if "%{mpc_provided}" >= "%{mpc_required}"
%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
@@ -247,7 +251,7 @@ BuildRequires: rtems-4.11-sparc64-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-sparc64-rtems4.11-binutils
Requires: rtems-4.11-sparc64-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-6%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -259,6 +263,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.7.0"
+Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120314.diff
+%endif
%if "%{gcc_version}" == "4.6.3"
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
@@ -369,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-5%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -654,7 +662,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.11-sparc64-rtems4.11-binutils
-# Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+# Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-6%{?dist}
# License: GPL
# %if %build_infos
@@ -672,7 +680,7 @@ Summary: libgcc for sparc64-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-5%{?dist}
+Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-6%{?dist}
License: GPL
%description -n rtems-4.11-sparc64-rtems4.11-gcc-libgcc
@@ -697,6 +705,12 @@ libgcc sparc64-rtems4.11-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/sparc64-rtems4.11-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/sparc64-rtems4.11-gcc-ar%{_exeext}
+%{_bindir}/sparc64-rtems4.11-gcc-nm%{_exeext}
+%{_bindir}/sparc64-rtems4.11-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -851,7 +865,7 @@ Summary: C Library (newlib) for sparc64-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -872,7 +886,7 @@ Newlib C Library for sparc64-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 5%{?dist}
+Release: 6%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
More information about the vc
mailing list