This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Linking of C++ code takes a long time


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

Hi!

I have a problem regarding linking of c++ code using a Fedora Core 5
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$ linker and compiler) 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. Removing the
compiler-flag "-g3" has no effect too. Furthermore I have noticed that
during linking the CPU-load is only at about 80%. So I guess that there
is some I/O is going on which slows everything down.

Perhaps someone of you has an idea what could be the problem here and
what I could try to solve this issue.

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

iD8DBQFEfchhCNjA0nfhW7wRAi77AKCbLpem6ocvI3ZGRHxvoHzfB7PoxwCfV1jC
OMGTcOxj9qEp3ycoz0cf5jo=
=ATga
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]