Build break in runtime/staprun/unwind_data.c on powerpc

Ananth N Mavinakayanahalli ananth@in.ibm.com
Thu Apr 17 16:33:00 GMT 2008


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



More information about the Systemtap mailing list