bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/17673] New: Linking stabs produces huge binaries


From: kde at carewolf dot com
Subject: [Bug gold/17673] New: Linking stabs produces huge binaries
Date: Wed, 03 Dec 2014 11:46:16 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17673

            Bug ID: 17673
           Summary: Linking stabs produces huge binaries
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at google dot com
          Reporter: kde at carewolf dot com
                CC: ian at airs dot com

In QtWebKit we use the stabs format instead of dwarf2 on older gcc versions
that doesn't support dwarf4, we do this to reduce how much memory is used when
linking webkit (linking with dwarf2 using the traditional gnu ld used 11
gigabytes of memory). 

After Qt switched to using the gold linker when available, this has produced
counter productive results as not only do we not save any memory during linking
stabs object files with gold (we could live with that though), but gold
produces huge debug binaries. Where qtwebkit with stabs linked with gnu ld
produces debug libraries of 800MByte, and dwarf4 linked with gold 700Mbytes,
linking stabs with gold produces debug libraries over 2Gbytes in size.

If gold doesn't really support the stabs format, I would have preferred it
refused to link the object files over producing libraries so brokenly huge.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]