--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: debug symbols in /usr/lib/crt1.o makes debugger unusable
- From: Matthias Grimm <matthias.grimm@htp-tel.de>
- Date: Mon, 6 Sep 2004 14:53:34 +0200
- Message-id: <200409061453.35591.matthias.grimm@htp-tel.de>
Package: libc6-dev
Version: 2.3.2-ds1-13
Severity: important
If I try to debug my programs with ddd I got following error message:
../sysdeps/powerpc/powerpc32/elf/start.S: Source not found
This is caused by unnecessary debug symbols in /usr/lib/crt1.o,
/usr/lib/crti.o, /usr/lib/crtn.o, /usr/lib/gcrt1.o, /usr/lib/Mcrt1.o
and /usr/lib/Scrt1.o which are not part of older libraries (for eg. libc6-dev
of woody)
A simple 'strip -d' on the mentioned object files solved the problem.
Best Regards
Matthias
My system:
Linux powerbook 2.6.7 #4 Sat Jul 10 21:20:42 CEST 2004 ppc GNU/Linux
libc6: 2.3.2.ds1-13
gcc: 4:3.3.3-2
ddd: 1:3.3.9-3
--- End Message ---
--- Begin Message ---
- To: GOTO Masanori <gotom@debian.or.jp>
- Cc: Matthias Grimm <matthias.grimm@htp-tel.de>, 270271-done@bugs.debian.org
- Subject: Re: Bug#270271: debug symbols in /usr/lib/crt1.o makes debugger unusable
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Mon, 22 May 2006 16:42:59 +0200
- Message-id: <20060522144259.GA7181@henry.aurel32.net>
- In-reply-to: <81isa0lzzm.wl@omega.webmasters.gr.jp>
- References: <200409061453.35591.matthias.grimm@htp-tel.de> <818yayo3nl.wl@omega.webmasters.gr.jp> <200409261931.13649.matthias.grimm@htp-tel.de> <81isa0lzzm.wl@omega.webmasters.gr.jp>
On Mon, Sep 27, 2004 at 08:20:45PM +0900, GOTO Masanori wrote:
> At Sun, 26 Sep 2004 19:31:13 +0200,
> Matthias Grimm wrote:
> > > Matthias Grimm wrote:
> > > > If I try to debug my programs with ddd I got following error message:
> > > >
> > > > ../sysdeps/powerpc/powerpc32/elf/start.S: Source not found
> > > >
> > > > This is caused by unnecessary debug symbols in /usr/lib/crt1.o,
> > > > /usr/lib/crti.o, /usr/lib/crtn.o, /usr/lib/gcrt1.o, /usr/lib/Mcrt1.o
> > > > and /usr/lib/Scrt1.o which are not part of older libraries (for eg.
> > > > libc6-dev of woody)
> > > >
> > > > A simple 'strip -d' on the mentioned object files solved the problem.
> > >
> > > I can debug my program on ppc with both gdb and ddd. Please provide
> > > us the concrete example to show the actual problem. If not, I'll
> > > close it.
> >
> > Hi,
> > The problem has gone. It seemed to be a problem of mixed compiler versions
> > (3.3.3 and 2.95). I attached a small program (ppc binary + source) for
> > demonstration. If you open this with ddd you will get the error message I
> > reported. If you look into the binary you will see different gcc version
> > numbers.
> >
> > I recompiled the program with gcc 3.3.3 and everything works now.
>
> I have no idea. If your program compiled with gcc 2.95 does not work,
> why don't you doubt gcc 2.95 problem? If your program works fine with
> gcc 3.3.3, I think this bug can be closed...
>
The user told it works, well with gcc 3.3.3, so closing the bug.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
--- End Message ---