This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: could not find partial DIE in cache


On Sun, Mar 27, 2005 at 09:39:39AM +0200, Bernardo Innocenti wrote:
> Hello,
> 
> I've come across this internal-error:
> 
> ---cut---
> GNU gdb 6.3.0.20050323-cvs
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
> library "/lib/tls/libthread_db.so.1".
> (gdb) run
> Starting program: /home/bernie/src/grs/display/display
> ../../src-HEAD/gdb/dwarf2read.c:5446: internal-error: could not find 
> partial DIE in cache
> ---cut---
> 
> The bug also affects versions of GDB shipped by RedHat
> (6.3.0.0-1.3rh and 6.1post-1.20040607.43rh).
> 
> It happens with any application linked against libqt-mt.so.3.3.4,
> when such library is built with -g or -ggdb2.  I'm using
> a recent GCC 4.0 snapshot to build it.

Normally, this error is a bug in GDB; there's one queued patch for a
related problem, and I have another after that one is approved. 
However, in this case it is almost certainly a bug in GCC.  Does your
snapshot include the fix for PR c++/19769?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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