This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: user-space tracing on Debian... or..?
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: corpaul <c dot bezemer at tudelft dot nl>
- Cc: systemtap at sourceware dot org
- Date: Thu, 28 Mar 2013 10:25:47 -0400
- Subject: Re: user-space tracing on Debian... or..?
- References: <1363106084419-225167 dot post at n7 dot nabble dot com> <84obeo8jbs dot fsf at sauna dot l dot org> <1363160027043-225252 dot post at n7 dot nabble dot com> <20130313142814 dot GA2263 at redhat dot com> <1363355658749-225525 dot post at n7 dot nabble dot com> <y0m1ubgg0hg dot fsf at fche dot csb> <1364466368978-226775 dot post at n7 dot nabble dot com>
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