This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld 2.13.2.1 taking ~37 minutes to link file
- From: Ken Faiczak <kfaiczak at SANDVINE dot com>
- To: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Fri, 21 Feb 2003 13:54:38 -0500
- Subject: ld 2.13.2.1 taking ~37 minutes to link file
For our embedded system (mips-wrs-vxworks)
the final image is linked once -r
it then munches the tmp.o that is produced to get
symbols and ctor/dtor/eh_frame stuff
and then performs the final link and locate it
Upgrading from 2.11.2 to 2.13.2.1 takes the final link from ~30s to
37 minutes.
tracking it done somewhat
in elf32_mips_discard_info()
it spends all this time go through the .pdr section
calling elf_reloc_symbol_deleted_p()
the raw size is 798912
if I remove the .pdr section which our embedded system does not
use anyway the link goes back to ~30s.
It seems this is needed for gdb to be able to do stack tracing etc..
so it would be nice to have but @ 30+minutes
Any thoughts as to why this is so slow.
System is
binutils-2.13.2.1
cygwin 1.3.19
Win 2K