This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/17462] aarch64 deprecates a number of syscalls (__NR_epoll_wait not defined)
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 07 Oct 2014 13:30:48 +0000
- Subject: [Bug tapsets/17462] aarch64 deprecates a number of syscalls (__NR_epoll_wait not defined)
- Auto-submitted: auto-generated
- References: <bug-17462-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17462
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
(In reply to William Cohen from comment #0)
> When running the pass1-4 tests on an aarch64 machine with:
>
> # make installcheck RUNTESTFLAGS="--debug systemtap.pass1-4/*.exp"
>
> A number of the tests fail like buildok/nd_syscalls-all-probes.stp:
>
>
> spawn stap -wp4 ./buildok/nd_syscalls-all-probes.stp
> /tmp/stapGoToEk/stap_ec0694ae78ebd3850fc11f783ae4a979_280860_src.c: In
> function
> 'probe_2391':
> /tmp/stapGoToEk/stap_ec0694ae78ebd3850fc11f783ae4a979_280860_src.c:32184:33:
> err
> or: '__NR_epoll_wait' undeclared (first use in this function)
> })) != ((((int64_t) ( __NR_epoll_wait ))))))) {
> ^
The solution here is to add __NR_epoll_wait to
src/runtime/linux/compat_unistd.h, like this:
====
#ifndef __NR_epoll_wait
#define __NR_epoll_wait (__NR_syscall_max + 1)
#endif
====
There is a section of defines like that at the top of that file.
--
You are receiving this mail because:
You are the assignee for the bug.