From: Benjamin Kosnik <bkoz@redhat.com>
To: gcc-bugs@gcc.gnu.org, gdb@sources.redhat.com
Subject: -feliminate-dwarf2-dups unusable?
Date: Tue, 17 Dec 2002 13:08:00 -0000 [thread overview]
Message-ID: <200212172107.gBHL7ax07371@fillmore.constant.com> (raw)
I've been experimenting with -gdwarf-2 -feliminate-dwarf2-dups in libstdc++.
This combination of flags reduces the shared binary by 400k.
-g -O2
-rwxrwxr-x 1 bkoz bkoz 4.0M libstdc++.so.5.0.2*
-gdwarf-2 -feliminate-dwarf2-dups -O2
-rwxrwxr-x 1 bkoz bkoz 3.6M libstdc++.so.5.0.2*
The build and testsuite complete without incident, but then when I try to
debug, I get:
(gdb) file a.out
Reading symbols from a.out...DW_FORM_strp pointing outside of .debug_str section
This is with mainline gdb, and the dcarlton branch, with top-of-tree
gcc, on x86/linux.
Any ideas?
-benjamin
next reply other threads:[~2002-12-17 21:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-17 13:08 Benjamin Kosnik [this message]
2002-12-17 13:20 ` Elena Zannoni
2002-12-17 13:56 ` Benjamin Kosnik
2002-12-17 14:01 ` Elena Zannoni
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=200212172107.gBHL7ax07371@fillmore.constant.com \
--to=bkoz@redhat.com \
--cc=gcc-bugs@gcc.gnu.org \
--cc=gdb@sources.redhat.com \
/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