Extremelly long link times with gcc3.x

Alan Modra amodra@bigpond.net.au
Fri Jan 24 13:10:00 GMT 2003


On Fri, Jan 24, 2003 at 09:40:13AM +0100, Manuel Serrano wrote:
> (gdb) bt
> #0  0x40075911 in htab_find_slot_with_hash () from /usr/lib/libbfd-2.13.90.0.10.so
> #1  0x400401fc in _bfd_merge_section () from /usr/lib/libbfd-2.13.90.0.10.so
> #2  0x400403ce in _bfd_merge_sections () from /usr/lib/libbfd-2.13.90.0.10.so
> #3  0x40054ffd in _bfd_elf_merge_sections () from /usr/lib/libbfd-2.13.90.0.10.so

OK, that pinpoints the new gcc/ld feature that causes long link times
for you.  Compiling with -fno-merge-constants should restore normal
link times.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Gcc-bugs mailing list