From: Daniel Jacobowitz <drow@mvista.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: carlton@math.stanford.edu, pkoning@equallogic.com,
gdb@sources.redhat.com
Subject: Re: psymtab/symtab error
Date: Mon, 16 Dec 2002 18:26:00 -0000 [thread overview]
Message-ID: <20021217022749.GA11044@nevyn.them.org> (raw)
In-Reply-To: <200212170215.gBH2FbD12856@duracef.shout.net>
On Mon, Dec 16, 2002 at 08:15:37PM -0600, Michael Elizabeth Chastain wrote:
> Paul Koning wrote:
>
> > I don't know. I ran into this with gcc 3.0.1, NetBSD i386 host,
> > NetBSD MIPS target.
>
> Yikes. gcc 3.0.4 had many bugs with C++ debugging information,
> particularly with templates.
>
> And the symbol `_ZN9CFreeListI7CVolumeE6m_baseE' demangles to
> `CFreeList<CVolume>::m_base', which is definitely a template
> symbol (probably a member, from the name).
>
> I am assuming here that your gcc 3.0.1 on NetBSD MIPS will have
> about the same symbol table code as my gcc 3.0.4 on native
> i686-pc-linux-gnu.
>
> I recommend that you upgrade to gcc 3.1 or gcc 3.1.1 or gcc 3.2 or
> gcc 3.2.1. gcc 3.2.1 would be the best but any of them are much better
> than gcc 3.0.4. Eschew the CVS versions of gcc, they are not measurably
> better than gcc 3.2.1 at this time and in some ways they are worse.
>
> If you can't upgrade gcc, you can try building your whole program
> with "-gdwarf-2" and see if that helps. If that doesn't help any,
> building the whole program with "-gstabs+" and see if that helps.
> -gdwarf-2 is the best debugging format for C++, and -gstabs+ is
> second best.
These options are not available with his tools versions; it's mdebug or
bust. DWARF-2 didn't start working until 3.2 or so, and stabs until
binutils 2.12.1 or so.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-12-17 2:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-16 18:15 Michael Elizabeth Chastain
2002-12-16 18:26 ` Daniel Jacobowitz [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-14 14:50 Paul Koning
2002-11-14 21:49 ` Jim Blandy
2002-11-15 7:32 ` Paul Koning
2002-12-16 11:41 ` David Carlton
2002-12-16 17:00 ` Paul Koning
2002-12-16 17:05 ` Daniel Jacobowitz
2002-12-16 17:09 ` David Carlton
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=20021217022749.GA11044@nevyn.them.org \
--to=drow@mvista.com \
--cc=carlton@math.stanford.edu \
--cc=gdb@sources.redhat.com \
--cc=mec@shout.net \
--cc=pkoning@equallogic.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