[Bug translator/16914] probe syscall.* fails with compilation error
mcermak at redhat dot com
sourceware-bugzilla@sourceware.org
Tue May 6 19:42:00 GMT 2014
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.
More information about the Systemtap
mailing list