From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 753C6C43219 for ; Thu, 2 May 2019 13:24:41 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 9F48B2075E for ; Thu, 2 May 2019 13:24:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9F48B2075E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D609F5F1C; Thu, 2 May 2019 15:24:39 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 9E5B15F17; Thu, 2 May 2019 15:24:37 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 May 2019 06:24:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,421,1549958400"; d="scan'208";a="147663509" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.48]) by fmsmga007.fm.intel.com with SMTP; 02 May 2019 06:24:34 -0700 Received: by (sSMTP sendmail emulation); Thu, 02 May 2019 14:24:33 +0100 Date: Thu, 2 May 2019 14:24:33 +0100 From: Bruce Richardson To: David Marchand Cc: Thomas Monjalon , dev , dpdk stable Message-ID: <20190502132433.GC1980@bricha3-MOBL.ger.corp.intel.com> References: <20190501195014.2938-1-bruce.richardson@intel.com> <8175150.iIoqqa2Iee@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon <[1]thomas@monjalon.net> > wrote: > > 01/05/2019 21:50, Bruce Richardson: > > This set of changes fixes warnings seen when compiling DPDK on > Fedora 30. > > In most cases these warnings appear to be false positives, which > means we > > have the option to just disable the warning. Because the changes > required > > to the code to silence the warnings are fairly small I've chosen > in all cases > > to change the code rather than disable the warnings, but I'm open > to doing > > the opposite if it's felt it's a better solution. [One thing I > didn't like > > about disabling the warnings is that the disabling flags are not > supported > > by clang, so adding them involves compiler checks :-(] > > > > NOTE: this set does not cover all warnings with GCC9, but it does > cover > > those seen when building with meson. There is still one warning > disable > > flag needed when building with make, which will need a follow-on > set to > > fix. > > > > Bruce Richardson (4): > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > bus/fslmc: fix printf of null pointer > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > Cc: [2]stable@dpdk.org > Applied, thanks > > I had a comment on patch 2, and the bigger problem is > -Waddress-of-packed-member. > The quicker solution for now is to downgrade it to warning only so that > we can fix the parts later rather than globally disable it. > -- Well, it is already a warning, it's just that with make we build by default with -Werror when building from git. Also, that particular warning is already disabled for clang compilation, so extending that to being disabled for gcc seems fine for a fix for this release. /Bruce