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 translator/16914] New: probe syscall.* fails with compilation error


https://sourceware.org/bugzilla/show_bug.cgi?id=16914

            Bug ID: 16914
           Summary: probe syscall.* fails with compilation error
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com

Created attachment 7588
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7588&action=edit
stap output

On aarch64, stap -e 'probe syscall.* { log("hey!"); exit() }' returns errors
like this:

/tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c: In function
âprobe_2344â:
/tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c:11776:43:
error: â__NR_compat_cloneâ undeclared (first use in this function)
       if ((((l->l___nr) != ((((int64_t) ( __NR_compat_clone ))))))) {
                                           ^
/tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c:11776:43:
note: each undeclared identifier is reported only once for each function it
appears in
/tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c: In function
âprobe_2346â:
/tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c:11907:43:
error: â__NR_compat_closeâ undeclared (first use in this function)
       if ((((l->l___nr) != ((((int64_t) ( __NR_compat_close ))))))) {
                                           ^
/tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c: In function
âprobe_2356â:
/tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c:12038:43:
error: â__NR_compat_futimesatâ undeclared (first use in this function)
       if ((((l->l___nr) != ((((int64_t) ( __NR_compat_futimesat ))))))) {

[ ... ]

 # rpm -q kernel systemtap
kernel-3.13.0-0.rc7.31.sa2.bz1094366.aarch64 (3.13.0-0.rc7.31 + rhbz1094366
fix)
systemtap-2.6-1.sa1.3.aarch64 (fresh upstream master head)

-- 
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]