Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Long link time

Long link time

2003-11-19       - By kadreg

 Back
Hello,

I 'm compiling an huge application on redhat. On my old 7.3 with a gcc
3.0, the link phase take about 5 minutes.

Now, on redhat 9 with gcc 3.2.2, the link of the same application, with
the same parameters (approximately, only -g ) and on the same model of
computer take an hour. I attached a gdb to ld and did a backtrace to see
the callstack to see where is he.

Each time i tried it, it is in the function _bfd_merge_section. I try
some research, and I found this :

http://gcc.gnu.org/ml/gcc-bugs/2003-01/msg01403.html

But, if I restart the link with the -fno-merge-constants, I don 't see
any speed difference. I attach my gdb, I see the same kind of backtrace.
Just notice i don 't spend time in htab_find_slot_with_hash, as a
difference with the other case.

Is anyone can see what can be the reason of that speed difference, and
how can I speed up my linking ?   

Jerome Pequery