This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16914] probe syscall.* fails with compilation error
- From: "mcermak at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 06 May 2014 19:42:09 +0000
- Subject: [Bug translator/16914] probe syscall.* fails with compilation error
- Auto-submitted: auto-generated
- References: <bug-16914-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16914
--- Comment #6 from Martin Cermak <mcermak at redhat dot com> ---
Hi David, now, with current upstream head, I'm getting:
--------------------8<----------------------------------------------
S aarch64 # stap -e 'probe syscall.* { log("hey!"); exit() }'
In file included from
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c:28:0:
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c: In function
âprobe_2357â:
/usr/share/systemtap/runtime/linux/compat_unistd.h:116:32: error:
â__NR_futimesatâ undeclared (first use in this function)
#define __NR_compat_futimesat __NR_futimesat
^
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c:12038:43:
note: in expansion of macro â__NR_compat_futimesatâ
if ((((l->l___nr) != ((((int64_t) ( __NR_compat_futimesat ))))))) {
^
/usr/share/systemtap/runtime/linux/compat_unistd.h:116:32: note: each
undeclared identifier is reported only once for each function it appears in
#define __NR_compat_futimesat __NR_futimesat
^
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c:12038:43:
note: in expansion of macro â__NR_compat_futimesatâ
if ((((l->l___nr) != ((((int64_t) ( __NR_compat_futimesat ))))))) {
^
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c: In function
âprobe_2496â:
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c:13332:33:
error: â__NR_futimesatâ undeclared (first use in this function)
})) != ((((int64_t) ( __NR_futimesat ))))))) {
^
In file included from
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c:28:0:
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c: In function
âprobe_2700â:
/usr/share/systemtap/runtime/linux/compat_unistd.h:121:27: error: â__NR_openâ
undeclared (first use in this function)
#define __NR_compat_open __NR_open
^
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c:14433:43:
note: in expansion of macro â__NR_compat_openâ
if ((((l->l___nr) != ((((int64_t) ( __NR_compat_open ))))))) {
^
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c: At top
level:
/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c:17973:2:
error: #error "Need CONFIG_KPROBES!"
#error "Need CONFIG_KPROBES!"
^
make[1]: ***
[/tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.o] Error 1
make: *** [_module_/tmp/stapnP5rLb] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
S aarch64 #
--------------------8<----------------------------------------------
which, although apparently we're not yet there, looks much better!
--
You are receiving this mail because:
You are the assignee for the bug.