binutils: linking of c++ code takes a long time

Christian Nolte ch.nolte at fh-wolfenbuettel.de
Wed May 17 11:34:05 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I have a problem regarding linking of c++ code using a FC5-system. It is
a normal sized (about 100 classes) autotools-project (CXXFLAGS=-O0 -g3),
built in debug-mode. When it comes to the linking stage, linking takes
about 1.30 minutes (2.4 GHz Athlon). Using a FC4-system with all the
latest updates, linking takes about 10 seconds (1.8 GHz Athlon), this is
also true for another ArchLinux-system and a WindowsXP-system (using the
M$ linking-tools) I've tested. The linking time is reproducible slow on
a second FC5-system (1.8 GHz Intel dual-core CPU).

First I thought that there could be a binutils issue and I tried a
downgrade of binutils-2.16.91.0.6-5 (FC5) to binutils-2.15.94.0.2.2-2
(FC4) but this did not solve the problem. The second thing I tried was
disabling SELinux but this also did not solve this matter. Removing the
compiler-flag "-g3" has no effect too.

Perhaps someone of you has an idea what could be the problem here.

Best regards
Christian

- --
Christian Nolte

key : http://www.noltec.org/christian-nolte.asc
or  : www.keyserver.net
- ----------------------------------------------------------------------
The Information Revolution will be fought on the command line.
- ----------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEawotCNjA0nfhW7wRAsM2AKCZVg4Q5EVgLnyrxh3aZPHdrcNIDgCgoHVo
z368YAmq26SbNmQfIuPuHlo=
=wuB4
-----END PGP SIGNATURE-----




More information about the users mailing list