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: user-space tracing on Debian... or..?


corpaul <c.bezemer@tudelft.nl> writes:

> Unfortunately, using a RHEL distr is not possible for me as the application I
> want to probe does not work well on RHEL distros.
> [...]
> /usr/lib/libdynDwarf.so.8.0: undefined reference to
> `dwarf_get_fde_info_for_cfa_reg3'
> /usr/lib/libsymtabAPI.so.8.0: undefined reference to `dwarf_errmsg'
> /usr/lib/libsymtabAPI.so.8.0: undefined reference to `dwarf_dieoffset'
> /usr/lib/libsymtabAPI.so.8.0: undefined reference to `dwarf_lowpc'
> [...]

That suggests to me that dyninst was not linked quite right, it's
missing -ldwarf.  See "ldd /usr/lib/libsymtabAPI.so.8.0" - it should
list some libdwarf.so file.

To fix that, could try rebuilding dyninst more correctly, or adding
-ldwarf to the systemtap stapdyn/Makefile stapdyn_LDADD line, or
perhaps using 
% env LD_PRELOAD=/usr/lib/libdwarf.so.something stap


- FChE


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