This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Extremelly long link times with gcc3.x


On Fri, 24 Jan 2003 23:16:26 +1030
Alan Modra <amodra@bigpond.net.au> wrote:

> 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.
You are correct. Using -fno-merge-constants the link time is about 1 second
instead of 1000 seconds! Many thanks...

-- 
Manuel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]