On Monday 09 May 2005 10:09 am, Nathan Sidwell wrote: > Christian Parpart wrote: > > I speak of times where gcc3.4 took up to a minute to link > > (libmake/autoconf/libtool based library) our library, and now, using gcc4 > > (which is unfortunately a requirement, obviousely) takes MORE than 9 > > minutes to link; > > This is, er, 'odd'. You've not really provided enough information > though. Here are some questions, > > 1) what system are you using? Gentoo Linux on ~amd64, software up2date > 2) are you using the same binutils/libmak/autoconf/libtool with both 3.4 > and 4.0? yes > 3) do you know of any other piece of configuration that might have changed? yes, nothing changed. I just switch from gcc 3.4.3 profile to 4.0 profile and the same way back. > 4) how are you invoking the linker? using libtool, the whole library is automake/autoconf/libtool driven. > 5) what sort of application are you linking? How many libraries? Are the > libraries the same, or have some of those been upgraded (and perhaps > brought more dependencies with them)? one library is the target, it finally consists of hundreds of c++ object files, though, the target (.so) is indeed somehow rather big, but again, the linking time wasn't an issue with gcc 3.x the deps actually look like below: trapni@battousai .libs $ ldd libswl-0.4.so.0.4.0 libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaab92b000) librt.so.1 => /lib/librt.so.1 (0x00002aaaaba40000) libdl.so.2 => /lib/libdl.so.2 (0x00002aaaabb49000) libattr.so.1 => /lib/libattr.so.1 (0x00002aaaabc4d000) libacl.so.1 => /lib/libacl.so.1 (0x00002aaaabd50000) libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x00002aaaabe57000) libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00002aaaabfa7000) libstdc++.so.6 => //usr/lib/gcc/x86_64-pc-linux-gnu/4.0.0-beta20050402/libstdc++.so.6 (0x00002aaaac0aa000) libm.so.6 => /lib/libm.so.6 (0x00002aaaac2b1000) libc.so.6 => /lib/libc.so.6 (0x00002aaaac438000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaac671000) /lib64/ld-linux-x86-64.so.2 (0x0000555555555000) libnsl.so.1 => /lib/libnsl.so.1 (0x00002aaaac79c000) Regards, Christian Parpart. -- Netiquette: http://www.ietf.org/rfc/rfc1855.txt 17:41:57 up 48 days, 6:48, 0 users, load average: 1.20, 1.80, 1.82
Attachment:
pgpE0LHLLfyx4.pgp
Description: PGP signature