From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36202 invoked by alias); 10 Dec 2019 06:35:57 -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 36170 invoked by uid 48); 10 Dec 2019 06:35:53 -0000 From: "craig.ringer at 2ndquadrant dot com" To: systemtap@sourceware.org Subject: [Bug runtime/25267] kernel 5.3: error: this statement may fall through [-Werror=implicit-fallthrough=] Date: Tue, 10 Dec 2019 06:35: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: craig.ringer at 2ndquadrant dot com X-Bugzilla-Status: UNCONFIRMED 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: 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: 2019-q4/txt/msg00066.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25267 --- Comment #1 from Craig Ringer --- I wrote this up earlier as https://stackoverflow.com/questions/58443706/systemtap-stap-probes-fail-wit= h-this-statement-may-fall-through-werror-impl=20 Cross linked there. Workaround: ``` diff --git a/buildrun.cxx b/buildrun.cxx index 505902bc5..b29eeb797 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -235,6 +235,7 @@ compile_dyninst (systemtap_session& s) "gcc", "--std=3Dgnu99", s.translated_source, "-o", module, "-fvisibility=3Dhidden", "-O2", "-I" + s.runtime_path, "-D__DYNINST_= _", "-Wall", WERROR, "-Wno-unused", "-Wno-strict-aliasing", + "-Wno-error=3Dimplicit-fallthrough", "-Wno-error=3Dstrict-prototypes= ", "-pthread", "-lrt", "-fPIC", "-shared", }; ``` --=20 You are receiving this mail because: You are the assignee for the bug.