From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14932 invoked by alias); 6 May 2014 14:30:16 -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 14694 invoked by uid 48); 6 May 2014 14:30:11 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/16914] probe syscall.* fails with compilation error Date: Tue, 06 May 2014 14:30: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: dsmith 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: cc 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/msg00112.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D16914 David Smith changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dsmith at redhat dot com --- Comment #2 from David Smith --- (In reply to Martin Cermak from comment #0) > Created attachment 7588 [details] > stap output >=20 > On aarch64, stap -e 'probe syscall.* { log("hey!"); exit() }' returns err= ors > like this: >=20 > /tmp/stapV76Au7/stap_19d2b02d95ec8b13d55cf356928e49ab_143230_src.c: In > function =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 = function) > if ((((l->l___nr) !=3D ((((int64_t) ( __NR_compat_clone ))))))) { I understand what is going on here, but I need some aarch64 education to kn= ow how to fix it. Does aarch64 run 32-bit executables? Is the CONFIG_COMPAT op= tion on on an aarch64 kernel? If so, aarch64 will need its own section in runtime/linux/compat_unistd.h. If not, something wacky is going on and that code should have never been hi= t. --=20 You are receiving this mail because: You are the assignee for the bug.