[Bug c++/43601] Enormous increase in DLL object files size in 4.5

vz-gcc at zeitlins dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 14 16:12:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43601

--- Comment #45 from Vadim Zeitlin <vz-gcc at zeitlins dot org> 2010-10-14 16:12:00 UTC ---
Here are the files.

Notice that about half of the size of the MSVC object file is taken by debug
information ("/Zi" option was used when compiling it) while all gcc versions
contain no debug information at all. More details about the file contents can
be obtained using dumpbin Microsoft utility which I'd be glad to run for you if
you don't have it. Here is just an overview for now:

Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file build/msw/vc_mswudll/base/appbase.obj

File Type: COFF OBJECT

  Summary

           4 .CRT$XCU
          29 .bss
         3E9 .data
       345D0 .debug$S
          50 .debug$T
        68D2 .drectve
         E67 .rdata
         8BC .rdata$r
         178 .sxdata
        8A34 .text
        13D3 .text$x
          18 .text$yc
          14 .text$yd
        14B4 .xdata$x



More information about the Gcc-bugs mailing list