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



On Friday, February 28, 2003, at 05:06 AM, Andi Kleen wrote:


On Fri, Feb 28, 2003 at 01:49:13PM +0100, Andreas Schwab wrote:
Andi Kleen <ak at suse dot de> writes:

|> Jim Wilson <wilson at tuliptree dot org> writes:
|>
|> > while DWARF2 debug info is designed
|> > to be more compact than stabs,
|>
|> That's a joke isn't it?

You didn't read the whole message, did you?

I think I did. But I believe it is incorrect: the reason is that just the object files are much bigger too than with stabs, and these cannot be explained by "duplicated includes"

Agree. DWARF2 is bigger for single object file and GCC is slower producing it.

Using following spu example few months ago, I measured ~15% compile time slowdown and big increase in size with DWARF2 compared to STABS.

"spu --language c++ --files 1 --functions 20 --function-length 10 --lib-enums 2000 --enumerators 8 --lib-structs 1000 --fields 12 --lib-classes 800 --methods 20 --lib-functions 10000"

-Devang


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