public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/16914] New: probe syscall.* fails with compilation error
@ 2014-05-06 14:00 mcermak at redhat dot com
  2014-05-06 14:00 ` [Bug translator/16914] " mcermak at redhat dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: mcermak at redhat dot com @ 2014-05-06 14:00 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-02-12 21:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-06 14:00 [Bug translator/16914] New: probe syscall.* fails with compilation error mcermak at redhat dot com
2014-05-06 14:00 ` [Bug translator/16914] " mcermak at redhat dot com
2014-05-06 14:30 ` dsmith at redhat dot com
2014-05-06 17:46 ` mcermak at redhat dot com
2014-05-06 18:17 ` jistone at redhat dot com
2014-05-06 18:36 ` dsmith at redhat dot com
2014-05-06 19:42 ` mcermak at redhat dot com
2014-05-06 20:05 ` dsmith at redhat dot com
2014-05-06 20:23 ` mcermak at redhat dot com
2014-05-06 20:44 ` dsmith at redhat dot com
2015-02-12 16:36 ` aram.h at mgk dot ro
2015-02-12 17:34 ` dsmith at redhat dot com
2015-02-12 18:18 ` aram.h at mgk dot ro
2015-02-12 19:07 ` dsmith at redhat dot com
2015-02-12 21:10 ` aram.h at mgk dot ro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).