serious (5x) link-time regression in 3.3.5-12 on ia64
Hi Mathias, Gerhard and others, I want to report a nasty performance regression in 3.3.5-12. Moving from: gcc version 3.3.5 (Debian 1:3.3.5-11) to: gcc version 3.3.5 (Debian 1:3.3.5-12) leads to a large reduction in C++ software build speeds, due to something that apparently makes 'ld' spend much, much more time than it previously did. I reproduced this problem going backwards and forwards between these versions by commands like: dpkg -i g++-3.3_3.3.5-11_ia64.deb gcc-3.3-base_3.3.5-11_ia64.deb gcc-3.3_3.3.5-11_ia64.deb so, as far as I understand, neither libstdc++ nor binutils changed. How bad is the problem? Trying to build the LLVM compiler suite, (say, version 1.4 from http://llvm.cs.uiuc.edu/releases/ ) on a 2-way IA64 system with a simple ./configure; time make -j2 with gcc 3.3.5-11 gives: real 1048.03 user 1979.93 sys 54.37 but with gcc 3.3.5-12 gives: real 1641.14 user 3037.64 sys 49.62 Nasty! The build takes 60% longer with 3.3.5-12, and while I haven't timed it accurately, the time spent in linking has _greatly_ increased, by a factor of at least 5x, perhaps 10x. LLVM is fairly "normal" and portable C++, though it is a large source base. (not quite mozilla-sized, though) Unfortunately, build times from (gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-12)) are more or less the same as those of 3.3.5-12, i.e. slow. Again, components of LLVM take literally minutes to link on a rather snappy Itanium system. I have not tested older versions of 3.4 to see if these too have the performance regression from 3.3.5-11. I would appreciate it if you could bring this to the attention of the relevant people, and I hope I'm posting this in the right place! If anyone wants an even more painless way of reproducing this problem, please contact me and I will provide a tarball that you can simply unpack, configure, make. I'd also appreciate it if someone could confirm exactly what has changed between the 3.3.5-11 and 3.3.5-12 packages of gcc, gcc-base and g++. diffing gcc-3.3_3.3.5-11.diff and gcc-3.3_3.3.5-12.diff, I can't see anything obviously responsible for this regression, so I wonder if perhaps some sort of changed environment on whatever machine built gcc-3.3.5-12 might be responsible for this regression. Finally, note that this is all on ia64. I imagine it is likely that this regression is platform specific, but the only Debian systems I have ready access to are ia64 ones, so I can't test this. Many thanks in advance, Duraid -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[Bug rtl-optimization/323] optimized code gives strange floating point results
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-29 14:17 --- *** Bug 20674 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#302033: dpkg-architecture: Specified GNU system type i386-linux does not match gcc system type i486-linux-gnu
Package: gcc-snapshot Version: 20050319-1 Severity: normal While building mpich2 from sources using gcc-snapshot, I am getting the following warnings. dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation) dpkg-architecture: warning: Specified GNU system type i386-linux does not match gcc system type i486-linux-gnu. To reproduce the problem 1) LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH PATH=/usr/lib/gcc-snapshot/bin:$PATH 2) wget \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/libmpich2-1.0_1.0.1-4_i386.deb \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2-dev_1.0.1-4_i386.deb \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2-doc_1.0.1-4_i386.deb \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2-mpd_1.0.1-4_i386.deb \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2-mpe_1.0.1-4_i386.deb \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1-4.diff.gz \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1-4.dsc \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1-4_i386.changes \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1-4_i386.deb \ http://torvalds.cs.mtsu.edu/~zach/debian/1.0.1/mpich2_1.0.1.orig.tar.gz 3) dpkg-source -x mpich2_1.0.1-4.dsc 4) cd mpich2-1.0.1/ 5) dpkg-buildpackage -rfakeroot At this point there will be warnings as follows: dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation) dpkg-architecture: warning: Specified GNU system type i386-linux does not matchgcc system type i486-linux-gnu. dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation) dpkg-architecture: warning: Specified GNU system type i386-linux does not matchgcc system type i486-linux-gnu. dpkg-buildpackage: host architecture is i386 dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation) dpkg-architecture: warning: Specified GNU system type i386-linux does not matchgcc system type i486-linux-gnu. dpkg-architecture: warning: Unknown gcc system type i486-linux-gnu, falling back to default (native compilation) dpkg-architecture: warning: Specified GNU system type i386-linux does not matchgcc system type i486-linux-gnu. fakeroot debian/rules clean dh_testdir dh_testroot -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.9-1-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages gcc-snapshot depends on: ii binutils 2.15-5 The GNU assembler, linker and bina ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi ii libatk1.0-0 1.8.0-3The ATK accessibility toolkit ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libc6-dev 2.3.2.ds1-20 GNU C Library: Development Librari ii libglib2.0-0 2.6.3-1The GLib library of C routines ii libgmp3 4.1.4-1Multiprecision arithmetic library ii libgtk2.0-0 2.6.2-4The GTK+ graphical user interface ii libpango1.0-0 1.8.1-1Layout and rendering of internatio ii libxtst6 4.3.0.dfsg.1-8 X Window System event recording an ii xlibs 4.3.0.dfsg.1-8 X Window System client libraries m ii zlib1g1:1.2.2-4 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Results for 4.0.0 20050326 (prerelease) (Debian 4.0-0pre9) testsuite on sparc-unknown-linux-gnu
LAST_UPDATED: Sat Mar 26 07:33:44 UTC 2005 === acats tests === FAIL: c32001e FAIL: c52011a FAIL: c64105b FAIL: c95086b FAIL: cd2b11a FAIL: cd2b11b FAIL: cxa4006 FAIL: cxa4017 === acats Summary === # of expected passes2312 # of unexpected failures8 Native configuration is sparc-unknown-linux-gnu === g++ tests === Running target unix XPASS: g++.old-deja/g++.other/init5.C execution test FAIL: g++.old-deja/g++.warn/compare1.C (test for warnings, line 11) FAIL: g++.old-deja/g++.warn/compare1.C (test for warnings, line 24) FAIL: g++.old-deja/g++.warn/compare1.C (test for excess errors) === g++ Summary === # of expected passes10793 # of unexpected failures3 # of unexpected successes 1 # of expected failures 70 # of unsupported tests 89 /home/doko/gcc/4.0/gcc-4.0-4.0ds9/build/gcc/testsuite/../g++ version 4.0.0 20050326 (prerelease) (Debian 4.0-0pre9) === gcc tests === Running target unix WARNING: program timed out. FAIL: gcc.c-torture/compile/20001226-1.c -O3 -g (test for excess errors) WARNING: program timed out. FAIL: gcc.c-torture/compile/20001226-1.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/2009-2.c -O1 (test for excess errors) === gcc Summary === # of expected passes32883 # of unexpected failures3 # of expected failures 102 # of untested testcases 28 # of unsupported tests 505 /home/doko/gcc/4.0/gcc-4.0-4.0ds9/build/gcc/xgcc version 4.0.0 20050326 (prerelease) (Debian 4.0-0pre9) === gfortran tests === Running target unix XPASS: gfortran.dg/ret_pointer_1.f90 -O0 execution test XPASS: gfortran.dg/ret_pointer_1.f90 -O1 execution test XPASS: gfortran.dg/ret_pointer_1.f90 -O2 execution test XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer execution test XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer -funroll-loops execution test XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -g execution test FAIL: gfortran.dg/g77/6177.f -O0 execution test FAIL: gfortran.dg/g77/6177.f -O1 execution test FAIL: gfortran.dg/g77/6177.f -O2 execution test FAIL: gfortran.dg/g77/6177.f -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/g77/6177.f -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/g77/6177.f -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/g77/6177.f -O3 -g execution test FAIL: gfortran.dg/g77/6177.f -Os execution test FAIL: gfortran.dg/g77/cabs.f -O0 execution test FAIL: gfortran.dg/g77/cabs.f -O1 execution test FAIL: gfortran.dg/g77/cabs.f -O2 execution test FAIL: gfortran.dg/g77/cabs.f -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/g77/cabs.f -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/g77/cabs.f -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/g77/cabs.f -O3 -g execution test FAIL: gfortran.dg/g77/cabs.f -Os execution test FAIL: gfortran.dg/g77/f90-intrinsic-mathematical.f -O0 execution test FAIL: gfortran.dg/g77/f90-intrinsic-mathematical.f -O1 execution test FAIL: gfortran.dg/g77/f90-intrinsic-mathematical.f -O2 execution test FAIL: gfortran.dg/g77/f90-intrinsic-mathematical.f -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/g77/f90-intrinsic-mathematical.f -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/g77/f90-intrinsic-mathematical.f -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/g77/f90-intrinsic-mathematical.f -O3 -g execution test FAIL: gfortran.dg/g77/f90-intrinsic-mathematical.f -Os execution test FAIL: gfortran.dg/g77/f90-intrinsic-numeric.f -O0 execution test FAIL: gfortran.dg/g77/f90-intrinsic-numeric.f -O1 execution test FAIL: gfortran.dg/g77/f90-intrinsic-numeric.f -O2 execution test FAIL: gfortran.dg/g77/f90-intrinsic-numeric.f -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/g77/f90-intrinsic-numeric.f -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/g77/f90-intrinsic-numeric.f -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/g77/f90-intrinsic-numeric.f -O3 -g execution test FAIL: gfortran.dg/g77/f90-intrinsic-numeric.f -Os execution test FAIL: gfortran.fortran-torture/execute/cmplx.f90 execution, -O0 FAIL: gfortran.fortran-torture/execute/cmplx.f90 execution, -O1 FAIL: gfortran.fortran-torture/execute/cmplx.f90 execution, -O2 FAIL: gfortran.fortran-torture/execute/cmplx.f90 execution, -O3 -fomit-frame-pointer FAIL: gfortran.fortran-torture/execute/cmplx.f90 execution,