public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Linking of C++ code takes a long time
@ 2006-05-31 23:59 Christian Nolte
  2006-06-23 11:21 ` Nick Clifton
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Nolte @ 2006-05-31 23:59 UTC (permalink / raw)
  To: binutils

-----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-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-12 20:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-31 23:59 Linking of C++ code takes a long time Christian Nolte
2006-06-23 11:21 ` Nick Clifton
2006-07-12 20:20   ` Christian Nolte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).