From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40645 invoked by alias); 10 Dec 2019 08:02:36 -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 40601 invoked by uid 48); 10 Dec 2019 08:02:32 -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 08:02: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/msg00069.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25267 --- Comment #2 from Craig Ringer --- Correction, workaround is ``` commit 495ed9143004e62284f959f0a7630bdf229c6e62 (HEAD -> master) Author: Craig Ringer Date: Tue Dec 10 15:24:15 2019 +0800 Work around bug #25267 on Linux 5.3 diff --git a/buildrun.cxx b/buildrun.cxx index 505902bc5..5f9a7208a 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", "-pthread", "-lrt", "-fPIC", "-shared", }; @@ -539,6 +540,7 @@ compile_pass (systemtap_session& s) // Assumes linux 2.6 kbuild o << "EXTRA_CFLAGS +=3D -Wno-unused $(call cc-option,-Wno-tautological-compare) " << WERROR + << "-Wno-error=3Dimplicit-fallthrough " << endl; #if CHECK_POINTER_ARITH_PR5947 o << "EXTRA_CFLAGS +=3D -Wpointer-arith" << endl; ``` --=20 You are receiving this mail because: You are the assignee for the bug.