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

Bug#270271: marked as done (debug symbols in /usr/lib/crt1.o makes debugger unusable)



Your message dated Mon, 22 May 2006 16:42:59 +0200
with message-id <20060522144259.GA7181@henry.aurel32.net>
and subject line Bug#270271: debug symbols in /usr/lib/crt1.o makes debugger unusable
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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 ---
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 ---

Reply to: