* could not find partial DIE in cache
@ 2005-03-27 7:39 Bernardo Innocenti
2005-03-27 15:40 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Bernardo Innocenti @ 2005-03-27 7:39 UTC (permalink / raw)
To: gdb
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.
The library because it's *huge*, but I could make it
available for download by ftp.
I'm not familiar with reporting GDB bugs. I apologize
if the amount of detail I provide is inadequate to
properly analyze the bug. I can file a PR for the gnat
database if needed.
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: could not find partial DIE in cache
2005-03-27 7:39 could not find partial DIE in cache Bernardo Innocenti
@ 2005-03-27 15:40 ` Daniel Jacobowitz
2005-03-27 23:44 ` Bernardo Innocenti
2005-03-28 15:57 ` Manoj Iyer
0 siblings, 2 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2005-03-27 15:40 UTC (permalink / raw)
To: Bernardo Innocenti; +Cc: gdb
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: could not find partial DIE in cache
2005-03-27 15:40 ` Daniel Jacobowitz
@ 2005-03-27 23:44 ` Bernardo Innocenti
2005-03-27 23:48 ` Daniel Jacobowitz
2005-03-28 15:57 ` Manoj Iyer
1 sibling, 1 reply; 6+ messages in thread
From: Bernardo Innocenti @ 2005-03-27 23:44 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
Daniel Jacobowitz wrote:
> On Sun, Mar 27, 2005 at 09:39:39AM +0200, Bernardo Innocenti wrote:
>
>>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.
Could you please give a pointer to these patches?
I'm eager to test them.
> However, in this case it is almost certainly a bug in GCC. Does your
> snapshot include the fix for PR c++/19769?
It most probably didn't: the patch was applied to the 4.0
branch on 2005-03-23.
Yesterday's fedora-devel pakages for GCC 4.0 list this PR
as fixed in the RPM ChangeLog:
* Thu Mar 24 2005 Jakub Jelinek <jakub@redhat.com> 4.0.0-0.36
- update from CVS
- PRs c++/19769, c++/19980, c++/20147, c++/20147, c++/20461, c++/20463,
c++/20465, c++/20499, c++/20536, libfortran/18025, libgcj/11085,
libgcj/14892, libgcj/18083, libgcj/2641, libgcj/9854, libstdc++/20352,
libstdc++/20577, middle-end/20539, middle-end/20557, other/20564,
target/20166, target/20561
- fix PRE causing miscompilation of sudo (Daniel Berlin, #151632,
PR tree-optimization/20601)
- fix PR rtl-optimization/20532 (Alexandre Oliva)
I'm currently rebuilding a debug version of QT
with this new snapshot. Thankyou!
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: could not find partial DIE in cache
2005-03-27 23:44 ` Bernardo Innocenti
@ 2005-03-27 23:48 ` Daniel Jacobowitz
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2005-03-27 23:48 UTC (permalink / raw)
To: Bernardo Innocenti; +Cc: gdb
On Mon, Mar 28, 2005 at 01:45:12AM +0200, Bernardo Innocenti wrote:
> Daniel Jacobowitz wrote:
> >On Sun, Mar 27, 2005 at 09:39:39AM +0200, Bernardo Innocenti wrote:
> >
> >>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.
>
> Could you please give a pointer to these patches?
> I'm eager to test them.
One was posted earlier this month by Manoj; the other hasn't been
posted yet (been too busy...)
> >However, in this case it is almost certainly a bug in GCC. Does your
> >snapshot include the fix for PR c++/19769?
>
> It most probably didn't: the patch was applied to the 4.0
> branch on 2005-03-23.
>
> Yesterday's fedora-devel pakages for GCC 4.0 list this PR
> as fixed in the RPM ChangeLog:
>
> * Thu Mar 24 2005 Jakub Jelinek <jakub@redhat.com> 4.0.0-0.36
> - update from CVS
> - PRs c++/19769, c++/19980, c++/20147, c++/20147, c++/20461, c++/20463,
Yes, that's the one you need.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: could not find partial DIE in cache
2005-03-27 15:40 ` Daniel Jacobowitz
2005-03-27 23:44 ` Bernardo Innocenti
@ 2005-03-28 15:57 ` Manoj Iyer
2005-03-28 15:58 ` Daniel Jacobowitz
1 sibling, 1 reply; 6+ messages in thread
From: Manoj Iyer @ 2005-03-28 15:57 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: Bernardo Innocenti, gdb
Daniel,
Any chance that my patch will get a nod from the maintainers? I waiting
for approval to commit.
Thanks
-----
manjo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cogito ergo sum +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
On Sun, 27 Mar 2005, Daniel Jacobowitz wrote:
> 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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: could not find partial DIE in cache
2005-03-28 15:57 ` Manoj Iyer
@ 2005-03-28 15:58 ` Daniel Jacobowitz
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2005-03-28 15:58 UTC (permalink / raw)
To: Manoj Iyer; +Cc: Bernardo Innocenti, gdb
On Mon, Mar 28, 2005 at 09:37:38AM -0600, Manoj Iyer wrote:
>
> Daniel,
>
> Any chance that my patch will get a nod from the maintainers? I waiting
> for approval to commit.
I can't approve it; you should ping Elena again.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-03-28 15:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-27 7:39 could not find partial DIE in cache Bernardo Innocenti
2005-03-27 15:40 ` Daniel Jacobowitz
2005-03-27 23:44 ` Bernardo Innocenti
2005-03-27 23:48 ` Daniel Jacobowitz
2005-03-28 15:57 ` Manoj Iyer
2005-03-28 15:58 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox