rpms/avr-gcc/F-9 avr-gcc-4.3.3-inline-change.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.2, 1.3 avr-gcc.spec, 1.4, 1.5 sources, 1.2, 1.3 avr-gcc-4.1.2-attribute_alias.patch, 1.1, NONE avr-gcc-4.1.2-newdevices.patch, 1.1, NONE
Thibault North
tnorth at fedoraproject.org
Thu Feb 19 19:03:05 UTC 2009
- Previous message (by thread): rpms/bkchem/devel .cvsignore, 1.2, 1.3 bkchem.spec, 1.1, 1.2 import.log, 1.1, 1.2 sources, 1.2, 1.3
- Next message (by thread): rpms/avr-libc/F-9 avr-libc-1.6.4-documentation.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.2, 1.3 avr-libc.spec, 1.1, 1.2 sources, 1.2, 1.3 avr-libc-1.4.6-documentation-encoding.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tnorth
Update of /cvs/pkgs/rpms/avr-gcc/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26218/F-9
Modified Files:
.cvsignore avr-gcc.spec sources
Added Files:
avr-gcc-4.3.3-inline-change.patch import.log
Removed Files:
avr-gcc-4.1.2-attribute_alias.patch
avr-gcc-4.1.2-newdevices.patch
Log Message:
New upstream release. Supporting new devices and bugfixes.
avr-gcc-4.3.3-inline-change.patch:
--- NEW FILE avr-gcc-4.3.3-inline-change.patch ---
--- gcc/toplev.c.orig 2008-04-24 13:59:01.000000000 -0400
+++ gcc/toplev.c 2009-01-30 22:12:14.000000000 -0500
@@ -541,6 +541,7 @@
/* Given X, an unsigned number, return the largest int Y such that 2**Y <= X.
If X is 0, return -1. */
+/*
int
floor_log2 (unsigned HOST_WIDE_INT x)
{
@@ -572,10 +573,12 @@
return t;
}
+*/
/* Return the logarithm of X, base 2, considering X unsigned,
if X is a power of 2. Otherwise, returns -1. */
+/*
int
exact_log2 (unsigned HOST_WIDE_INT x)
{
@@ -590,7 +590,7 @@
return floor_log2 (x);
#endif
}
-
+*/
#endif /* GCC_VERSION < 3004 || !defined (__cplusplus) */
/* Handler for fatal signals, such as SIGSEGV. These are transformed
--- gcc/toplev.h.orig 2007-09-23 15:18:27.000000000 -0400
+++ gcc/toplev.h 2009-02-13 20:28:02.000000000 -0500
@@ -155,10 +155,16 @@
extern bool fast_math_flags_set_p (void);
/* Return log2, or -1 if not exact. */
-extern int exact_log2 (unsigned HOST_WIDE_INT);
+// extern int exact_log2 (unsigned HOST_WIDE_INT);
+
+# if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__)
+# define MY_EXTERNAL_INLINE_PROTO extern __attribute__ ((__gnu_inline__)) inline
+# else
+# define MY_EXTERNAL_INLINE_PROTO extern inline
+# endif
/* Return floor of log2, with -1 for zero. */
-extern int floor_log2 (unsigned HOST_WIDE_INT);
+//extern int floor_log2 (unsigned HOST_WIDE_INT);
/* Inline versions of the above for speed. */
#if GCC_VERSION >= 3004
@@ -173,19 +179,19 @@
# define CTZ_HWI __builtin_ctz
# endif
-extern inline int
+static inline int
floor_log2 (unsigned HOST_WIDE_INT x)
{
return x ? HOST_BITS_PER_WIDE_INT - 1 - (int) CLZ_HWI (x) : -1;
}
-extern inline int
+static inline int
exact_log2 (unsigned HOST_WIDE_INT x)
{
return x == (x & -x) && x ? (int) CTZ_HWI (x) : -1;
}
-#endif /* GCC_VERSION >= 3004 */
+#endif /* GCC_VERSION >= 3004 */
/* Functions used to get and set GCC's notion of in what directory
compilation was started. */
--- NEW FILE import.log ---
avr-gcc-4_3_3-1_fc11:F-9:avr-gcc-4.3.3-1.fc11.src.rpm:1235052735
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/avr-gcc/F-9/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 22 May 2007 15:22:30 -0000 1.2
+++ .cvsignore 19 Feb 2009 19:02:34 -0000 1.3
@@ -1,2 +1,2 @@
-gcc-core-4.1.2.tar.bz2
-gcc-g++-4.1.2.tar.bz2
+gcc-core-4.3.3.tar.bz2
+gcc-g++-4.3.3.tar.bz2
Index: avr-gcc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/avr-gcc/F-9/avr-gcc.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- avr-gcc.spec 19 Feb 2008 08:02:20 -0000 1.4
+++ avr-gcc.spec 19 Feb 2009 19:02:34 -0000 1.5
@@ -1,8 +1,8 @@
-%define target avr
+ %define target avr
Name: %{target}-gcc
-Version: 4.1.2
-Release: 6%{?dist}
+Version: 4.3.3
+Release: 1%{?dist}
Summary: Cross Compiling GNU GCC targeted at %{target}
Group: Development/Languages
License: GPLv2+
@@ -10,10 +10,10 @@
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-core-%{version}.tar.bz2
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-g++-%{version}.tar.bz2
Source2: README.fedora
-Patch0: avr-gcc-4.1.2-newdevices.patch
-Patch1: avr-gcc-4.1.2-attribute_alias.patch
+
+Patch0: avr-gcc-4.3.3-inline-change.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
-BuildRequires: %{target}-binutils >= 2.13, zlib-devel gawk
+BuildRequires: %{target}-binutils >= 2.13, zlib-devel gawk gmp-devel mpfr-devel
Requires: %{target}-binutils >= 2.13
%description
@@ -36,8 +36,8 @@
%prep
%setup -q -c -a 1
pushd gcc-%{version}
+
%patch0 -p0
-%patch1 -p0
sed -i 's/VERSUFFIX ""/VERSUFFIX " (Fedora %{version}-%{release})"/' \
gcc/version.c
contrib/gcc_update --touch
@@ -86,7 +86,7 @@
# we don't want these as we are a cross version
rm -r $RPM_BUILD_ROOT%{_infodir}
rm -r $RPM_BUILD_ROOT%{_mandir}/man7
-rm $RPM_BUILD_ROOT/usr/lib/libiberty.a
+rm $RPM_BUILD_ROOT%{_libdir}/libiberty.a
# and these aren't usefull for embedded targets
rm -r $RPM_BUILD_ROOT/usr/lib/gcc/%{target}/%{version}/install-tools
rm -r $RPM_BUILD_ROOT%{_libexecdir}/gcc/%{target}/%{version}/install-tools
@@ -122,6 +122,14 @@
%changelog
+* Sat Feb 14 2009 Thibault North <tnorth AT fedoraproject DOT org> - 4.3.3-1
+- New upstream release: upgraded to 4.3.3
+- Add dependencies to gmp-devel and mpfr-devel as build requires
+- Remove patches (included upstream)
+
+* Fri Oct 3 2008 Thibault North <tnorth AT fedoraproject DOT org> - 4.1.2-7
+- Rebuild for gcc 4.3
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 4.1.2-6
- Autorebuild for GCC 4.3
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/avr-gcc/F-9/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 22 May 2007 15:22:30 -0000 1.2
+++ sources 19 Feb 2009 19:02:34 -0000 1.3
@@ -1,2 +1,2 @@
-2af3fb599635219171c6ae1f3034888a gcc-core-4.1.2.tar.bz2
-75c6d5fa3415d614314caf0f509e8933 gcc-g++-4.1.2.tar.bz2
+9abefc37a9c88df8204927583f6203ec gcc-core-4.3.3.tar.bz2
+18428e313a9927d38b313e688c62219b gcc-g++-4.3.3.tar.bz2
--- avr-gcc-4.1.2-attribute_alias.patch DELETED ---
--- avr-gcc-4.1.2-newdevices.patch DELETED ---
- Previous message (by thread): rpms/bkchem/devel .cvsignore, 1.2, 1.3 bkchem.spec, 1.1, 1.2 import.log, 1.1, 1.2 sources, 1.2, 1.3
- Next message (by thread): rpms/avr-libc/F-9 avr-libc-1.6.4-documentation.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.2, 1.3 avr-libc.spec, 1.1, 1.2 sources, 1.2, 1.3 avr-libc-1.4.6-documentation-encoding.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list