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

Bug#637360: marked as done ([arm] backtrace() requires unwind information)



Your message dated Fri, 2 Sep 2011 22:20:37 +0200
with message-id <20110902202037.GE23646@hall.aurel32.net>
and subject line Re: Bug#637360: backtrace() doesn't work on armel
has caused the Debian Bug report #637360,
regarding [arm] backtrace() requires unwind information
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
637360: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637360
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.13-15
Severity: normal

Hello,

The test suite of ocaml-extunix 0.0.3-1 fails on armel because the
following program:

  #include <execinfo.h>

  int main() {
    void *buffer[100];
    return backtrace(buffer, 100);
  }

returns 0. It returns with a non-zero status (3 everywhere I've tried
myself) on all other release architectures.

Is that expected?


Cheers,

-- 
Stéphane

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin                      2.13-15    Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.6.1-6  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]         1.5.41     Debian configuration management sy
pn  glibc-doc                     <none>     (no description available)
ii  locales                       2.13-15    Embedded GNU C Library: National L

-- debconf information excluded



--- End Message ---
--- Begin Message ---
On Thu, Aug 11, 2011 at 01:47:01PM -0500, Jonathan Nieder wrote:
> Aurelien Jarno wrote:
> 
> > Backtrace code for ARM EABI has been added in glibc 2.11 [1], and is 
> > based on unwind information. -funwind-tables is therefore necessary to 
> > get it working, and then backtrace() is fully functional.
> >
> > I therefore don't see the need to tag this bug as wontfix.
> 
> Sure, I probably assumed too much.  Stéphane, does -funwind-tables
> take care of your needs?
> 

Given backtrace() works correctly when compiled with -funwind-tables, I
guess this bug can be closed. I am doing that with this mail, feel free
to reopen it if you disagree.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


--- End Message ---

Reply to: