[Ltrace-devel] [PATCH 0/1] arm, mips, ppc libunwind testers
Joe Damato
ice799 at gmail.com
Sun Nov 7 23:33:35 UTC 2010
List -
Need some help testing this patch from people with arm, mips, and ppc (32/64)
systems. This patch applies to my current master.
This patch attempts to point the linker at the correct libunwind architecture
specific DSO.
To test this you'll need to build/install libunwind for your platform.
Something like this should work:
$ mkdir scratch && cd scratch/
$ wget http://download.savannah.gnu.org/releases/libunwind/libunwind-0.99.tar.gz
$ tar zxfsv libunwind-0.99.tar.gz
$ ./configure && make && sudo make install
Followed by:
$ git clone https://github.com/ice799/ltrace.git
$ patch -p1 < patch-file
$ ./autogen.sh && ./configure --with-libunwind | grep unwind
The output should list "yes" for everything. Here's what it looks like on x86:
checking libunwind.h usability... yes
checking libunwind.h presence... yes
checking for libunwind.h... yes
checking libunwind-ptrace.h usability... yes
checking libunwind-ptrace.h presence... yes
checking for libunwind-ptrace.h... yes
checking whether to use libunwind support... yes
checking for backtrace in -lunwind... yes
checking for _UPT_create in -lunwind-ptrace... yes
checking for _Ux86_init_remote in -lunwind-x86... yes
The key thing here being the last line.
Thanks.
Joe Damato (1):
Fix libunwind support for other architectures
configure.ac | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
More information about the Ltrace-devel
mailing list