From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25850 invoked by alias); 6 May 2014 19:42:15 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 25806 invoked by uid 48); 6 May 2014 19:42:10 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/16914] probe syscall.* fails with compilation error Date: Tue, 06 May 2014 19:42:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcermak at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q2/txt/msg00116.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D16914 --- Comment #6 from Martin Cermak --- Hi David, now, with current upstream head, I'm getting:=20 --------------------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 func= tion =E2=80=98probe_2357=E2=80=99: /usr/share/systemtap/runtime/linux/compat_unistd.h:116:32: error: =E2=80=98__NR_futimesat=E2=80=99 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 =E2=80=98__NR_compat_futimesat=E2=80=99 if ((((l->l___nr) !=3D ((((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 =E2=80=98__NR_compat_futimesat=E2=80=99 if ((((l->l___nr) !=3D ((((int64_t) ( __NR_compat_futimesat ))))))) { ^ /tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c: In func= tion =E2=80=98probe_2496=E2=80=99: /tmp/stapnP5rLb/stap_1c56b4d79e886a846bcb2bcb2c11d0e9_143230_src.c:13332:33: error: =E2=80=98__NR_futimesat=E2=80=99 undeclared (first use in this funct= ion) })) !=3D ((((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 func= tion =E2=80=98probe_2700=E2=80=99: /usr/share/systemtap/runtime/linux/compat_unistd.h:121:27: error: =E2=80=98= __NR_open=E2=80=99 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 =E2=80=98__NR_compat_open=E2=80=99 if ((((l->l___nr) !=3D ((((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! --=20 You are receiving this mail because: You are the assignee for the bug.