From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13634 invoked by alias); 6 May 2014 14:00:03 -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 13493 invoked by uid 48); 6 May 2014 13:59:58 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/16914] New: probe syscall.* fails with compilation error Date: Tue, 06 May 2014 14:00:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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/msg00110.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D16914 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=3D7588&action=3Dedit stap output On aarch64, stap -e 'probe syscall.* { log("hey!"); exit() }' returns errors like this: /tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c: In func= tion =E2=80=98probe_2344=E2=80=99: /tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c:11776:43: error: =E2=80=98__NR_compat_clone=E2=80=99 undeclared (first use in this fu= nction) if ((((l->l___nr) !=3D ((((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 func= tion =E2=80=98probe_2346=E2=80=99: /tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c:11907:43: error: =E2=80=98__NR_compat_close=E2=80=99 undeclared (first use in this fu= nction) if ((((l->l___nr) !=3D ((((int64_t) ( __NR_compat_close ))))))) { ^ /tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c: In func= tion =E2=80=98probe_2356=E2=80=99: /tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c:12038:43: error: =E2=80=98__NR_compat_futimesat=E2=80=99 undeclared (first use in thi= s function) if ((((l->l___nr) !=3D ((((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) --=20 You are receiving this mail because: You are the assignee for the bug.