SPECS (GCC_4_1): crossppc-gcc.spec - updated to 4.1.2 - synced all...
sparky
sparky at pld-linux.org
Mon Jun 4 18:29:59 CEST 2007
Author: sparky Date: Mon Jun 4 16:29:59 2007 GMT
Module: SPECS Tag: GCC_4_1
---- Log message:
- updated to 4.1.2
- synced all patches and changes in source with gcc.spec at GCC_4_1
---- Files affected:
SPECS:
crossppc-gcc.spec (1.33 -> 1.33.2.1)
---- Diffs:
================================================================
Index: SPECS/crossppc-gcc.spec
diff -u SPECS/crossppc-gcc.spec:1.33 SPECS/crossppc-gcc.spec:1.33.2.1
--- SPECS/crossppc-gcc.spec:1.33 Mon Feb 12 22:23:51 2007
+++ SPECS/crossppc-gcc.spec Mon Jun 4 18:29:54 2007
@@ -6,14 +6,50 @@
Summary(pt_BR.UTF-8): UtilitĂĄrios para desenvolvimento de binĂĄrios da GNU - PPC gcc
Summary(tr.UTF-8): GNU geliĹtirme araçlarÄą - PPC gcc
Name: crossppc-gcc
-Version: 4.0.2
-Release: 2
+Version: 4.1.2
+Release: 0.1
Epoch: 1
License: GPL
Group: Development/Languages
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
-# Source0-md5: a659b8388cac9db2b13e056e574ceeb0
-Patch0: gcc-pr25715.patch
+# Source0-md5: a4a3eb15c96030906d8494959eeda23c
+Patch0: gcc-info.patch
+Patch1: gcc-nolocalefiles.patch
+Patch2: gcc-nodebug.patch
+Patch3: gcc-ada-link.patch
+Patch4: gcc-sparc64-ada_fix.patch
+Patch5: gcc-alpha-ada_fix.patch
+# -fvisibility fixes...
+Patch6: gcc-pr19664_gnu_internal.patch
+Patch7: gcc-pr19664_libstdc++.patch
+Patch8: gcc-pr20218.patch
+
+# PRs
+Patch10: gcc-pr7776.patch
+Patch11: gcc-pr19606.patch
+Patch12: gcc-pr24879.patch
+Patch13: gcc-pr29512.patch
+Patch14: gcc-pr28281.patch
+Patch15: gcc-unwind-through-signal-frames.patch
+
+Patch18: gcc-pr24419.patch
+Patch19: gcc-pr24669.patch
+Patch20: gcc-pr17390.patch
+Patch21: gcc-pr13676.patch
+Patch22: gcc-pr25626.patch
+Patch23: gcc-libstdcxx-bitset.patch
+
+Patch25: gcc-libjava-multilib.patch
+Patch26: gcc-ppc64-m32-m64-multilib-only.patch
+Patch27: gcc-enable-java-awt-qt.patch
+
+# 128-bit long double support for glibc 2.4
+Patch30: gcc-ldbl-default-libstdc++.patch
+Patch31: gcc-ldbl-default.patch
+
+# Needed too bootstrap with gcc 4.2
+Patch40: gcc-ada.patch
+
URL: http://gcc.gnu.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -32,6 +68,14 @@
%define gccarch %{_libdir}/gcc/%{target}
%define gcclib %{gccarch}/%{version}
+# used for crtbegin.o / crtend.o
+%if 0%{?debug:1}
+%define target_cflags %{debugcflags}
+%else
+%define target_cflags -O2 -fno-strict-aliasing -fwrapv -fsigned-char%{!?nospecflags:%{?specflags: %{specflags}}%{?specflags_ppc: %{specflags_ppc}}}
+%endif
+
+
%define _noautostrip .*/libgc.*\\.a
%description
@@ -60,50 +104,98 @@
%prep
%setup -q -n gcc-%{version}
+
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+
+# -fvisbility fixes...
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+
+# PRs
+%patch10 -p1
+%patch11 -p0
+%patch12 -p0
+%patch13 -p1
+
+%ifarch %{x8664}
+%patch14 -p1
+%endif
+%patch15 -p0
+
+%patch18 -p1
+%patch19 -p1
+%patch20 -p1
+%patch21 -p1
+%patch22 -p1
+%patch23 -p1
+
+%patch25 -p1
+%patch26 -p1
+%patch27 -p1
+
+%patch30 -p0
+%patch31 -p0
+
+%patch40 -p1
+
+# because we distribute modified version of gcc...
+sed -i 's:#define VERSUFFIX.*:#define VERSUFFIX " (PLD-Linux)":' gcc/version.c
+perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
+
+mv ChangeLog ChangeLog.general
%build
+cd gcc
+%{__autoconf}
+cd ..
cp -f /usr/share/automake/config.* .
-rm -rf obj-%{target}
-install -d obj-%{target}
-cd obj-%{target}
+
+rm -rf builddir && install -d builddir && cd builddir
CFLAGS="%{rpmcflags}" \
-CXXFLAGS="%{rpmcflags}" \
+CXXFLAGS="%{rpmcxxflags}" \
TEXCONFIG=false \
../configure \
--prefix=%{_prefix} \
+ --with-local-prefix=%{_prefix}/local \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
--infodir=%{_infodir} \
--mandir=%{_mandir} \
--bindir=%{_bindir} \
- --libdir=%{_libdir} \
- --libexecdir=%{_libdir} \
--disable-shared \
--disable-threads \
--without-headers \
--enable-languages="c,c++" \
--enable-c99 \
--enable-long-long \
+ --disable-multilib \
--disable-nls \
--with-gnu-as \
--with-gnu-ld \
--with-demangler-in-ld \
--with-system-zlib \
- --disable-multilib \
--without-x \
--target=%{target} \
--host=%{_target_platform} \
--build=%{_target_platform}
-%{__make} all-gcc
+%{__make} all-gcc \
+ CFLAGS_FOR_TARGET="%{target_cflags}"
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -C obj-%{target} install-gcc \
+%{__make} -C builddir install-gcc \
DESTDIR=$RPM_BUILD_ROOT
-install obj-%{target}/gcc/specs $RPM_BUILD_ROOT%{gcclib}
+install builddir/gcc/specs $RPM_BUILD_ROOT%{gcclib}
# don't want this here
rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
@@ -156,6 +248,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.33.2.1 2007/06/04 16:29:54 sparky
+- updated to 4.1.2
+- synced all patches and changes in source with gcc.spec at GCC_4_1
+
Revision 1.33 2007/02/12 21:23:51 glen
- tabs in preamble
@@ -217,7 +313,7 @@
- syncing specs, cleanups.
Revision 1.14 2004/11/17 22:01:31 pluto
-- %%build/%%files finished.
+- %build/%files finished.
Revision 1.13 2004/11/17 21:33:39 pluto
- newlib headers are used only on win32 hosted crosscompilers.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/crossppc-gcc.spec?r1=1.33&r2=1.33.2.1&f=u
More information about the pld-cvs-commit
mailing list