[rtems-crossrpms commit] Regenerate.
Ralf Corsepius
ralf at rtems.org
Wed Apr 4 13:11:21 UTC 2012
Module: rtems-crossrpms
Branch: rtems-4-10-branch
Commit: 3c74677279ddcffe3ced032d9eeefe597d9d7166
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=3c74677279ddcffe3ced032d9eeefe597d9d7166
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Wed Mar 14 17:54:33 2012 +0100
Regenerate.
---
Makefile.in | 34 ++++++++-----
aclocal.m4 | 15 +++---
autotools/Makefile.in | 3 +-
config.guess | 22 ++++----
config.sub | 13 ++---
configure | 8 ++--
missing | 53 ++------------------
rtems4.10/Makefile.in | 2 +-
rtems4.10/arm/Makefile.in | 9 ++--
rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/avr/Makefile.in | 9 ++--
rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec | 43 ++++++++++++----
rtems4.10/bfin/Makefile.in | 9 ++--
rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/h8300/Makefile.in | 9 ++--
.../h8300/rtems-4.10-h8300-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/i386/Makefile.in | 9 ++--
rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/lm32/Makefile.in | 9 ++--
rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/m32c/Makefile.in | 9 ++--
rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec | 43 ++++++++++++----
rtems4.10/m32r/Makefile.in | 9 ++--
rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec | 43 ++++++++++++----
rtems4.10/m68k/Makefile.in | 9 ++--
rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/mips/Makefile.in | 9 ++--
rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/mipstx39/Makefile.in | 3 +-
rtems4.10/powerpc/Makefile.in | 9 ++--
.../powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/sh/Makefile.in | 9 ++--
rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec | 49 ++++++++++++++-----
rtems4.10/sparc/Makefile.in | 9 ++--
.../sparc/rtems-4.10-sparc-rtems4.10-gcc.spec | 49 ++++++++++++++-----
35 files changed, 588 insertions(+), 301 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 30edd58..138c406 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -68,9 +68,11 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
- { test ! -d "$(distdir)" \
- || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -fr "$(distdir)"; }; }
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -440,6 +442,10 @@ dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
$(am__remove_distdir)
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__remove_distdir)
+
dist-lzma: distdir
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
$(am__remove_distdir)
@@ -476,6 +482,8 @@ distcheck: dist
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lzma*) \
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
@@ -659,15 +667,15 @@ uninstall-am:
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am am--refresh check check-am clean clean-generic \
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
- distclean distclean-generic distclean-tags distcleancheck \
- distdir distuninstallcheck dvi dvi-am html html-am info \
- info-am install install-am install-data install-data-am \
- install-dvi install-dvi-am install-exec install-exec-am \
- install-html install-html-am install-info install-info-am \
- install-man install-pdf install-pdf-am install-ps \
- install-ps-am install-strip installcheck installcheck-am \
- installdirs installdirs-am maintainer-clean \
+ dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
+ distcheck distclean distclean-generic distclean-tags \
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
diff --git a/aclocal.m4 b/aclocal.m4
index 2652f3c..9fea116 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.11.2 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
@@ -38,7 +38,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.11'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.11.2], [],
+m4_if([$1], [1.11.3], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -54,7 +54,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.11.2])dnl
+[AM_AUTOMAKE_VERSION([1.11.3])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -520,7 +520,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
# Check how to create a tarball. -*- Autoconf -*-
-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -542,10 +542,11 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
# a tarball read from stdin.
# $(am__untar) < result.tar
AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility.
-AM_MISSING_PROG([AMTAR], [tar])
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
m4_if([$1], [v7],
- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
[m4_case([$1], [ustar],, [pax],,
[m4_fatal([Unknown tar format])])
AC_MSG_CHECKING([how to create a $1 tar archive])
diff --git a/autotools/Makefile.in b/autotools/Makefile.in
index a52601f..1fe479c 100644
--- a/autotools/Makefile.in
+++ b/autotools/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -192,6 +192,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/./autoconf.am $(srcdir)/./automake.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/config.guess b/config.guess
index 8152efd..49ba16f 100755
--- a/config.guess
+++ b/config.guess
@@ -2,9 +2,9 @@
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-# 2011 Free Software Foundation, Inc.
+# 2011, 2012 Free Software Foundation, Inc.
-timestamp='2011-11-11'
+timestamp='2012-01-01'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -57,8 +57,8 @@ GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
-Software Foundation, Inc.
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -145,7 +145,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:NetBSD:*:*)
# NetBSD (nbsd) targets should (where applicable) match one or
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
# switched to ELF, *-*-netbsd* would select the old
# object file format. This provides both forward
@@ -897,16 +897,16 @@ EOF
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
cris:Linux:*:*)
- echo cris-axis-linux-gnu
+ echo ${UNAME_MACHINE}-axis-linux-gnu
exit ;;
crisv32:Linux:*:*)
- echo crisv32-axis-linux-gnu
+ echo ${UNAME_MACHINE}-axis-linux-gnu
exit ;;
frv:Linux:*:*)
- echo frv-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
hexagon:Linux:*:*)
- echo hexagon-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
i*86:Linux:*:*)
LIBC=gnu
@@ -948,7 +948,7 @@ EOF
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
or32:Linux:*:*)
- echo or32-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
padre:Linux:*:*)
echo sparc-unknown-linux-gnu
@@ -989,7 +989,7 @@ EOF
echo ${UNAME_MACHINE}-dec-linux-gnu
exit ;;
x86_64:Linux:*:*)
- echo x86_64-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
diff --git a/config.sub b/config.sub
index e76eaf4..d6b6b3c 100755
--- a/config.sub
+++ b/config.sub
@@ -2,9 +2,9 @@
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-# 2011 Free Software Foundation, Inc.
+# 2011, 2012 Free Software Foundation, Inc.
-timestamp='2011-11-11'
+timestamp='2012-01-01'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -76,8 +76,8 @@ version="\
GNU config.sub ($timestamp)
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
-Software Foundation, Inc.
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -320,7 +320,6 @@ case $basic_machine in
basic_machine=tic6x-unknown
;;
m6811 | m68hc11 | m6812 | m68hc12 | picochip)
- # Motorola 68HC11/12.
basic_machine=$basic_machine-unknown
os=-none
;;
@@ -719,7 +718,6 @@ case $basic_machine in
i370-ibm* | ibm*)
basic_machine=i370-ibm
;;
-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
i*86v32)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-sysv32
@@ -1559,9 +1557,6 @@ case $basic_machine in
;;
m68000-sun)
os=-sunos3
- # This also exists in the configure program, but was not the
- # default.
- # os=-sunos4
;;
m68*-cisco)
os=-aout
diff --git a/configure b/configure
index 76c19d2..7ebb0c7 100755
--- a/configure
+++ b/configure
@@ -2280,11 +2280,11 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
-# Always define AMTAR for backward compatibility.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
diff --git a/missing b/missing
index 28055d2..86a8fc3 100755
--- a/missing
+++ b/missing
@@ -1,10 +1,10 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard at iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@ Supported PROGRAM values:
help2man touch the output file
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
- tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@ case $1 in
# Not GNU programs, they don't have --version.
;;
- tar*)
- if test -n "$run"; then
- echo 1>&2 "ERROR: \`tar' requires --run"
- exit 1
- elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
- exit 1
- fi
- ;;
-
*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
@@ -226,7 +216,7 @@ WARNING: \`$1' $msg. You should only need it if
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if test $# -ne 1; then
- eval LASTARG="\${$#}"
+ eval LASTARG=\${$#}
case $LASTARG in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@ WARNING: \`$1' is $msg. You should only need it if
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if test $# -ne 1; then
- eval LASTARG="\${$#}"
+ eval LASTARG=\${$#}
case $LASTARG in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@ WARNING: \`$1' is $msg. You should only need it if
touch $file
;;
- tar*)
- shift
-
- # We have already tried tar in the generic part.
- # Look for gnutar/gtar before invocation to avoid ugly error
- # messages.
- if (gnutar --version > /dev/null 2>&1); then
- gnutar "$@" && exit 0
- fi
- if (gtar --version > /dev/null 2>&1); then
- gtar "$@" && exit 0
- fi
- firstarg="$1"
- if shift; then
- case $firstarg in
- *o*)
- firstarg=`echo "$firstarg" | sed s/o//`
- tar "$firstarg" "$@" && exit 0
- ;;
- esac
- case $firstarg in
- *h*)
- firstarg=`echo "$firstarg" | sed s/h//`
- tar "$firstarg" "$@" && exit 0
- ;;
- esac
- fi
-
- echo 1>&2 "\
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
- You may want to install GNU tar or Free paxutils, or check the
- command line arguments."
- exit 1
- ;;
-
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and is $msg.
diff --git a/rtems4.10/Makefile.in b/rtems4.10/Makefile.in
index 1fff22b..c18a930 100644
--- a/rtems4.10/Makefile.in
+++ b/rtems4.10/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
diff --git a/rtems4.10/arm/Makefile.in b/rtems4.10/arm/Makefile.in
index 0b1960a..48cd0d1 100644
--- a/rtems4.10/arm/Makefile.in
+++ b/rtems4.10/arm/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec b/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec
index 3fdeb5c..a8bcf46 100644
--- a/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec
+++ b/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: arm-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-arm-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-arm-rtems4.10-binutils
Requires: rtems-4.10-arm-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-arm-rtems4.10-binutils
-# Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for arm-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-arm-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc arm-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/arm-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/arm-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/arm-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/arm-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for arm-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for arm-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/avr/Makefile.in b/rtems4.10/avr/Makefile.in
index 5d5adf4..9a52d32 100644
--- a/rtems4.10/avr/Makefile.in
+++ b/rtems4.10/avr/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec b/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec
index b3b8d94..4f8a955 100644
--- a/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec
+++ b/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: avr-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-avr-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-avr-rtems4.10-binutils
Requires: rtems-4.10-avr-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,8 +263,12 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -341,7 +356,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -621,7 +636,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-avr-rtems4.10-binutils
-# Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -639,7 +654,7 @@ Summary: libgcc for avr-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-avr-rtems4.10-gcc-libgcc
@@ -664,6 +679,12 @@ libgcc avr-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/avr-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/avr-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/avr-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/avr-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -757,7 +778,7 @@ Summary: C Library (newlib) for avr-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -778,7 +799,7 @@ Newlib C Library for avr-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/bfin/Makefile.in b/rtems4.10/bfin/Makefile.in
index 4395aca..20ef14d 100644
--- a/rtems4.10/bfin/Makefile.in
+++ b/rtems4.10/bfin/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec b/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec
index be950d5..11a5f32 100644
--- a/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec
+++ b/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: bfin-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-bfin-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-bfin-rtems4.10-binutils
Requires: rtems-4.10-bfin-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-bfin-rtems4.10-binutils
-# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for bfin-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-bfin-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc bfin-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/bfin-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/bfin-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/bfin-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/bfin-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for bfin-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for bfin-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/h8300/Makefile.in b/rtems4.10/h8300/Makefile.in
index 714bc50..5cfb912 100644
--- a/rtems4.10/h8300/Makefile.in
+++ b/rtems4.10/h8300/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec b/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
index b96db42..ebad42e 100644
--- a/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
+++ b/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: h8300-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-h8300-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-h8300-rtems4.10-binutils
Requires: rtems-4.10-h8300-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-h8300-rtems4.10-binutils
-# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for h8300-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-h8300-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc h8300-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/h8300-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/h8300-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/h8300-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/h8300-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for h8300-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for h8300-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/i386/Makefile.in b/rtems4.10/i386/Makefile.in
index 566ec14..c0681ee 100644
--- a/rtems4.10/i386/Makefile.in
+++ b/rtems4.10/i386/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec b/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec
index 8e2ef64..b7ae80a 100644
--- a/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec
+++ b/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: i386-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-i386-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-i386-rtems4.10-binutils
Requires: rtems-4.10-i386-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-i386-rtems4.10-binutils
-# Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for i386-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-i386-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc i386-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/i386-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/i386-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/i386-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/i386-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for i386-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for i386-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/lm32/Makefile.in b/rtems4.10/lm32/Makefile.in
index 791bf90..00a7c66 100644
--- a/rtems4.10/lm32/Makefile.in
+++ b/rtems4.10/lm32/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec b/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec
index 4fc79bc..8d7b9d1 100644
--- a/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec
+++ b/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: lm32-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-lm32-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-lm32-rtems4.10-binutils
Requires: rtems-4.10-lm32-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-lm32-rtems4.10-binutils
-# Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for lm32-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-lm32-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc lm32-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/lm32-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/lm32-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/lm32-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/lm32-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for lm32-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for lm32-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/m32c/Makefile.in b/rtems4.10/m32c/Makefile.in
index 7769c21..58a5127 100644
--- a/rtems4.10/m32c/Makefile.in
+++ b/rtems4.10/m32c/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec b/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec
index ecca7c0..ef85f70 100644
--- a/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec
+++ b/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: m32c-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-m32c-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m32c-rtems4.10-binutils
Requires: rtems-4.10-m32c-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,8 +263,12 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -341,7 +356,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -621,7 +636,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m32c-rtems4.10-binutils
-# Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -639,7 +654,7 @@ Summary: libgcc for m32c-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-m32c-rtems4.10-gcc-libgcc
@@ -664,6 +679,12 @@ libgcc m32c-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/m32c-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/m32c-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/m32c-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/m32c-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -758,7 +779,7 @@ Summary: C Library (newlib) for m32c-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -779,7 +800,7 @@ Newlib C Library for m32c-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/m32r/Makefile.in b/rtems4.10/m32r/Makefile.in
index 256a98d..43e004d 100644
--- a/rtems4.10/m32r/Makefile.in
+++ b/rtems4.10/m32r/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec b/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec
index 29da978..8611fde 100644
--- a/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec
+++ b/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: m32r-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-m32r-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m32r-rtems4.10-binutils
Requires: rtems-4.10-m32r-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,8 +263,12 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
@@ -341,7 +356,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -621,7 +636,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m32r-rtems4.10-binutils
-# Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -639,7 +654,7 @@ Summary: libgcc for m32r-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-m32r-rtems4.10-gcc-libgcc
@@ -664,6 +679,12 @@ libgcc m32r-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/m32r-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/m32r-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/m32r-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/m32r-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -758,7 +779,7 @@ Summary: C Library (newlib) for m32r-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -779,7 +800,7 @@ Newlib C Library for m32r-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/m68k/Makefile.in b/rtems4.10/m68k/Makefile.in
index 0339181..47c7a8c 100644
--- a/rtems4.10/m68k/Makefile.in
+++ b/rtems4.10/m68k/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec b/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec
index 8edafbe..05e253d 100644
--- a/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec
+++ b/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: m68k-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-m68k-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m68k-rtems4.10-binutils
Requires: rtems-4.10-m68k-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m68k-rtems4.10-binutils
-# Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for m68k-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-m68k-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc m68k-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/m68k-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/m68k-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/m68k-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/m68k-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for m68k-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for m68k-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/mips/Makefile.in b/rtems4.10/mips/Makefile.in
index fe25db5..c1c087c 100644
--- a/rtems4.10/mips/Makefile.in
+++ b/rtems4.10/mips/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec b/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec
index be4fcb7..b723d97 100644
--- a/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec
+++ b/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: mips-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-mips-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-mips-rtems4.10-binutils
Requires: rtems-4.10-mips-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-mips-rtems4.10-binutils
-# Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for mips-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-mips-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc mips-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/mips-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/mips-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/mips-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/mips-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for mips-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for mips-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/mipstx39/Makefile.in b/rtems4.10/mipstx39/Makefile.in
index 883adbe..7c1fdf8 100644
--- a/rtems4.10/mipstx39/Makefile.in
+++ b/rtems4.10/mipstx39/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -192,6 +192,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/powerpc/Makefile.in b/rtems4.10/powerpc/Makefile.in
index a6cdc95..b7b9133 100644
--- a/rtems4.10/powerpc/Makefile.in
+++ b/rtems4.10/powerpc/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec b/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec
index 28a51dd..865fddc 100644
--- a/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec
+++ b/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: powerpc-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-powerpc-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-powerpc-rtems4.10-binutils
Requires: rtems-4.10-powerpc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-powerpc-rtems4.10-binutils
-# Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for powerpc-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-powerpc-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc powerpc-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/powerpc-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/powerpc-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/powerpc-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/powerpc-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for powerpc-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for powerpc-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/sh/Makefile.in b/rtems4.10/sh/Makefile.in
index e101aba..92f3db2 100644
--- a/rtems4.10/sh/Makefile.in
+++ b/rtems4.10/sh/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec b/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec
index 5ad542e..9f38829 100644
--- a/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec
+++ b/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: sh-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-sh-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-sh-rtems4.10-binutils
Requires: rtems-4.10-sh-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-sh-rtems4.10-binutils
-# Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for sh-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-sh-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc sh-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/sh-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/sh-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/sh-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/sh-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for sh-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for sh-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
diff --git a/rtems4.10/sparc/Makefile.in b/rtems4.10/sparc/Makefile.in
index 9ce9fc1..930c474 100644
--- a/rtems4.10/sparc/Makefile.in
+++ b/rtems4.10/sparc/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -175,12 +175,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.4.6
+GCC_VERS = 4.4.7
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 5
+GCC_RPMREL = 1
NEWLIB_VERS = 1.18.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 23`
+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 28`
GCC_OPTS = --languages=c --newlib --languages=cxx
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
@@ -230,6 +230,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../binutils.am $(srcdir)/../gcc.am $(srcdir)/../gdb.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec b/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec
index 1cde0ad..b41ef1c 100644
--- a/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec
+++ b/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec
@@ -46,9 +46,9 @@
%endif
-%define gcc_pkgvers 4.4.6
-%define gcc_version 4.4.6
-%define gcc_rpmvers %{expand:%(echo "4.4.6" | tr - _ )}
+%define gcc_pkgvers 4.4.7
+%define gcc_version 4.4.7
+%define gcc_rpmvers %{expand:%(echo "4.4.7" | tr - _ )}
%define newlib_pkgvers 1.18.0
%define newlib_version 1.18.0
@@ -58,7 +58,7 @@ Summary: sparc-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 5%{?dist}
+Release: 1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -92,6 +92,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global libelf_version 0.8.13
# versions of libraries these distros are known to ship
+%if 0%{?fc18}
+%global mpc_provided 0.9
+%global mpfr_provided 3.1.0
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?fc17}
%global mpc_provided 0.9
%global mpfr_provided 3.1.0
@@ -169,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}}
@@ -206,6 +216,7 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
+%{?fc18:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc17:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -240,7 +251,7 @@ BuildRequires: rtems-4.10-sparc-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-sparc-rtems4.10-binutils
Requires: rtems-4.10-sparc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-29%{?dist}
%if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel
@@ -252,14 +263,22 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.4.7"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-core-4.4.7.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-core-4.4.6.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 0}
+%if "%{gcc_version}" == "4.4.7"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-g++-4.4.7.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.7-rtems4.10-20120314.diff
+%endif
%if "%{gcc_version}" == "4.4.6"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.6/gcc-g++-4.4.6.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-g++-4.4.6-rtems4.10-20110829.diff
%endif
%{?_without_sources:NoSource: 1}
@@ -351,7 +370,7 @@ cd ..
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
-echo "RTEMS gcc-%{gcc_version}-5%{?dist}/newlib-%{newlib_version}-28%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-29%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps
@@ -632,7 +651,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-sparc-rtems4.10-binutils
-# Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+# Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-29%{?dist}
# License: GPL
# %if %build_infos
@@ -650,7 +669,7 @@ Summary: libgcc for sparc-rtems4.10-gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch}
-Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-28%{?dist}
+Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-29%{?dist}
License: GPL
%description -n rtems-4.10-sparc-rtems4.10-gcc-libgcc
@@ -675,6 +694,12 @@ libgcc sparc-rtems4.10-gcc.
%if "%{gcc_version}" < "4.6.0"
%{_bindir}/sparc-rtems4.10-gccbug
%endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/sparc-rtems4.10-gcc-ar%{_exeext}
+%{_bindir}/sparc-rtems4.10-gcc-nm%{_exeext}
+%{_bindir}/sparc-rtems4.10-gcc-ranlib%{_exeext}
+%endif
%dir %{_libexecdir}
%dir %{_libexecdir}/gcc
@@ -829,7 +854,7 @@ Summary: C Library (newlib) for sparc-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common
@@ -850,7 +875,7 @@ Newlib C Library for sparc-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
-Release: 28%{?dist}
+Release: 29%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable
More information about the vc
mailing list