This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/3282] staprun failed in relayfs mode
- From: "guanglei at cn dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 29 Sep 2006 04:51:13 -0000
- Subject: [Bug runtime/3282] staprun failed in relayfs mode
- References: <20060929033340.3282.guanglei@cn.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From guanglei at cn dot ibm dot com 2006-09-29 04:51 -------
I checked and found the reason is the due to the failure of:
execlp(stp_check, stp_check, NULL) , which is called inside init_relayfs of
librelayfs.c
the PKGLIBDIR is not defined so execlp can't find the path of stp_check.
Here is a patch, I tested and it works for me:
Index: Makefile.am
===================================================================
RCS file: /cvs/systemtap/src/Makefile.am,v
retrieving revision 1.54
diff -u -r1.54 Makefile.am
--- Makefile.am 26 Sep 2006 21:41:37 -0000 1.54
+++ Makefile.am 29 Sep 2006 04:47:04 -0000
@@ -5,7 +5,7 @@
pkglibexecdir = ${libexecdir}/${PACKAGE}
-AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DPKGDATADIR='"${pkgdatadir}"'
+AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DPKGDATADIR='"${pkgdatadir}"'
-DPKGLIBDIR='"$(pkglibexecdir)"'
AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE -fexceptions \
-Wall -Werror -Wshadow -Wunused -Wformat=2 -W
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3282
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.