[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#270271: debug symbols in /usr/lib/crt1.o makes debugger unusable



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...

Regards,
-- gotom



Reply to: