Hello community,
here is the log from the commit of package gcc43
checked in at Fri Oct 26 20:37:27 CEST 2007.
--------
--- gcc43/gcc43.changes 2007-10-22 14:47:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/gcc43/gcc43.changes 2007-10-25 17:24:11.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Oct 24 17:41:04 CEST 2007 - rguenther@suse.de
+
+- Add patch for PR33870, sqlite miscompile.
+- Add patch for PR33868, memory usage regression on glibc testsuite.
+
+-------------------------------------------------------------------
libgcj43.changes: same change
New:
----
cross-icecream.spec.in
pr33868.diff
pr33870.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gcc43.spec ++++++
--- /var/tmp/diff_new_pack.B23594/_old 2007-10-26 20:33:58.000000000 +0200
+++ /var/tmp/diff_new_pack.B23594/_new 2007-10-26 20:33:58.000000000 +0200
@@ -102,7 +102,7 @@
Url: http://gcc.gnu.org/
License: GPL v3 or later
Version: 4.3.0_20071016
-Release: 3
+Release: 5
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%define binsuffix -4.3
@@ -134,6 +134,8 @@
Patch25: pr27880.diff
Patch26: pr33168.diff
Patch27: pr33608.diff
+Patch28: pr33870.diff
+Patch29: pr33868.diff
# A set of patches from the RH srpm
Patch51: gcc41-ia64-stack-protector.patch
Patch55: gcc41-java-slow_pthread_self.patch
@@ -1241,6 +1243,8 @@
%patch25
%patch26
%patch27
+%patch28
+%patch29
%patch51
%patch55
%patch57
@@ -1339,32 +1343,40 @@
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
+#%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+#%else
+# --enable-threads=posix \
+#%endif
+# --enable-shared \
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
../configure \
-%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
-%else
- --enable-threads=posix \
-%endif
- --prefix=%{_prefix} --with-local-prefix=/usr/local \
- --infodir=%{_infodir} --mandir=%{_mandir} \
- --libdir=%{_libdir} --libexecdir=%{_libdir} \
- --enable-languages=$languages $ENABLE_CHECKING \
+ --prefix=%{_prefix} \
+ --with-local-prefix=/usr/local \
+ --infodir=%{_infodir} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --enable-languages=$languages \
+ $ENABLE_CHECKING \
--with-gxx-include-dir=/usr/include/c++/%{gcc_version} \
- --enable-ssp --disable-libssp \
+ --enable-ssp \
+ --disable-libssp \
--with-bugurl="http://bugs.opensuse.org/" \
--with-pkgversion="SUSE Linux" \
%if !%{build_libjava}
--disable-libgcj \
%else
--with-ecj-jar=%{libsubdir}/ecj.jar \
- --enable-java-awt=gtk --enable-gtk-cairo \
+ --enable-java-awt=gtk \
+ --enable-gtk-cairo \
%if !%{biarch_libjava}
--disable-libjava-multilib \
%endif
%endif
- --with-slibdir=/%{_lib} --with-system-zlib \
- --enable-shared --enable-__cxa_atexit \
+ --with-slibdir=/%{_lib} \
+ --with-system-zlib \
+ --enable-__cxa_atexit \
--enable-libstdcxx-allocator=new \
--disable-libstdcxx-pch \
%if 0%{?gcc_target_arch:1}
@@ -1373,7 +1385,10 @@
--with-ld=/opt/cross/%{TARGET_ARCH}-linux/bin/ld \
--with-sysroot=/ \
%endif
- --disable-nls --disable-shared \
+%if 0%{?build_static:1}
+ --disable-shared \
+%endif
+ --disable-nls \
--target=%{CONFIGURE_TARGET} \
%else
--program-suffix=%{binsuffix} \
@@ -2194,6 +2209,9 @@
%doc testresults/*.log
%endif
%changelog
+* Wed Oct 24 2007 - rguenther@suse.de
+- Add patch for PR33870, sqlite miscompile.
+- Add patch for PR33868, memory usage regression on glibc testsuite.
* Thu Oct 18 2007 - rguenther@suse.de
- Add back patch for PR27880. Fixes missing _Unwind_GetIPInfo
symbol in static libgcc on ia64.
++++++ libgcj43.spec ++++++
--- /var/tmp/diff_new_pack.B23594/_old 2007-10-26 20:33:58.000000000 +0200
+++ /var/tmp/diff_new_pack.B23594/_new 2007-10-26 20:33:58.000000000 +0200
@@ -112,9 +112,9 @@
# COMMON-BEGIN
%define biarch_targets x86_64 s390x powerpc64 powerpc
Url: http://gcc.gnu.org/
-License: GPL v2 or later; LGPL v2 or later
+License: GPL v2 or later; LGPL v2.1 or later
Version: 4.3.0_20071016
-Release: 4
+Release: 7
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%define binsuffix -4.3
@@ -146,6 +146,8 @@
Patch25: pr27880.diff
Patch26: pr33168.diff
Patch27: pr33608.diff
+Patch28: pr33870.diff
+Patch29: pr33868.diff
# A set of patches from the RH srpm
Patch51: gcc41-ia64-stack-protector.patch
Patch55: gcc41-java-slow_pthread_self.patch
@@ -505,6 +507,8 @@
%patch25
%patch26
%patch27
+%patch28
+%patch29
%patch51
%patch55
%patch57
@@ -603,32 +607,40 @@
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
+#%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+#%else
+# --enable-threads=posix \
+#%endif
+# --enable-shared \
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
../configure \
-%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
-%else
- --enable-threads=posix \
-%endif
- --prefix=%{_prefix} --with-local-prefix=/usr/local \
- --infodir=%{_infodir} --mandir=%{_mandir} \
- --libdir=%{_libdir} --libexecdir=%{_libdir} \
- --enable-languages=$languages $ENABLE_CHECKING \
+ --prefix=%{_prefix} \
+ --with-local-prefix=/usr/local \
+ --infodir=%{_infodir} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --enable-languages=$languages \
+ $ENABLE_CHECKING \
--with-gxx-include-dir=/usr/include/c++/%{gcc_version} \
- --enable-ssp --disable-libssp \
+ --enable-ssp \
+ --disable-libssp \
--with-bugurl="http://bugs.opensuse.org/" \
--with-pkgversion="SUSE Linux" \
%if !%{build_libjava}
--disable-libgcj \
%else
--with-ecj-jar=%{libsubdir}/ecj.jar \
- --enable-java-awt=gtk --enable-gtk-cairo \
+ --enable-java-awt=gtk \
+ --enable-gtk-cairo \
%if !%{biarch_libjava}
--disable-libjava-multilib \
%endif
%endif
- --with-slibdir=/%{_lib} --with-system-zlib \
- --enable-shared --enable-__cxa_atexit \
+ --with-slibdir=/%{_lib} \
+ --with-system-zlib \
+ --enable-__cxa_atexit \
--enable-libstdcxx-allocator=new \
--disable-libstdcxx-pch \
%if 0%{?gcc_target_arch:1}
@@ -637,7 +649,10 @@
--with-ld=/opt/cross/%{TARGET_ARCH}-linux/bin/ld \
--with-sysroot=/ \
%endif
- --disable-nls --disable-shared \
+%if 0%{?build_static:1}
+ --disable-shared \
+%endif
+ --disable-nls \
--target=%{CONFIGURE_TARGET} \
%else
--program-suffix=%{binsuffix} \
@@ -1032,6 +1047,9 @@
%doc testresults/*.log
%endif
%changelog
+* Wed Oct 24 2007 - rguenther@suse.de
+- Add patch for PR33870, sqlite miscompile.
+- Add patch for PR33868, memory usage regression on glibc testsuite.
* Thu Oct 18 2007 - rguenther@suse.de
- Add back patch for PR27880. Fixes missing _Unwind_GetIPInfo
symbol in static libgcc on ia64.
++++++ change_spec ++++++
--- gcc43/change_spec 2007-10-19 17:23:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/gcc43/change_spec 2007-10-26 11:35:07.000000000 +0200
@@ -1,11 +1,10 @@
#!/bin/bash
+do_icecream=0
+do_cross_static=0
+do_cross_shared=0
rm -f gcc*.spec cross*.spec cross*.changes
-if [ -f gcc-mainline.changes ] ; then
- mv gcc-mainline.changes gcc.changes
-fi
-
# Default is to generate the normal gcc package
# unless a parameter is given. In case that it is '-*',
# that parameter will be used as suffix for the package name
@@ -68,22 +67,39 @@
test -f gcc$base_ver.changes && ln -f gcc$base_ver.changes libgcj$base_ver.changes
-# early out for non-default gcc
-exit 0
# disabled: mips, sparc
+if test "$do_icecream" = 1 ; then
for arch in alpha hppa arm i386 x86_64 s390 s390x ppc ppc64 ia64; do
- { sed -n -e '1,/COMMON-BEGIN/p' cross.spec.in
+ { sed -n -e '1,/COMMON-BEGIN/p' cross-icecream.spec.in
sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' $outfile
- sed -n -e '/COMMON-END/,$p' cross.spec.in; } |
+ sed -n -e '/COMMON-END/,$p' cross-icecream.spec.in; } |
sed -e "s#@cross_arch@#$arch#" > cross-$arch-gcc-icecream-backend.spec
test -f gcc*.changes && ln -f gcc*.changes cross-$arch-gcc-icecream-backend.changes
done
+fi
- ## non-icecream cross compilers.
- export outfile
- for arch in avr; do
- cross_arch=$arch sh micro-cross.spec.in > cross-$arch-gcc.spec
+export outfile
+# avr is static but wants the non-static name
+if test "$do_cross_shared" = 1 ; then
+ echo '%define build_static 1' > cross-avr-gcc.spec
+ cross_arch=avr name_suffix="" sh cross.spec.in >> cross-avr-gcc.spec
+ test -f gcc*.changes && ln -f gcc*.changes cross-avr-gcc.changes
+fi
+if test "$do_cross_shared" = 1 ; then
+ # shared cross
+ for arch in spu; do
+ cross_arch=$arch name_suffix="" sh cross.spec.in > cross-$arch-gcc.spec
test -f gcc*.changes && ln -f gcc*.changes cross-$arch-gcc.changes
done
+fi
+if test "$do_cross_static" = 1 ; then
+ # static cross
+# for arch in spu i586 x86_64 s390x s390 sparc powerpc powerpc64; do
+ for arch in spu; do
+ echo '%define build_static 1' > cross-$arch-gcc-static.spec
+ cross_arch=$arch name_suffix="-static" sh cross.spec.in >> cross-$arch-gcc-static.spec
+ test -f gcc*.changes && ln -f gcc*.changes cross-$arch-gcc-static.changes
+ done
+fi
exit 0
++++++ cross.spec.in ++++++
--- gcc43/cross.spec.in 2007-10-19 17:23:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/gcc43/cross.spec.in 2007-10-26 11:26:59.000000000 +0200
@@ -1,3 +1,15 @@
+#! /bin/sh
+
+#
+# call this via pre_checkin.sh
+#
+# 2005-05-09, jw@suse.de
+
+test -z "$cross_arch" && echo 1>&2 "Error: $0 needs environment variable 'cross_arch'"
+test -z "$outfile" && echo 1>&2 "Error: $0 needs environment variable 'outfile'"
+cross_arch_cpu=`echo $cross_arch | sed -e 's/\([^-]*\)-\?.*/\1/'`
+
+cat << EOF
#
# spec file for package gcc (Version 4.0.1)
#
@@ -13,72 +25,63 @@
%define build_cp 1
%define build_ada 0
%define build_java 0
+%define build_libjava 0
%define build_fortran 0
%define build_objc 0
%define build_objcp 0
%define build_nof 0
%define gcc_for_opt 0
+%define gcc_target_arch $cross_arch
+
+%if "$cross_arch" == "spu"
+%define build_cp 0
+%endif
+
+Name: cross-$cross_arch-gcc$name_suffix
+BuildRequires: bison flex mpfr-devel
+BuildRequires: cross-$cross_arch_cpu-binutils
+%if "$cross_arch" == "spu"
+BuildRequires: cross-$cross_arch_cpu-newlib
+Requires: cross-$cross_arch_cpu-newlib
+%endif
+Requires: cross-$cross_arch_cpu-binutils
+# Suffixed gcc conflicts with unsuffixed gcc
+%if "$name_suffix" == ""
+%else
+Conflicts: cross-$cross_arch_cpu-gcc
+%endif
-Name: cross-@cross_arch@-gcc-icecream-backend
-BuildRequires: cross-@cross_arch@-binutils glibc-devel-32bit
-ExclusiveArch: ppc ppc64 %ix86 x86_64 ia64
%define _prefix /opt/cross
-%define _binary_payload w.ufdio
-# COMMON-BEGIN
-# COMMON-END
+EOF
+sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' $outfile | sed -n -e '1,/%description/p'
+cat << EOF
+This compiler supports the C language on $cross_arch microprocessors.
+Also install cross-$cross_arch-binutils and $cross_arch-libc.
+
+
+EOF
+sed -n -e '/%description/,$p' $outfile | sed -n -e '/COMMON-BEGIN/,/COMMON-END/p'
+
+cat << EOF
-make %{?jobs:-j%jobs} all-gcc TARGET-gcc="cc1 cc1plus gcc-cross g++ native"
+make %{?jobs:-j%jobs}
%install
cd obj-%{GCCDIST}
-rm -rf $RPM_BUILD_ROOT
-BUILD_TARGET=%{BUILD_TARGET}
-ORIG_TARGET=$BUILD_TARGET
-# We play funny tricks with the ppc compiler. We want to have it biarch,
-# which the powerpc compiler itself doesn't support. So we actually
-# configure it as powerpc64 target compiler (i.e. a native cross compiler
-# even on ppc), with the default code generation to be powerpc32.
-# But this doesn't hide the fact that it's still a cross compiler which
-# shows also in various paths
-test "$BUILD_TARGET" == powerpc && BUILD_TARGET=powerpc64
-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 -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 -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 \
- ldd $bin | sed -n '\,^[^/]*\(/[^ ]*\).*,{ s//\1/; p; }' ;\
-done | sort -u `
-for lib in $libs; do
- # Check wether the same library also exists in the parent directory,
- # 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 -s -D $lib $RPM_BUILD_ROOT/env$lib
-done
-rm -rf $RPM_BUILD_ROOT/inst
-cd $RPM_BUILD_ROOT/env
-tar cvzf ../%{name}_%{_arch}.tar.gz *
-cd ..
-mkdir -p usr/share/icecream-envs
-mv %{name}_%{_arch}.tar.gz usr/share/icecream-envs
-rpm -q --changelog glibc > usr/share/icecream-envs/%{name}_%{_arch}.glibc
-rpm -q --changelog binutils > usr/share/icecream-envs/%{name}_%{_arch}.binutils
-rm -r env
+make install DESTDIR=\$RPM_BUILD_ROOT
+# ln -s $cross_arch-elf-gcc \$RPM_BUILD_ROOT/%{_prefix}/bin/$cross_arch-gcc
+rm -rf \$RPM_BUILD_ROOT/%{_prefix}/share
+rm \$RPM_BUILD_ROOT/%{_libdir}/libiberty.a
+# The libgcc.a that is not inside an avr* subdirectory is for avr2.
+# rm \$RPM_BUILD_ROOT/%{_libdir}/gcc/*/*/{libgcc.a,libgcov.a}
+rmdir \$RPM_BUILD_ROOT/%{_prefix}/include
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf \$RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-/usr/share/icecream-envs
+%{_prefix}
-%changelog -n cross-@cross_arch@-gcc-icecream-backend
+EOF
++++++ gcc.spec.in ++++++
--- gcc43/gcc.spec.in 2007-10-22 14:45:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/gcc43/gcc.spec.in 2007-10-26 11:33:06.000000000 +0200
@@ -152,6 +152,8 @@
Patch25: pr27880.diff
Patch26: pr33168.diff
Patch27: pr33608.diff
+Patch28: pr33870.diff
+Patch29: pr33868.diff
# A set of patches from the RH srpm
Patch51: gcc41-ia64-stack-protector.patch
Patch55: gcc41-java-slow_pthread_self.patch
@@ -779,6 +781,8 @@
%patch25
%patch26
%patch27
+%patch28
+%patch29
%patch51
%patch55
%patch57
@@ -887,32 +891,40 @@
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
+#%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
+#%else
+# --enable-threads=posix \
+#%endif
+# --enable-shared \
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
../configure \
-%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
-%else
- --enable-threads=posix \
-%endif
- --prefix=%{_prefix} --with-local-prefix=/usr/local \
- --infodir=%{_infodir} --mandir=%{_mandir} \
- --libdir=%{_libdir} --libexecdir=%{_libdir} \
- --enable-languages=$languages $ENABLE_CHECKING \
+ --prefix=%{_prefix} \
+ --with-local-prefix=/usr/local \
+ --infodir=%{_infodir} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
+ --enable-languages=$languages \
+ $ENABLE_CHECKING \
--with-gxx-include-dir=/usr/include/c++/%{gcc_version} \
- --enable-ssp --disable-libssp \
+ --enable-ssp \
+ --disable-libssp \
--with-bugurl="http://bugs.opensuse.org/" \
--with-pkgversion="SUSE Linux" \
%if !%{build_libjava}
--disable-libgcj \
%else
--with-ecj-jar=%{libsubdir}/ecj.jar \
- --enable-java-awt=gtk --enable-gtk-cairo \
+ --enable-java-awt=gtk \
+ --enable-gtk-cairo \
%if !%{biarch_libjava}
--disable-libjava-multilib \
%endif
%endif
- --with-slibdir=/%{_lib} --with-system-zlib \
- --enable-shared --enable-__cxa_atexit \
+ --with-slibdir=/%{_lib} \
+ --with-system-zlib \
+ --enable-__cxa_atexit \
--enable-libstdcxx-allocator=new \
--disable-libstdcxx-pch \
%if 0%{?gcc_target_arch:1}
@@ -921,7 +933,10 @@
--with-ld=/opt/cross/%{TARGET_ARCH}-linux/bin/ld \
--with-sysroot=/ \
%endif
- --disable-nls --disable-shared \
+%if 0%{?build_static:1}
+ --disable-shared \
+%endif
+ --disable-nls \
--target=%{CONFIGURE_TARGET} \
%else
--program-suffix=%{binsuffix} \
++++++ pr33868.diff ++++++
Index: gcc/var-tracking.c
===================================================================
--- gcc/var-tracking.c (revision 129601)
+++ gcc/var-tracking.c (revision 129602)
@@ -1221,9 +1221,11 @@ variable_union (void **slot, void *data)
&& REG_P (node->loc)
&& REGNO (node2->loc) == REGNO (node->loc))
|| rtx_equal_p (node2->loc, node->loc)))
- if (node2->init < node->init)
- node2->init = node->init;
- break;
+ {
+ if (node2->init < node->init)
+ node2->init = node->init;
+ break;
+ }
}
if (node || node2)
dst = unshare_variable (set, dst, VAR_INIT_STATUS_UNKNOWN);
@@ -2209,8 +2211,13 @@ dump_variable (void **slot, void *data A
int i;
location_chain node;
- fprintf (dump_file, " name: %s\n",
+ fprintf (dump_file, " name: %s",
IDENTIFIER_POINTER (DECL_NAME (var->decl)));
+ if (dump_flags & TDF_UID)
+ fprintf (dump_file, " D.%u\n", DECL_UID (var->decl));
+ else
+ fprintf (dump_file, "\n");
+
for (i = 0; i < var->n_var_parts; i++)
{
fprintf (dump_file, " offset %ld\n",
++++++ pr33870.diff ++++++
2007-10-23 Richard Guenther