This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: How to modify LD_LIBRARY_PATH
- From: Arkady <arkady dot miasnikov dot ca at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Wed, 15 Mar 2017 09:35:53 +0200
- Subject: Re: How to modify LD_LIBRARY_PATH
- Authentication-results: sourceware.org; auth=none
- References: <CANA-60rDQi776wQ=Nm4K3SmRNwVTytqvWveBTt0zQuD9ScdMMA@mail.gmail.com>
I have patched make_any_make_cmd() and moved one small step forward.
The build of the script still fails for Ubuntu kernels with the error
below.
Is the idea is feasible? Does it make sense to use the same and rather
old CentOS6 chroot for building SystemTap modules?
Thank you, Arkady.
semantic error: while processing probe
kernel.function("__sock_create@/build/buildd/linux-lts-raring-3.8.0/net/socket.c:1259").return
from: socket.create.return from: socket.create.return
thrown from: elaborate.cxx:5649
semantic error: not accessible at this address (pc:
0xffffffff815caf20) [man error::dwarf]: identifier '$protocol' at
/usr/local/share/systemtap/tapset/linux/socket.stp:688:20
dieoffset: 0x5324703 from
/root/rpms/usr/lib/debug/boot/vmlinux-3.8.0-31-generic
function: __sock_create at
/build/buildd/linux-lts-raring-3.8.0/net/socket.c:1261
alternative locations:
[0xffffffff815caf25,0xffffffff815caf81],
[0xffffffff815caf81,0xffffffff815cafa1],
[0xffffffff815cafab,0xffffffff815cb11f]
thrown from: dwflpp.cxx:3246
source: protocol = @entry($protocol)