Hello community,
here is the log from the commit of package gcc
checked in at Sun Jun 4 15:24:22 CEST 2006.
--------
--- gcc/cross-alpha-gcc-icecream-backend.changes 2006-05-29 16:28:21.000000000 +0200
+++ gcc/cross-alpha-gcc-icecream-backend.changes 2006-06-02 15:01:16.000000000 +0200
@@ -1,0 +2,11 @@
+Tue May 30 14:06:02 CEST 2006 - rguenther@suse.de
+
+- Update to gcc-4_1-branch head. Fixes #22743.
+- Strip binaries and libs for the icecream backends.
+- Split libgfortran shared library into own package.
+- Build and package the Objective C++ frontend.
+- No longer package fastjar stuff.
+- Instead of reverting the fix for PR26757 apply the fix for PR27793.
+ [#179518]
+
+-------------------------------------------------------------------
cross-arm-gcc-icecream-backend.changes: same change
cross-avr-gcc.changes: same change
cross-hppa-gcc-icecream-backend.changes: same change
cross-i386-gcc-icecream-backend.changes: same change
cross-ia64-gcc-icecream-backend.changes: same change
cross-ppc-gcc-icecream-backend.changes: same change
cross-ppc64-gcc-icecream-backend.changes: same change
cross-s390-gcc-icecream-backend.changes: same change
cross-s390x-gcc-icecream-backend.changes: same change
cross-x86_64-gcc-icecream-backend.changes: same change
gcc.changes: same change
Old:
----
gcc-4.1.1.tar.bz2
pr26757-revert.patch
New:
----
gcc-4.1.2-20060531.tar.bz2
pr27793.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cross-alpha-gcc-icecream-backend.spec ++++++
--- /var/tmp/diff_new_pack.5mfhIp/_old 2006-06-04 15:22:55.000000000 +0200
+++ /var/tmp/diff_new_pack.5mfhIp/_new 2006-06-04 15:22:55.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package cross-alpha-gcc-icecream-backend (Version 4.1.1)
+# spec file for package cross-alpha-gcc-icecream-backend (Version 4.1.2_20060531)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -14,6 +14,7 @@
%define build_ada 0
%define build_java 0
%define build_fortran 0
+%define build_objcp 0
%define build_nof 0
%define gcc_for_opt 0
BuildRequires: cross-alpha-binutils glibc-devel-32bit
@@ -24,8 +25,8 @@
%define biarch_targets x86_64 s390x ppc64 ppc
URL: http://gcc.gnu.org/
License: GPL, LGPL
-Version: 4.1.1
-Release: 6
+Version: 4.1.2_20060531
+Release: 1
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%if %{gcc_for_opt}
@@ -43,7 +44,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
Source1: change_spec
-# svn diff -r111560:X
Patch1: bug-reporting.patch
Patch2: gcc-noalias-warn.diff
Patch5: boehm-gc-strict-aliasing.patch
@@ -66,7 +66,7 @@
Patch93: nvl161673.patch
Patch94: ppc-longdouble-vaarg-fix
Patch95: pr26399.patch
-Patch96: pr26757-revert.patch
+Patch96: pr27793.patch
# A set of patches from the RH srpm
Patch51: gcc41-ia64-stack-protector.patch
Patch55: gcc41-java-slow_pthread_self.patch
@@ -195,6 +195,9 @@
%if %{build_fortran}
languages=$languages,fortran
%endif
+%if %{build_objcp}
+languages=$languages,obj-c++
+%endif
%if %{build_java}
languages=$languages,java
%endif
@@ -335,11 +338,11 @@
make -C gcc DESTDIR=$RPM_BUILD_ROOT/inst install-driver install-common
# But the assembler comes from the cross-binutils, and hence is _not_
# named funnily, not even on ppc, so there we need the original target
-install -D %{_prefix}/bin/${ORIG_TARGET}-linux-as $RPM_BUILD_ROOT/env/usr/bin/as
-install $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-g++ $RPM_BUILD_ROOT/env/usr/bin/g++
-install $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-gcc $RPM_BUILD_ROOT/env/usr/bin/gcc
+install -s -D %{_prefix}/bin/${ORIG_TARGET}-linux-as $RPM_BUILD_ROOT/env/usr/bin/as
+install -s $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-g++ $RPM_BUILD_ROOT/env/usr/bin/g++
+install -s $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-gcc $RPM_BUILD_ROOT/env/usr/bin/gcc
for back in cc1 cc1plus; do
- install -D $RPM_BUILD_ROOT/inst%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back \
+ install -s -D $RPM_BUILD_ROOT/inst%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back \
$RPM_BUILD_ROOT/env%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back
done
libs=`for bin in $RPM_BUILD_ROOT/env/usr/bin/*; do \
@@ -350,7 +353,7 @@
# and prefer that on the assumption that it is a more generic one.
baselib=`echo "$lib" | sed 's,/[^/]*\(/[^/]*\)$,\1,'`
test -f "$baselib" && lib=$baselib
- install -D $lib $RPM_BUILD_ROOT/env$lib
+ install -s -D $lib $RPM_BUILD_ROOT/env$lib
done
rm -rf $RPM_BUILD_ROOT/inst
cd $RPM_BUILD_ROOT/env
@@ -370,6 +373,14 @@
/usr/share/icecream-envs
%changelog -n cross-alpha-gcc-icecream-backend
+* Tue May 30 2006 - rguenther@suse.de
+- Update to gcc-4_1-branch head. Fixes #22743.
+- Strip binaries and libs for the icecream backends.
+- Split libgfortran shared library into own package.
+- Build and package the Objective C++ frontend.
+- No longer package fastjar stuff.
+- Instead of reverting the fix for PR26757 apply the fix for PR27793.
+ [#179518]
* Mon May 29 2006 - rguenther@suse.de
- Revert patch for PR26757 which causes MPlayer build failures.
* Thu May 25 2006 - rguenther@suse.de
cross-arm-gcc-icecream-backend.spec: same change
++++++ cross-avr-gcc.spec ++++++
--- /var/tmp/diff_new_pack.5mfhIp/_old 2006-06-04 15:22:55.000000000 +0200
+++ /var/tmp/diff_new_pack.5mfhIp/_new 2006-06-04 15:22:55.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package cross-avr-gcc (Version 4.1.1)
+# spec file for package cross-avr-gcc (Version 4.1.2_20060531)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -14,6 +14,7 @@
%define build_ada 0
%define build_java 0
%define build_fortran 0
+%define build_objcp 0
%define build_nof 0
%define gcc_for_opt 0
BuildRequires: cross-avr-binutils glibc-devel
@@ -23,8 +24,8 @@
%define biarch_targets x86_64 s390x ppc64 ppc
URL: http://gcc.gnu.org/
License: GPL, LGPL
-Version: 4.1.1
-Release: 6
+Version: 4.1.2_20060531
+Release: 1
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%if %{gcc_for_opt}
@@ -42,7 +43,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
Source1: change_spec
-# svn diff -r111560:X
Patch1: bug-reporting.patch
Patch2: gcc-noalias-warn.diff
Patch5: boehm-gc-strict-aliasing.patch
@@ -65,7 +65,7 @@
Patch93: nvl161673.patch
Patch94: ppc-longdouble-vaarg-fix
Patch95: pr26399.patch
-Patch96: pr26757-revert.patch
+Patch96: pr27793.patch
# A set of patches from the RH srpm
Patch51: gcc41-ia64-stack-protector.patch
Patch55: gcc41-java-slow_pthread_self.patch
@@ -191,6 +191,9 @@
%if %{build_fortran}
languages=$languages,fortran
%endif
+%if %{build_objcp}
+languages=$languages,obj-c++
+%endif
%if %{build_java}
languages=$languages,java
%endif
@@ -333,6 +336,14 @@
%{_prefix}
%changelog -n cross-avr-gcc
+* Tue May 30 2006 - rguenther@suse.de
+- Update to gcc-4_1-branch head. Fixes #22743.
+- Strip binaries and libs for the icecream backends.
+- Split libgfortran shared library into own package.
+- Build and package the Objective C++ frontend.
+- No longer package fastjar stuff.
+- Instead of reverting the fix for PR26757 apply the fix for PR27793.
+ [#179518]
* Mon May 29 2006 - rguenther@suse.de
- Revert patch for PR26757 which causes MPlayer build failures.
* Thu May 25 2006 - rguenther@suse.de
++++++ cross-hppa-gcc-icecream-backend.spec ++++++
--- /var/tmp/diff_new_pack.5mfhIp/_old 2006-06-04 15:22:55.000000000 +0200
+++ /var/tmp/diff_new_pack.5mfhIp/_new 2006-06-04 15:22:55.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package cross-hppa-gcc-icecream-backend (Version 4.1.1)
+# spec file for package cross-hppa-gcc-icecream-backend (Version 4.1.2_20060531)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -14,6 +14,7 @@
%define build_ada 0
%define build_java 0
%define build_fortran 0
+%define build_objcp 0
%define build_nof 0
%define gcc_for_opt 0
BuildRequires: cross-hppa-binutils glibc-devel-32bit
@@ -24,8 +25,8 @@
%define biarch_targets x86_64 s390x ppc64 ppc
URL: http://gcc.gnu.org/
License: GPL, LGPL
-Version: 4.1.1
-Release: 6
+Version: 4.1.2_20060531
+Release: 1
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%if %{gcc_for_opt}
@@ -43,7 +44,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
Source1: change_spec
-# svn diff -r111560:X
Patch1: bug-reporting.patch
Patch2: gcc-noalias-warn.diff
Patch5: boehm-gc-strict-aliasing.patch
@@ -66,7 +66,7 @@
Patch93: nvl161673.patch
Patch94: ppc-longdouble-vaarg-fix
Patch95: pr26399.patch
-Patch96: pr26757-revert.patch
+Patch96: pr27793.patch
# A set of patches from the RH srpm
Patch51: gcc41-ia64-stack-protector.patch
Patch55: gcc41-java-slow_pthread_self.patch
@@ -195,6 +195,9 @@
%if %{build_fortran}
languages=$languages,fortran
%endif
+%if %{build_objcp}
+languages=$languages,obj-c++
+%endif
%if %{build_java}
languages=$languages,java
%endif
@@ -335,11 +338,11 @@
make -C gcc DESTDIR=$RPM_BUILD_ROOT/inst install-driver install-common
# But the assembler comes from the cross-binutils, and hence is _not_
# named funnily, not even on ppc, so there we need the original target
-install -D %{_prefix}/bin/${ORIG_TARGET}-linux-as $RPM_BUILD_ROOT/env/usr/bin/as
-install $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-g++ $RPM_BUILD_ROOT/env/usr/bin/g++
-install $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-gcc $RPM_BUILD_ROOT/env/usr/bin/gcc
+install -s -D %{_prefix}/bin/${ORIG_TARGET}-linux-as $RPM_BUILD_ROOT/env/usr/bin/as
+install -s $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-g++ $RPM_BUILD_ROOT/env/usr/bin/g++
+install -s $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-gcc $RPM_BUILD_ROOT/env/usr/bin/gcc
for back in cc1 cc1plus; do
- install -D $RPM_BUILD_ROOT/inst%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back \
+ install -s -D $RPM_BUILD_ROOT/inst%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back \
$RPM_BUILD_ROOT/env%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back
done
libs=`for bin in $RPM_BUILD_ROOT/env/usr/bin/*; do \
@@ -350,7 +353,7 @@
# and prefer that on the assumption that it is a more generic one.
baselib=`echo "$lib" | sed 's,/[^/]*\(/[^/]*\)$,\1,'`
test -f "$baselib" && lib=$baselib
- install -D $lib $RPM_BUILD_ROOT/env$lib
+ install -s -D $lib $RPM_BUILD_ROOT/env$lib
done
rm -rf $RPM_BUILD_ROOT/inst
cd $RPM_BUILD_ROOT/env
@@ -370,6 +373,14 @@
/usr/share/icecream-envs
%changelog -n cross-hppa-gcc-icecream-backend
+* Tue May 30 2006 - rguenther@suse.de
+- Update to gcc-4_1-branch head. Fixes #22743.
+- Strip binaries and libs for the icecream backends.
+- Split libgfortran shared library into own package.
+- Build and package the Objective C++ frontend.
+- No longer package fastjar stuff.
+- Instead of reverting the fix for PR26757 apply the fix for PR27793.
+ [#179518]
* Mon May 29 2006 - rguenther@suse.de
- Revert patch for PR26757 which causes MPlayer build failures.
* Thu May 25 2006 - rguenther@suse.de
cross-i386-gcc-icecream-backend.spec: same change
cross-ia64-gcc-icecream-backend.spec: same change
cross-ppc-gcc-icecream-backend.spec: same change
cross-ppc64-gcc-icecream-backend.spec: same change
cross-s390-gcc-icecream-backend.spec: same change
cross-s390x-gcc-icecream-backend.spec: same change
cross-x86_64-gcc-icecream-backend.spec: same change
++++++ gcc.spec ++++++
--- /var/tmp/diff_new_pack.5mfhIp/_old 2006-06-04 15:22:56.000000000 +0200
+++ /var/tmp/diff_new_pack.5mfhIp/_new 2006-06-04 15:22:56.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package gcc (Version 4.1.1)
+# spec file for package gcc (Version 4.1.2_20060531)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -29,6 +29,7 @@
%define build_java 1
%endif
%define build_fortran 1
+%define build_objcp 1
BuildRequires: glibc-devel-32bit
%if %{build_ada}
BuildRequires: gcc-ada
@@ -84,8 +85,8 @@
%define biarch_targets x86_64 s390x ppc64 ppc
URL: http://gcc.gnu.org/
License: GPL
-Version: 4.1.1
-Release: 6
+Version: 4.1.2_20060531
+Release: 1
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%if %{gcc_for_opt}
@@ -105,7 +106,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
Source1: change_spec
-# svn diff -r111560:X
Patch1: bug-reporting.patch
Patch2: gcc-noalias-warn.diff
Patch5: boehm-gc-strict-aliasing.patch
@@ -128,7 +128,7 @@
Patch93: nvl161673.patch
Patch94: ppc-longdouble-vaarg-fix
Patch95: pr26399.patch
-Patch96: pr26757-revert.patch
+Patch96: pr27793.patch
# A set of patches from the RH srpm
Patch51: gcc41-ia64-stack-protector.patch
Patch55: gcc41-java-slow_pthread_self.patch
@@ -237,8 +237,9 @@
Autoreqprov: on
%description -n libgcc-64bit
-This is a re-packaged binary rpm. For the package source, please look
-for the source of the package without the "64bit" ending
+This rpm was re-packaged from libgcc-3.2.2-56, whose source rpm
+is gcc-3.2.2-56.src.rpm.
+(srcrep:0d3b68d75fbbf4c5837b7f63c9f8c066-gcc)
Libgcc is needed for dynamically linked C programs.
@@ -274,8 +275,9 @@
Autoreqprov: on
%description -n libstdc++-64bit
-This is a re-packaged binary rpm. For the package source, please look
-for the source of the package without the "64bit" ending
+This rpm was re-packaged from libstdc++-3.2.2-56, whose source rpm
+is gcc-3.2.2-56.src.rpm.
+(srcrep:0d3b68d75fbbf4c5837b7f63c9f8c066-gcc)
The standard C++ library, needed for dynamically linked C++ programs.
@@ -357,6 +359,21 @@
+%package obj-c++
+Summary: GNU Objective C++ Compiler
+Group: Development/Languages/Other
+Autoreqprov: on
+Requires: gcc-objc = %{version}-%{release}
+Requires: gcc-c++ = %{version}-%{release}
+Requires: libobjc = %{version}-%{release}
+
+%description obj-c++
+This package contains the GNU Objective C++ compiler. Objective C++ is
+an object oriented language, created by Next Inc. and used in their
+Nextstep OS. The source code is available in the gcc package.
+
+
+
%package -n cpp
Summary: The GCC Preprocessor
Group: Development/Languages/C and C++
@@ -460,6 +477,7 @@
Group: Development/Languages/Fortran
Autoreqprov: on
Requires: gcc = %{version}-%{release}
+Requires: libgfortran = %{version}-%{release}
%description fortran
This is the Fortran compiler of the GNU Compiler Collection (GCC).
@@ -475,6 +493,7 @@
Group: Development/Languages/Fortran
Autoreqprov: on
Requires: gcc = %{version}-%{release}
+Requires: libgfortran-64bit = %{version}-%{release}
Requires: glibc-devel-64bit
%description fortran-64bit
@@ -489,6 +508,39 @@
--------
The GCC team.
+%package -n libgfortran
+Summary: The GNU Fortran Compiler Runtime Library
+Group: Development/Languages/Fortran
+Autoreqprov: on
+
+%description -n libgfortran
+The runtime library needed to run programs compiled with the Fortran
+compiler of the GNU Compiler Collection (GCC).
+
+
+
+Authors:
+--------
+ The GCC team.
+
+%package -n libgfortran-64bit
+Summary: The GNU Fortran Compiler Runtime Library
+Group: Development/Languages/Fortran
+Autoreqprov: on
+
+%description -n libgfortran-64bit
+This is a re-packaged binary rpm. For the package source, please look
+for the source of the package without the "64bit" ending
+
+The runtime library needed to run programs compiled with the Fortran
+compiler of the GNU Compiler Collection (GCC).
+
+
+
+Authors:
+--------
+ The GCC team.
+
%package mudflap
Summary: The Mudflap Extension to GCC
Group: Development/Languages/C and C++
@@ -616,6 +668,9 @@
%if %{build_fortran}
languages=$languages,fortran
%endif
+%if %{build_objcp}
+languages=$languages,obj-c++
+%endif
%if %{build_java}
languages=$languages,java
%endif
@@ -973,6 +1028,12 @@
%endif
%endif
rm $RPM_BUILD_ROOT%{_mandir}/man1/jv-convert%{binsuffix}.1
+# fastjar is separate now
+rm $RPM_BUILD_ROOT%{_prefix}/bin/fastjar%{binsuffix}
+rm $RPM_BUILD_ROOT%{_prefix}/bin/grepjar%{binsuffix}
+rm $RPM_BUILD_ROOT%{_infodir}/fastjar.info*
+rm $RPM_BUILD_ROOT%{_mandir}/man1/fastjar%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/grepjar%{binsuffix}.1
%endif
rm $RPM_BUILD_ROOT%{_mandir}/man7/fsf-funding.7
rm $RPM_BUILD_ROOT%{_mandir}/man7/gfdl.7
@@ -1026,16 +1087,6 @@
%if !%{gcc_for_opt}
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcj.info.gz
%endif
-
-%post -n libgcj
-%if !%{gcc_for_opt}
-%install_info --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz
-%endif
-
-%postun -n libgcj
-%if !%{gcc_for_opt}
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz
-%endif
%if %{build_ada}
%post ada
@@ -1323,21 +1374,21 @@
%{libsubdir}/f951
%{mainlibdir}/libgfortran.a
%{mainlibdir}/libgfortran.la
-%{mainlibdir}/libgfortran.so*
+%{mainlibdir}/libgfortran.so
%{mainlibdir}/libgfortranbegin.a
%{mainlibdir}/libgfortranbegin.la
%if %{biarch}
%if %{build_primary_64bit}
%{mainlibdirbi32}/libgfortran.a
%{mainlibdirbi32}/libgfortran.la
-%{mainlibdirbi32}/libgfortran.so*
+%{mainlibdirbi32}/libgfortran.so
%{mainlibdirbi32}/libgfortranbegin.a
%{mainlibdirbi32}/libgfortranbegin.la
%else
%if !%{separate_bi64}
%{mainlibdirbi64}/libgfortran.a
%{mainlibdirbi64}/libgfortran.la
-%{mainlibdirbi64}/libgfortran.so*
+%{mainlibdirbi64}/libgfortran.so
%{mainlibdirbi64}/libgfortranbegin.a
%{mainlibdirbi64}/libgfortranbegin.la
%endif
@@ -1347,7 +1398,7 @@
%dir %{noflibdir}
%{noflibdir}/libgfortran.a
%{noflibdir}/libgfortran.la
-%{noflibdir}/libgfortran.so*
+%{noflibdir}/libgfortran.so
%{noflibdir}/libgfortranbegin.a
%{noflibdir}/libgfortranbegin.la
%endif
@@ -1361,10 +1412,33 @@
%defattr(-,root,root)
%{mainlibdirbi64}/libgfortran.a
%{mainlibdirbi64}/libgfortran.la
-%{mainlibdirbi64}/libgfortran.so*
+%{mainlibdirbi64}/libgfortran.so
%{mainlibdirbi64}/libgfortranbegin.a
%{mainlibdirbi64}/libgfortranbegin.la
%endif
+
+%files -n libgfortran
+%defattr(-,root,root)
+%{mainlibdir}/libgfortran.so.*
+%if %{biarch}
+%if %{build_primary_64bit}
+%{mainlibdirbi32}/libgfortran.so.*
+%else
+%if !%{separate_bi64}
+%{mainlibdirbi64}/libgfortran.so.*
+%endif
+%endif
+%endif
+%if %{build_nof}
+%dir %{noflibdir}
+%{noflibdir}/libgfortran.so.*
+%endif
+%if %{separate_bi64}
+
+%files -n libgfortran-64bit
+%defattr(-,root,root)
+%{mainlibdirbi64}/libgfortran.so.*
+%endif
%endif
%files mudflap
@@ -1499,6 +1573,12 @@
%defattr(-,root,root)
%{mainlibdirbi64}/libobjc.so.*
%endif
+%if %{build_objcp}
+
+%files obj-c++
+%defattr(-,root,root)
+%{libsubdir}/cc1objplus
+%endif
%if %{build_java}
%files java
@@ -1533,9 +1613,7 @@
%defattr(-,root,root)
%{_prefix}/bin/gcj-dbtool%{binsuffix}
%{_prefix}/bin/gij%{binsuffix}
-%{_prefix}/bin/grepjar%{binsuffix}
%{_prefix}/bin/jv-convert%{binsuffix}
-%{_prefix}/bin/fastjar%{binsuffix}
%{_prefix}/bin/grmic%{binsuffix}
%{_prefix}/bin/grmiregistry%{binsuffix}
%{_prefix}/share/java/libgcj-%{gcc_version}.jar
@@ -1593,13 +1671,8 @@
%endif
%endif
%endif
-%if !%{versionspecificlibs}
-%doc %{_infodir}/fastjar.info*.gz
-%endif
%doc %{_mandir}/man1/gij%{binsuffix}.1.gz
%doc %{_mandir}/man1/gcj-dbtool%{binsuffix}.1.gz
-%doc %{_mandir}/man1/grepjar%{binsuffix}.1.gz
-%doc %{_mandir}/man1/fastjar%{binsuffix}.1.gz
%doc %{_mandir}/man1/grmic%{binsuffix}.1.gz
%doc %{_mandir}/man1/grmiregistry%{binsuffix}.1.gz
# These files conflict with the normal Java packages
@@ -1704,6 +1777,14 @@
%endif
%changelog -n gcc
+* Tue May 30 2006 - rguenther@suse.de
+- Update to gcc-4_1-branch head. Fixes #22743.
+- Strip binaries and libs for the icecream backends.
+- Split libgfortran shared library into own package.
+- Build and package the Objective C++ frontend.
+- No longer package fastjar stuff.
+- Instead of reverting the fix for PR26757 apply the fix for PR27793.
+ [#179518]
* Mon May 29 2006 - rguenther@suse.de
- Revert patch for PR26757 which causes MPlayer build failures.
* Thu May 25 2006 - rguenther@suse.de
++++++ cross.spec.in ++++++
--- gcc/cross.spec.in 2006-05-06 11:54:34.000000000 +0200
+++ gcc/cross.spec.in 2006-05-31 17:51:07.000000000 +0200
@@ -13,6 +13,7 @@
%define build_ada 0
%define build_java 0
%define build_fortran 0
+%define build_objcp 0
%define build_nof 0
%define gcc_for_opt 0
@@ -41,12 +42,12 @@
make -C gcc DESTDIR=$RPM_BUILD_ROOT/inst install-driver install-common
# But the assembler comes from the cross-binutils, and hence is _not_
# named funnily, not even on ppc, so there we need the original target
-install -D %{_prefix}/bin/${ORIG_TARGET}-linux-as $RPM_BUILD_ROOT/env/usr/bin/as
-install $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-g++ $RPM_BUILD_ROOT/env/usr/bin/g++
-install $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-gcc $RPM_BUILD_ROOT/env/usr/bin/gcc
+install -s -D %{_prefix}/bin/${ORIG_TARGET}-linux-as $RPM_BUILD_ROOT/env/usr/bin/as
+install -s $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-g++ $RPM_BUILD_ROOT/env/usr/bin/g++
+install -s $RPM_BUILD_ROOT/inst%{_prefix}/bin/${BUILD_TARGET}-linux-gcc $RPM_BUILD_ROOT/env/usr/bin/gcc
for back in cc1 cc1plus; do
- install -D $RPM_BUILD_ROOT/inst%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back \
+ install -s -D $RPM_BUILD_ROOT/inst%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back \
$RPM_BUILD_ROOT/env%{_libdir}/gcc/${BUILD_TARGET}-linux/%gcc_version/$back
done
@@ -58,7 +59,7 @@
# and prefer that on the assumption that it is a more generic one.
baselib=`echo "$lib" | sed 's,/[^/]*\(/[^/]*\)$,\1,'`
test -f "$baselib" && lib=$baselib
- install -D $lib $RPM_BUILD_ROOT/env$lib
+ install -s -D $lib $RPM_BUILD_ROOT/env$lib
done
rm -rf $RPM_BUILD_ROOT/inst
cd $RPM_BUILD_ROOT/env
++++++ gcc.spec.in ++++++
--- gcc/gcc.spec.in 2006-05-29 16:20:30.000000000 +0200
+++ gcc/gcc.spec.in 2006-06-02 14:57:59.000000000 +0200
@@ -11,6 +11,13 @@
# norootforbuild
# icecream 0
+
+# PREFIX_FOR_OPT is the definition for _prefix
+# LIBDIR_FOR_OPT is the definition for _libdir
+@PREFIX_FOR_OPT@
+@LIBDIR_FOR_OPT@
+
+
# Run the testsuite if there's a file named RUN_TESTS in the source
%define run_tests %(test -f %_sourcedir/RUN_TESTS && echo 1 || echo 0)
@@ -32,6 +39,7 @@
%endif
%define build_fortran 1
+%define build_objcp 1
Name: gcc@gcc_suffix@
@@ -99,7 +107,7 @@
URL: http://gcc.gnu.org/
License: GPL
-Version: 4.1.1
+Version: 4.1.2_20060531
Release: 1
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
@@ -123,7 +131,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
Source1: change_spec
-# svn diff -r111560:X
Patch1: bug-reporting.patch
Patch2: gcc-noalias-warn.diff
Patch5: boehm-gc-strict-aliasing.patch
@@ -146,7 +153,7 @@
Patch93: nvl161673.patch
Patch94: ppc-longdouble-vaarg-fix
Patch95: pr26399.patch
-Patch96: pr26757-revert.patch
+Patch96: pr27793.patch
# A set of patches from the RH srpm
Patch51: gcc41-ia64-stack-protector.patch
Patch55: gcc41-java-slow_pthread_self.patch
@@ -320,6 +327,20 @@
The library for the GNU Objective C compiler.
+%package obj-c++
+Summary: GNU Objective C++ Compiler
+Group: Development/Languages/Other
+Autoreqprov: on
+Requires: gcc-objc@gcc_suffix@ = %{version}-%{release}
+Requires: gcc-c++@gcc_suffix@ = %{version}-%{release}
+Requires: libobjc@gcc_suffix@ = %{version}-%{release}
+
+%description obj-c++
+This package contains the GNU Objective C++ compiler. Objective C++ is an
+object oriented language, created by Next Inc. and used in their
+Nextstep OS. The source code is available in the gcc package.
+
+
%package -n cpp@gcc_suffix@
Summary: The GCC Preprocessor
Group: Development/Languages/C and C++
@@ -405,6 +426,7 @@
Group: Development/Languages/Fortran
Autoreqprov: on
Requires: gcc@gcc_suffix@ = %{version}-%{release}
+Requires: libgfortran@gcc_suffix@ = %{version}-%{release}
%description fortran
This is the Fortran compiler of the GNU Compiler Collection (GCC).
@@ -415,12 +437,33 @@
Group: Development/Languages/Fortran
Autoreqprov: on
Requires: gcc@gcc_suffix@ = %{version}-%{release}
+Requires: libgfortran@gcc_suffix@-64bit = %{version}-%{release}
Requires: glibc-devel-64bit
%description fortran-64bit
This is the Fortran compiler of the GNU Compiler Collection (GCC) for 64bit.
+%package -n libgfortran
+Summary: The GNU Fortran Compiler Runtime Library
+Group: Development/Languages/Fortran
+Autoreqprov: on
+
+%description -n libgfortran
+The runtime library needed to run programs compiled with the Fortran compiler
+of the GNU Compiler Collection (GCC).
+
+
+%package -n libgfortran-64bit
+Summary: The GNU Fortran Compiler Runtime Library
+Group: Development/Languages/Fortran
+Autoreqprov: on
+
+%description -n libgfortran-64bit
+The runtime library needed to run programs compiled with the Fortran compiler
+of the GNU Compiler Collection (GCC).
+
+
%package mudflap
Summary: The Mudflap Extension to GCC
Group: Development/Languages/C and C++
@@ -551,6 +594,9 @@
%if %{build_fortran}
languages=$languages,fortran
%endif
+%if %{build_objcp}
+languages=$languages,obj-c++
+%endif
%if %{build_java}
languages=$languages,java
%endif
@@ -923,6 +969,12 @@
%endif
%endif
rm $RPM_BUILD_ROOT%{_mandir}/man1/jv-convert%{binsuffix}.1
+# fastjar is separate now
+rm $RPM_BUILD_ROOT%{_prefix}/bin/fastjar%{binsuffix}
+rm $RPM_BUILD_ROOT%{_prefix}/bin/grepjar%{binsuffix}
+rm $RPM_BUILD_ROOT%{_infodir}/fastjar.info*
+rm $RPM_BUILD_ROOT%{_mandir}/man1/fastjar%{binsuffix}.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/grepjar%{binsuffix}.1
%endif
rm $RPM_BUILD_ROOT%{_mandir}/man7/fsf-funding.7
rm $RPM_BUILD_ROOT%{_mandir}/man7/gfdl.7
@@ -978,17 +1030,6 @@
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcj.info.gz
%endif
-%post -n libgcj@gcc_suffix@
-%if !%{gcc_for_opt}
-%install_info --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz
-%endif
-
-%postun -n libgcj@gcc_suffix@
-%if !%{gcc_for_opt}
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz
-%endif
-
-
%if %{build_ada}
%post ada
%if !%{gcc_for_opt}
@@ -1275,21 +1316,21 @@
%{libsubdir}/f951
%{mainlibdir}/libgfortran.a
%{mainlibdir}/libgfortran.la
-%{mainlibdir}/libgfortran.so*
+%{mainlibdir}/libgfortran.so
%{mainlibdir}/libgfortranbegin.a
%{mainlibdir}/libgfortranbegin.la
%if %{biarch}
%if %{build_primary_64bit}
%{mainlibdirbi32}/libgfortran.a
%{mainlibdirbi32}/libgfortran.la
-%{mainlibdirbi32}/libgfortran.so*
+%{mainlibdirbi32}/libgfortran.so
%{mainlibdirbi32}/libgfortranbegin.a
%{mainlibdirbi32}/libgfortranbegin.la
%else
%if !%{separate_bi64}
%{mainlibdirbi64}/libgfortran.a
%{mainlibdirbi64}/libgfortran.la
-%{mainlibdirbi64}/libgfortran.so*
+%{mainlibdirbi64}/libgfortran.so
%{mainlibdirbi64}/libgfortranbegin.a
%{mainlibdirbi64}/libgfortranbegin.la
%endif
@@ -1299,7 +1340,7 @@
%dir %{noflibdir}
%{noflibdir}/libgfortran.a
%{noflibdir}/libgfortran.la
-%{noflibdir}/libgfortran.so*
+%{noflibdir}/libgfortran.so
%{noflibdir}/libgfortranbegin.a
%{noflibdir}/libgfortranbegin.la
%endif
@@ -1313,10 +1354,33 @@
%defattr(-,root,root)
%{mainlibdirbi64}/libgfortran.a
%{mainlibdirbi64}/libgfortran.la
-%{mainlibdirbi64}/libgfortran.so*
+%{mainlibdirbi64}/libgfortran.so
%{mainlibdirbi64}/libgfortranbegin.a
%{mainlibdirbi64}/libgfortranbegin.la
%endif
+
+%files -n libgfortran
+%defattr(-,root,root)
+%{mainlibdir}/libgfortran.so.*
+%if %{biarch}
+%if %{build_primary_64bit}
+%{mainlibdirbi32}/libgfortran.so.*
+%else
+%if !%{separate_bi64}
+%{mainlibdirbi64}/libgfortran.so.*
+%endif
+%endif
+%endif
+%if %{build_nof}
+%dir %{noflibdir}
+%{noflibdir}/libgfortran.so.*
+%endif
+
+%if %{separate_bi64}
+%files -n libgfortran-64bit
+%defattr(-,root,root)
+%{mainlibdirbi64}/libgfortran.so.*
+%endif
%endif
%files mudflap
@@ -1452,6 +1516,14 @@
%{mainlibdirbi64}/libobjc.so.*
%endif
+
+%if %{build_objcp}
+%files obj-c++
+%defattr(-,root,root)
+%{libsubdir}/cc1objplus
+%endif
+
+
%if %{build_java}
%files java
%defattr(-,root,root)
@@ -1485,9 +1557,7 @@
%defattr(-,root,root)
%{_prefix}/bin/gcj-dbtool%{binsuffix}
%{_prefix}/bin/gij%{binsuffix}
-%{_prefix}/bin/grepjar%{binsuffix}
%{_prefix}/bin/jv-convert%{binsuffix}
-%{_prefix}/bin/fastjar%{binsuffix}
%{_prefix}/bin/grmic%{binsuffix}
%{_prefix}/bin/grmiregistry%{binsuffix}
%{_prefix}/share/java/libgcj-%{gcc_version}.jar
@@ -1545,13 +1615,8 @@
%endif
%endif
%endif
-%if !%{versionspecificlibs}
-%doc %{_infodir}/fastjar.info*.gz
-%endif
%doc %{_mandir}/man1/gij%{binsuffix}.1.gz
%doc %{_mandir}/man1/gcj-dbtool%{binsuffix}.1.gz
-%doc %{_mandir}/man1/grepjar%{binsuffix}.1.gz
-%doc %{_mandir}/man1/fastjar%{binsuffix}.1.gz
%doc %{_mandir}/man1/grmic%{binsuffix}.1.gz
%doc %{_mandir}/man1/grmiregistry%{binsuffix}.1.gz
# These files conflict with the normal Java packages
++++++ gcc41-fortran-where-opt.patch ++++++
--- /var/tmp/diff_new_pack.5mfhIp/_old 2006-06-04 15:22:56.000000000 +0200
+++ /var/tmp/diff_new_pack.5mfhIp/_new 2006-06-04 15:22:56.000000000 +0200
@@ -840,3 +840,24 @@
return gfc_finish_block (&block);
}
+Index: gcc-4_1-branch/gcc/fortran/trans-stmt.c
+===================================================================
+*** gcc-4_1-branch/gcc/fortran/trans-stmt.c (revision 114263)
+--- gcc-4_1-branch/gcc/fortran/trans-stmt.c (working copy)
+*************** gfc_conv_elemental_dependencies (gfc_se
+*** 260,266 ****
+ && fsym->attr.intent == INTENT_OUT
+ && arg->next->expr
+ && arg->next->expr->expr_type == EXPR_VARIABLE
+! && gfc_check_dependency (e, arg->next->expr, NULL, 0))
+ {
+ /* Make a local loopinfo for the temporary creation, so that
+ none of the other ss->info's have to be renormalized. */
+--- 260,266 ----
+ && fsym->attr.intent == INTENT_OUT
+ && arg->next->expr
+ && arg->next->expr->expr_type == EXPR_VARIABLE
+! && gfc_check_dependency (e, arg->next->expr, 1))
+ {
+ /* Make a local loopinfo for the temporary creation, so that
+ none of the other ss->info's have to be renormalized. */
++++++ micro-cross.spec.in ++++++
--- gcc/micro-cross.spec.in 2006-05-06 11:54:41.000000000 +0200
+++ gcc/micro-cross.spec.in 2006-05-31 17:52:14.000000000 +0200
@@ -23,6 +23,7 @@
%define build_ada 0
%define build_java 0
%define build_fortran 0
+%define build_objcp 0
%define build_nof 0
%define gcc_for_opt 0
++++++ pr26757-revert.patch -> pr27793.patch ++++++
--- gcc/pr26757-revert.patch 2006-05-29 16:20:05.000000000 +0200
+++ gcc/pr27793.patch 2006-06-02 14:57:18.000000000 +0200
@@ -1,203 +1,128 @@
-Revert the workaround for PR26757 (C++ frontend bug) because that
-causes PR27793 (random ICEs because of corrupt immediate use info).
+Andrew MacLeod