From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95342 invoked by alias); 11 Dec 2017 14:18:23 -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 95286 invoked by uid 48); 11 Dec 2017 14:18:18 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/22582] SystemTap 3.2 stap script compilation error opt Date: Mon, 11 Dec 2017 14:18:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: 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_status cf_reconfirmed_on cc everconfirmed 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: 2017-q4/txt/msg00188.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22582 David Smith changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-12-11 CC| |dsmith at redhat dot com Ever confirmed|0 |1 --- Comment #1 from David Smith --- (In reply to Gustavo Moreira from comment #0) > I'm having the following compilation error compiling a stap script in ARM > with SystemTap 3.2: >=20 > $ sudo stap -v -g -p4 -DSTP_NO_OVERLOAD systemtap-strace.stp -m stap_trac= e=20 > Compiling systemtap module ... > ./systemtap-strace.stp -> ./stap_trace.ko > Pass 1: parsed user script and 452 library scripts using > 35092virt/26404res/2260shr/24360data kb, in 4950usr/190sys/5187real ms. > Pass 2: analyzed script: 734 probes, 230 functions, 104 embeds, 63 globals > using 68040virt/60300res/3180shr/57308data kb, in > 2348300usr/36720sys/2415777real ms. > Pass 3: translated to C into "/tmp/stapBqLAih/stap_trace_src.c" using > 68040virt/60492res/3412shr/57308data kb, in 121940usr/440sys/124281real m= s. > /tmp/stapBqLAih/stap_trace_src.c:198942:28: error: field =E2=80=98ops=E2= =80=99 has > incomplete type > /tmp/stapBqLAih/stap_trace_src.c: In function =E2=80=98systemtap_module_i= nit=E2=80=99: > /tmp/stapBqLAih/stap_trace_src.c:199900:9: error: implicit declaration of > function =E2=80=98stap_utrace_detach_ops=E2=80=99 [-Werror=3Dimplicit-fun= ction-declaration] > cc1: all warnings being treated as errors Interesting. The task_finder functionality (part of the user-space tracing), needs for several kernel tracepoints to exist. If they don't exist, you sho= uld have either gotten a compile error or they should have semi-gracefully just refused to work. Is CONFIG_TRACEPOINTS set in your custom kernel? --=20 You are receiving this mail because: You are the assignee for the bug.