This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Build break in runtime/staprun/unwind_data.c on powerpc
- From: Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>
- To: SystemTap <systemtap at sources dot redhat dot com>
- Date: Thu, 17 Apr 2008 14:08:18 +0530
- Subject: Re: Build break in runtime/staprun/unwind_data.c on powerpc
- References: <20080417081120.GB6949@in.ibm.com>
- Reply-to: ananth at in dot ibm dot com
On Thu, Apr 17, 2008 at 01:41:20PM +0530, Ananth N Mavinakayanahalli wrote:
> Hi,
>
> Today's SystemTap git causes a build break on powerpc:
>
> On a RHEL5 powerpc box using elfutils-0.131 (--with-elfutils option),
>
> /home/ananth/systap/systemtap-17apr/runtime/staprun/unwind_data.c:37:
> undefined reference to `dwarf_getelf'
>
> Even an explicit #include <elfutils/libdw.h> doesn't seem to fix the
> problem.
>
> Last week's snapshot builds without any errors.
>
> Martin, any ideas?
More info:
/usr/bin/ld: skipping incompatible lib-elfutils/libdw.so when searching for -ldw
/usr/bin/ld: skipping incompatible lib-elfutils/libdw.a when searching for -ldw
stapio-unwind_data.o: In function `get_module_unwind_data':
/home/ananth/systap/systemtap-17apr/runtime/staprun/unwind_data.c:37: undefined reference to `dwarf_getelf'
collect2: ld returned 1 exit status
make[2]: *** [stapio] Error 1
make[2]: Leaving directory `/home/ananth/systap/systemtap-17apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ananth/systap/systemtap-17apr'
make: *** [all] Error 2
Ananth