This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/17462] aarch64 deprecates a number of syscalls (__NR_epoll_wait not defined)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]