-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 bill perkins wrote: >> Christian Nolte wrote: >>> 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 >>> >>> >> >> > Hi, Christian, > can you tell us what else your system is doing? i.e. run "top" before > and during the make process of your project, and see what is taking all > the CPU time? > Hello Bill, sorry for the delay. Here is the output of top at different times during the process of compiling and linking the code. BTW the libs ld has to link together are: - -lGL -lGLU -lboost_filesystem -lboost_date_time -lode -lxerces-c - -lCgGL -lCg -lrt -lvorbisfile -lvorbis -lm -logg -lalut -lopenal - -lmagic -lIL -lpython2.4 -lruby -lpthread Before doing make: - --- top - 16:07:59 up 6:42, 4 users, load average: 0.63, 0.39, 0.23 Tasks: 139 total, 1 running, 138 sleeping, 0 stopped, 0 zombie Cpu(s): 4.0% us, 1.3% sy, 0.0% ni, 94.4% id, 0.0% wa, 0.3% hi, 0.0% si, 0.0% st Mem: 1556104k total, 1495260k used, 60844k free, 242340k buffers Swap: 2000336k total, 180k used, 2000156k free, 701980k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 14669 nolte 15 0 84984 15m 9.8m S 2.7 1.0 0:02.35 gnome-terminal 8145 root 15 0 60104 38m 9m S 2.0 2.5 19:48.02 Xorg 15527 nolte 16 0 2124 1036 792 R 0.3 0.1 0:00.08 top 1 root 16 0 1988 668 580 S 0.0 0.0 0:00.71 init - --- During make: - --- Tasks: 150 total, 3 running, 147 sleeping, 0 stopped, 0 zombie Cpu(s): 69.5% us, 29.8% sy, 0.0% ni, 0.0% id, 0.7% wa, 0.0% hi, 0.0% si, 0.0% st Mem: 1556104k total, 1444164k used, 111940k free, 196528k buffers Swap: 2000336k total, 180k used, 2000156k free, 690324k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 16073 nolte 25 0 11952 3280 1644 R 3.0 0.2 0:00.09 cc1plus 8145 root 15 0 60568 34m 10m S 1.7 2.3 19:58.78 Xorg 15959 nolte 16 0 14284 11m 640 S 1.0 0.7 0:01.30 make 1458 root 15 0 0 0 0 D 0.7 0.0 0:01.79 kjournald 8302 nolte 15 0 22088 5880 4616 S 0.3 0.4 0:02.07 gnome-power-man 12202 nolte 16 0 100m 38m 26m S 0.3 2.5 3:02.89 amarokapp 1 root 16 0 1988 668 580 S 0.0 0.0 0:00.71 init - --- During linking: - --- Tasks: 150 total, 2 running, 148 sleeping, 0 stopped, 0 zombie Cpu(s): 79.6% us, 19.7% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.7% hi, 0.0% si, 0.0% st Mem: 1556104k total, 1520888k used, 35216k free, 88488k buffers Swap: 2000336k total, 180k used, 2000156k free, 794320k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17140 nolte 25 0 91448 87m 1012 R 90.7 5.8 1:09.72 ld 8500 nolte 16 0 63548 30m 12m S 6.0 2.0 5:02.35 beagled-helper 8145 root 15 0 60792 34m 10m S 1.0 2.3 20:06.16 Xorg 8264 nolte 16 0 173m 87m 16m S 0.7 5.8 2:41.72 beagled 1458 root 16 0 0 0 0 S 0.3 0.0 0:02.19 kjournald 12202 nolte 16 0 100m 38m 26m S 0.3 2.5 3:02.93 amarokapp 16638 nolte 16 0 2124 1044 792 R 0.3 0.1 0:00.34 top 1 root 16 0 1988 668 580 S 0.0 0.0 0:00.71 init 2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 - --- 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 iD8DBQFEhY85CNjA0nfhW7wRAp34AKD1U+JLlOj7Y159QR89P8ONJ1OYewCeP3zK GMCPDJFsp3HE70j8xtRdTYw= =MW1H -----END PGP SIGNATURE----- -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list