From: David Taylor <dtaylor@emc.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: Jean-Rene Peulve <jr.peulve@wanadoo.fr>, gdb@sources.redhat.com
Subject: stabs vs dwarf (was: Re: Wrong address for static function in linux module )
Date: Wed, 12 Apr 2006 16:36:00 -0000 [thread overview]
Message-ID: <200604121538.k3CFc9Mm005686@mailhub.lss.emc.com> (raw)
In-Reply-To: Your message of "Tue, 11 Apr 2006 10:40:02 EDT." <20060411144002.GA27443@nevyn.them.org>
> Date: Tue, 11 Apr 2006 10:40:02 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> On Tue, Apr 11, 2006 at 04:31:32PM +0200, Jean-Rene Peulve wrote:
>
> > What do you recommend to use rather than stabs ?
>
> DWARF-2.
DWARF might be better for some things, but compactness is not one of
them.
Until dwarf gets smaller or some other compelling reason arises, I
suspect that many people will stay with STABS. DWARF is very
voluminous by comparison to STABS.
I recently did builds of our software 3 ways --
. stabs
. dwarf-2
. dwarf-2 with dup elimination
Ignoring the debug information, the executable files were identical
(of course). And the ``dwarf-2 with dup elimination'' ones were
typically 20-30 percent smaller than the dwarf-2 ones built without
specifying -feliminate-dwarf2-dups. But, the sizes of the ``dwarf-2
with dup elimination'' executable files was 1.7 to 9.2 times the
sizes of the corresponding stabs executable files.
A full build tree (build products only, no sources) is 8.7 GB with
STABS, but 24.6 GB when built with -gdwarf-2 -feliminate-dwarf2-dups.
David
--
David Taylor
dtaylor@emc.com
next prev parent reply other threads:[~2006-04-12 15:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-11 13:33 Wrong address for static function in linux module Jean-Rene Peulve
2006-04-11 13:38 ` Daniel Jacobowitz
2006-04-11 13:45 ` Jean-Rene Peulve
2006-04-11 13:55 ` Daniel Jacobowitz
2006-04-11 14:41 ` Jean-Rene Peulve
2006-04-11 15:05 ` Daniel Jacobowitz
2006-04-12 11:38 ` Jean-Rene Peulve
2006-04-12 16:36 ` David Taylor [this message]
2006-04-13 7:02 ` stabs vs dwarf (was: Re: Wrong address for static function in linux module ) Mark Kettenis
2006-04-13 8:26 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200604121538.k3CFc9Mm005686@mailhub.lss.emc.com \
--to=dtaylor@emc.com \
--cc=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=jr.peulve@wanadoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox