This is the mail archive of the gcc@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: Huge Increase in Unstripped Executable Size G++ 2.95 to 3.2


nabeel at netzero dot com wrote:
Switching from G++ 2.95.3 to 3.2, increased the unstripped debug build
size from 14.0MB to 25.6MB. The stripped size is almost exactly the
same at 5.7MB.

To add to what Daniel said, in stabs, we have support for eliminating duplicate debug info for header files. That is, if a header file is included in multiple files, we can eliminate all but one copy of its debug info. Unfortunately, the same support for our DWARF2 debug info is still a work in progress. Thus, while DWARF2 debug info is designed to be more compact than stabs, our current implementation is not because we are missing an optimization present in our stabs support. This will eventually be fixed.


Jim


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