Very slow link times on debug versions of C++ program on x86_64. Includes oprofile of ld...
Jakub Jelinek
jakub@redhat.com
Wed Jun 20 16:02:00 GMT 2007
On Wed, Jun 20, 2007 at 09:19:39AM -0400, Talbot, George wrote:
> I've recently upgraded my machine here to an x86_64 box running Fedora
> Core 6 (7 came out a week after I installed doh!). I have a largish C++
> program that I compile in both a release (-O3 -DNDEBUG) and debug (-O0
> -ggdb3) versions that uses a lot of templates and stuff. Linking the
> release one is pretty quick...on the order of 10-20 seconds or so.
> However linking the debug version takes many minutes, and the CPU is
> pegged during the link.
That just sounds like BZ#3111, on FC6 try binutils-2.17.50.0.6-3.fc6
from FC6 updates-testing or F7 out of the box.
Jakub
More information about the Binutils
mailing list