[rtems-crossrpms commit] gcc-4.8.1
Ralf Corsepius
ralf at rtems.org
Sun Dec 8 18:17:58 UTC 2013
Module: rtems-crossrpms
Branch: master
Commit: a75836461f5cfeed9f43c75e67b8436813dc8127
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=a75836461f5cfeed9f43c75e67b8436813dc8127
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Tue Oct 1 17:27:21 2013 +0200
gcc-4.8.1
---
rtems4.11/microblaze/Makefile.am | 9 ++----
rtems4.11/microblaze/Makefile.in | 6 ++--
rtems4.11/microblaze/gcc-sources.add | 12 ++++----
.../rtems-4.11-microblaze-rtems4.11-gcc.spec | 32 ++++++++++----------
4 files changed, 28 insertions(+), 31 deletions(-)
diff --git a/rtems4.11/microblaze/Makefile.am b/rtems4.11/microblaze/Makefile.am
index 7f8f017..c27b0c6 100644
--- a/rtems4.11/microblaze/Makefile.am
+++ b/rtems4.11/microblaze/Makefile.am
@@ -9,15 +9,12 @@ BINUTILS_RPMREL = 1
include ../binutils.am
BINUTILS_OPTS +=
-## microblaze-gcc-4.8.0 FTBFS:
-## - requires binutils > 2.23.2.
-## - RTEMS support is incomplete.
-GCC_VERS = 4.7.3
+GCC_VERS = 4.8.1
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 22`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 25`
include ../gcc.am
GCC_OPTS += --languages=cxx
diff --git a/rtems4.11/microblaze/Makefile.in b/rtems4.11/microblaze/Makefile.in
index b7f2b91..aced3a4 100644
--- a/rtems4.11/microblaze/Makefile.in
+++ b/rtems4.11/microblaze/Makefile.in
@@ -236,12 +236,12 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/common/clean.add \
$(top_srcdir)/binutils/target-binutils.add \
$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.7.3
+GCC_VERS = 4.8.1
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 2
+GCC_RPMREL = 1
NEWLIB_VERS = 1.20.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 22`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 25`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/rtems4.11/microblaze/gcc-sources.add b/rtems4.11/microblaze/gcc-sources.add
index 8b47221..83bf533 100644
--- a/rtems4.11/microblaze/gcc-sources.add
+++ b/rtems4.11/microblaze/gcc-sources.add
@@ -1,12 +1,12 @@
+%if "%{gcc_version}" == "4.8.1"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.1/gcc-4.8.1.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.1.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.1-rtems4.11-20131001.diff
+%endif
%if "%{gcc_version}" == "4.8.0"
# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130326.diff
-%endif
-%if "%{gcc_version}" == "4.7.3"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
-Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3-rtems4.11-20130529.diff
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130502.diff
%endif
%if "%{gcc_version}" == "4.7.2"
# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
diff --git a/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gcc.spec b/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gcc.spec
index cb7e753..00b5bf6 100644
--- a/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gcc.spec
+++ b/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gcc.spec
@@ -47,9 +47,9 @@
%{?!el5:%global _with_noarch_subpackages 1}
-%define gcc_pkgvers 4.7.3
-%define gcc_version 4.7.3
-%define gcc_rpmvers %{expand:%(echo "4.7.3" | tr - _ )}
+%define gcc_pkgvers 4.8.1
+%define gcc_version 4.8.1
+%define gcc_rpmvers %{expand:%(echo "4.8.1" | tr - _ )}
%define newlib_pkgvers 1.20.0
%define newlib_version 1.20.0
@@ -59,7 +59,7 @@ Summary: microblaze-rtems4.11 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 2%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
@@ -253,7 +253,7 @@ BuildRequires: rtems-4.11-microblaze-rtems4.11-binutils
Requires: rtems-4.11-gcc-common
Requires: rtems-4.11-microblaze-rtems4.11-binutils
Requires: rtems-4.11-microblaze-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.11-microblaze-rtems4.11-newlib = %{newlib_version}-24%{?dist}
+Requires: rtems-4.11-microblaze-rtems4.11-newlib = %{newlib_version}-26%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -265,15 +265,15 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.8.1"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.1/gcc-4.8.1.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.1.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.1-rtems4.11-20131001.diff
+%endif
%if "%{gcc_version}" == "4.8.0"
# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130326.diff
-%endif
-%if "%{gcc_version}" == "4.7.3"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
-Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3-rtems4.11-20130529.diff
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130502.diff
%endif
%if "%{gcc_version}" == "4.7.2"
# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
@@ -377,7 +377,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-24%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-26%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -662,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-microblaze-rtems4.11-binutils
-# Requires: rtems-4.11-microblaze-rtems4.11-newlib = %{newlib_version}-24%{?dist}
+# Requires: rtems-4.11-microblaze-rtems4.11-newlib = %{newlib_version}-26%{?dist}
# License: GPL
# %if %build_infos
@@ -680,7 +680,7 @@ Summary: libgcc for microblaze-rtems4.11-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.11-microblaze-rtems4.11-newlib = %{newlib_version}-24%{?dist}
+Requires: rtems-4.11-microblaze-rtems4.11-newlib = %{newlib_version}-26%{?dist}
License: GPL
%description -n rtems-4.11-microblaze-rtems4.11-gcc-libgcc
@@ -865,7 +865,7 @@ Summary: C Library (newlib) for microblaze-rtems4.11
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 24%{?dist}
+Release: 26%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.11-newlib-common
@@ -886,7 +886,7 @@ Newlib C Library for microblaze-rtems4.11.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 24%{?dist}
+Release: 26%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
More information about the vc
mailing list