From cb0efadf1f0e79d081b116549e6b9b4ffc8be9c7 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 17 May 2011 11:40:14 +0000 Subject: Regenerate. --- .../arm/rtems-4.11-arm-rtems4.11-gcc.spec | 43 ++++++++++++++-------- .../avr/rtems-4.11-avr-rtems4.11-gcc.spec | 39 ++++++++++++-------- .../bfin/rtems-4.11-bfin-rtems4.11-gcc.spec | 43 ++++++++++++++-------- .../h8300/rtems-4.11-h8300-rtems4.11-gcc.spec | 24 +++++------- .../i386/rtems-4.11-i386-rtems4.11-gcc.spec | 43 ++++++++++++++-------- .../lm32/rtems-4.11-lm32-rtems4.11-gcc.spec | 24 +++++------- .../m32c/rtems-4.11-m32c-rtems4.11-gcc.spec | 39 ++++++++++++-------- .../m32r/rtems-4.11-m32r-rtems4.11-gcc.spec | 39 ++++++++++++-------- .../m68k/rtems-4.11-m68k-rtems4.11-gcc.spec | 43 ++++++++++++++-------- .../mips/rtems-4.11-mips-rtems4.11-gcc.spec | 43 ++++++++++++++-------- .../powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec | 43 ++++++++++++++-------- .../rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec | 43 ++++++++++++++-------- .../sparc/rtems-4.11-sparc-rtems4.11-gcc.spec | 43 ++++++++++++++-------- .../sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec | 43 ++++++++++++++-------- 14 files changed, 330 insertions(+), 222 deletions(-) (limited to 'contrib') diff --git a/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec index 4020a307bc..59a8234633 100644 --- a/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-arm-rtems4.11-gcc-libgcc @@ -831,7 +842,7 @@ Summary: C Library (newlib) for arm-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -852,7 +863,7 @@ Newlib C Library for arm-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec index 44fd630bd1..627fa143f5 100644 --- a/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -268,7 +272,7 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -314,8 +318,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -345,7 +352,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -621,7 +628,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}-9%{?dist} +# Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -639,7 +646,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}-9%{?dist} +Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-avr-rtems4.11-gcc-libgcc @@ -757,7 +764,7 @@ Summary: C Library (newlib) for avr-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -778,7 +785,7 @@ Newlib C Library for avr-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec index 58827a8772..6521817fc2 100644 --- a/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-bfin-rtems4.11-gcc-libgcc @@ -830,7 +841,7 @@ Summary: C Library (newlib) for bfin-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -851,7 +862,7 @@ Newlib C Library for bfin-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec index ebabb5c35a..5d197c3364 100644 --- a/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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) @@ -125,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -218,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -251,7 +245,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}-8%{?dist} +Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-9%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -290,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -374,7 +368,7 @@ cd .. ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-8%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -651,7 +645,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}-8%{?dist} +# Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-9%{?dist} # License: GPL # %if %build_infos @@ -669,7 +663,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}-8%{?dist} +Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-9%{?dist} License: GPL %description -n rtems-4.11-h8300-rtems4.11-gcc-libgcc @@ -848,7 +842,7 @@ Summary: C Library (newlib) for h8300-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 8%{?dist} +Release: 9%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -869,7 +863,7 @@ Newlib C Library for h8300-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 8%{?dist} +Release: 9%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec index 7accf84902..5ae4170c69 100644 --- a/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-i386-rtems4.11-gcc-libgcc @@ -831,7 +842,7 @@ Summary: C Library (newlib) for i386-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -852,7 +863,7 @@ Newlib C Library for i386-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec index 723d061e0b..c0152b091c 100644 --- a/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 1%{?dist} +Release: 2%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -125,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -218,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -251,7 +245,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}-8%{?dist} +Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-9%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -290,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -374,7 +368,7 @@ cd .. ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-8%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -651,7 +645,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}-8%{?dist} +# Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-9%{?dist} # License: GPL # %if %build_infos @@ -669,7 +663,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}-8%{?dist} +Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-9%{?dist} License: GPL %description -n rtems-4.11-lm32-rtems4.11-gcc-libgcc @@ -848,7 +842,7 @@ Summary: C Library (newlib) for lm32-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 8%{?dist} +Release: 9%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -869,7 +863,7 @@ Newlib C Library for lm32-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 8%{?dist} +Release: 9%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec index d569a5324c..14c4b960c7 100644 --- a/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -268,7 +272,7 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -314,8 +318,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -345,7 +352,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -621,7 +628,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}-9%{?dist} +# Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -639,7 +646,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}-9%{?dist} +Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-m32c-rtems4.11-gcc-libgcc @@ -758,7 +765,7 @@ Summary: C Library (newlib) for m32c-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -779,7 +786,7 @@ Newlib C Library for m32c-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec index 6f9f0f0369..a99ebb4ec7 100644 --- a/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -268,7 +272,7 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -314,8 +318,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -345,7 +352,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -621,7 +628,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}-9%{?dist} +# Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -639,7 +646,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}-9%{?dist} +Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-m32r-rtems4.11-gcc-libgcc @@ -758,7 +765,7 @@ Summary: C Library (newlib) for m32r-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -779,7 +786,7 @@ Newlib C Library for m32r-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec index 02ba9f5e3b..23bf44ead2 100644 --- a/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-m68k-rtems4.11-gcc-libgcc @@ -831,7 +842,7 @@ Summary: C Library (newlib) for m68k-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -852,7 +863,7 @@ Newlib C Library for m68k-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec index 12b6a5db40..ef34c96177 100644 --- a/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-mips-rtems4.11-gcc-libgcc @@ -831,7 +842,7 @@ Summary: C Library (newlib) for mips-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -852,7 +863,7 @@ Newlib C Library for mips-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec index 40c8cfba9f..00440f58f9 100644 --- a/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-powerpc-rtems4.11-gcc-libgcc @@ -831,7 +842,7 @@ Summary: C Library (newlib) for powerpc-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -852,7 +863,7 @@ Newlib C Library for powerpc-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec index 3a61839ea6..8f2de76480 100644 --- a/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-sh-rtems4.11-gcc-libgcc @@ -831,7 +842,7 @@ Summary: C Library (newlib) for sh-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -852,7 +863,7 @@ Newlib C Library for sh-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec index 31d9ebc2c5..a1e0c33df2 100644 --- a/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-sparc-rtems4.11-gcc-libgcc @@ -831,7 +842,7 @@ Summary: C Library (newlib) for sparc-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -852,7 +863,7 @@ Newlib C Library for sparc-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable diff --git a/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec b/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec index 556e9f3776..df52f09ed9 100644 --- a/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec +++ b/contrib/crossrpms/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: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -89,6 +89,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global libelf_version 0.8.13 # versions of libraries these distros are known to ship +%if 0%{?fc16} +%global mpc_provided 0.8.3 +%global mpfr_provided 3.0.0 +%global gmp_provided 4.3.2 +%endif + %if 0%{?fc15} %global mpc_provided 0.8.3 %global mpfr_provided 3.0.0 @@ -119,12 +125,6 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif -%if 0%{?suse11_2} -%global mpc_provided 0.7 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -212,10 +212,10 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} +%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} %{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} %endif @@ -245,7 +245,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}-9%{?dist} +Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-10%{?dist} %if "%{gcc_version}" >= "4.5.0" BuildRequires: zlib-devel @@ -261,6 +261,10 @@ BuildRequires: %{_host_rpmprefix}zlib-devel 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.0-rtems4.11-20110325.diff %endif +%if "%{gcc_version}" == "4.5.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.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" 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.5.2-rtems4.11-20110220.diff @@ -269,6 +273,10 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4 %if "%{gcc_version}" == "4.6.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif +%if "%{gcc_version}" == "4.5.3" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff +%endif %if "%{gcc_version}" == "4.5.2" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff @@ -276,7 +284,7 @@ Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-2011 %if "%{newlib_version}" == "1.19.0" Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz -Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110423.diff +Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff %endif %if 0%{?_build_mpfr} @@ -326,8 +334,11 @@ cd .. # Copy the C library into gcc's source tree ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers} %if %{with gcc_stdint} -rm newlib-%{newlib_version}/newlib/libc/include/stdint.h + rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h %endif + # Make sure not to be using GPL'ed sources + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux + rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos %if 0%{?_build_mpfr} %setup -q -T -D -n %{name}-%{version} -a60 @@ -357,7 +368,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf %endif -echo "RTEMS gcc-%{gcc_version}-3%{?dist}/newlib-%{newlib_version}-9%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE +echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE # Fix timestamps @@ -634,7 +645,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}-9%{?dist} +# Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-10%{?dist} # License: GPL # %if %build_infos @@ -652,7 +663,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}-9%{?dist} +Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-10%{?dist} License: GPL %description -n rtems-4.11-sparc64-rtems4.11-gcc-libgcc @@ -831,7 +842,7 @@ Summary: C Library (newlib) for sparc64-rtems4.11 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} Requires: rtems-4.11-newlib-common @@ -852,7 +863,7 @@ Newlib C Library for sparc64-rtems4.11. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 9%{?dist} +Release: 10%{?dist} %{?_with_noarch_subpackages:BuildArch: noarch} License: Distributable -- cgit v1.2.3