Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 163135

Summary: <sys-devel/binutils-2.17.50.0.9 - very slow linking object files containing dwarf2 symbols
Product: Gentoo Linux Reporter: Mark Purtill <gentoo>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
URL: http://sourceware.org/bugzilla/show_bug.cgi?id=3111
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Purtill 2007-01-21 21:41:54 UTC
There's a bug in binutils that causes ld to link very slowly with lots of object files compiled with -g.  (In my case, it takes a link that should take under a minute almost 10 minutes, which makes development rather unpleasant.)  The bug occurs in binutils-2.16.1-r3 and binutils-2.17, and is fixed by binutils-2.17.50.0.9.  The bug is reported upstream at <http://sourceware.org/bugzilla/show_bug.cgi?id=3111>.

Any chance the fix could be back-ported to binutils-2.16 or even binutils-2.17?  

Note: the bug is not present in binutils-2.15, but because glibc-2.4 requires binutils-2.16, it was not possible for me to downgrade.  However, portage let me downgrade, but then gcc couldn't link anything.  (If you find yourself in that position, you can temporarily edit /usr/src/lib.so, removing "AS_NEEDED ( /lib/ld-linux.so.2 )", to allow re-emerging binutils-2.16.)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-21 22:39:44 UTC
*** Bug 163139 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2007-01-28 05:19:54 UTC
i dont really see any self contained changes that translate to 2.17 let alone to 2.16

feel free to re-open with a patch to prove me wrong though