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: Daniel Jacobowitz <drow at false dot org>
- To: Josh Keller <jkeller at keytechinc dot com>
- Cc: binutils at sourceware dot org, Reuben Johnston <rjohnston at keytechinc dot com>
- Date: Fri, 7 Apr 2006 10:17:44 -0400
- Subject: Re: Internal Error in GDB (was: ld includes entire archive (.a) when compiling .elf file)
- References: <E736F3E26DE59146A2343541510255B579F3D5@mercury.keytechinc.com>
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