This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]