This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Internal Error in GDB (was: ld includes entire archive (.a) when compiling .elf file)
- From: "Josh Keller" <jkeller at keytechinc dot com>
- To: "Daniel Jacobowitz" <drow at false dot org>
- Cc: <binutils at sourceware dot org>, "Reuben Johnston" <rjohnston at keytechinc dot com>
- Date: Fri, 7 Apr 2006 10:33:46 -0400
- Subject: RE: Internal Error in GDB (was: ld includes entire archive (.a) when compiling .elf file)
Is there any way that I can disable these messages so that I can debug
more easily?
-Josh
-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org]
Sent: Friday, April 07, 2006 10:18 AM
To: Josh Keller
Cc: binutils@sourceware.org; Reuben Johnston
Subject: Re: Internal Error in GDB (was: ld includes entire archive (.a)
when compiling .elf file)
On Fri, Apr 07, 2006 at 10:15:26AM -0400, Josh Keller wrote:
>
> Daniel, for some reason, when I turn on garbage collection, I get the
> following error (many, many times) when I run gdb:
>
> Internal error: pc 0x0 in read in psymtab, but not in symtab.
Code is being discarded, but not its debug information.
Alan Modra was doing some work on this, but ran into a snag, IIRC.
> I can still debug my program, but I get these errors all over the
place.
> I saw a thread back in 2002 titled (Internal error in GDB) initially
> posted by Steven Johnson. I'm not sure what the ultimate resolution
> was. Any ideas?
No relation to this problem most likely.
--
Daniel Jacobowitz
CodeSourcery