------- Comment #3 from andy314 at gmail dot com 2006-09-15 18:13 ------- I am also experiencing extreamly slow link times with GCC 4.1 (shipping with Suse 10.1) as opposed to link times I got with previous versions. The application uses a lot of templates/STL and the final complied binary is 340MB unstripped, 13MB stripped. ld takes 100% CPU for 9 minutes when linking this binary (with gcc 3.2 and ld 2.14.90.0.4 on a Red-Hat linux, it takes 20 sec).
Version information: >> gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=i586-suse-linux Thread model: posix gcc version 4.1.0 (SUSE Linux) >> ld --version GNU ld version 2.16.91.0.5 20051219 (SUSE Linux) Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28967