From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5C3D48E7B for ; Tue, 17 Apr 2018 10:59:38 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2018 01:59:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,463,1517904000"; d="scan'208";a="47556143" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.51]) by fmsmga001.fm.intel.com with SMTP; 17 Apr 2018 01:59:35 -0700 Received: by (sSMTP sendmail emulation); Tue, 17 Apr 2018 09:59:34 +0100 Date: Tue, 17 Apr 2018 09:59:33 +0100 From: Bruce Richardson To: Ferruh Yigit Cc: Andrew Rybchenko , dev@dpdk.org Message-ID: <20180417085933.GB77936@bricha3-MOBL.ger.corp.intel.com> References: <20180416170930.56225-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180416170930.56225-1-ferruh.yigit@intel.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH] net/sfc: fix meson build warning with gcc 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: , X-List-Received-Date: Tue, 17 Apr 2018 08:59:38 -0000 On Mon, Apr 16, 2018 at 06:09:29PM +0100, Ferruh Yigit wrote: > icc flag is causing build error with gcc, build error: > cc1: warning: unrecognized gcc debugging option: i > cc1: warning: unrecognized gcc debugging option: g > cc1: warning: unrecognized gcc debugging option: - > cc1: warning: unrecognized gcc debugging option: d > cc1: warning: unrecognized gcc debugging option: i > cc1: warning: unrecognized gcc debugging option: s > cc1: warning: unrecognized gcc debugging option: b > cc1: warning: unrecognized gcc debugging option: l > cc1: warning: unrecognized gcc debugging option: e > cc1: warning: unrecognized gcc debugging option: > cc1: warning: unrecognized gcc debugging option: 3 > cc1: warning: unrecognized gcc debugging option: 6 > cc1: warning: unrecognized gcc debugging option: 5 > cc1: warning: unrecognized gcc debugging option: 6 > cc1: warning: unrecognized command line option > ‘-Wno-address-of-packed-member’ > > Removing icc flag completely since it is not supported right now. > > Fixes: f16d0b36f816 ("drivers/net: fix icc deprecated parameter warning") > > Signed-off-by: Ferruh Yigit > --- > Cc: Bruce Richardson > --- And just by way of further info, the underlying problem here is that gcc is returning 0 i.e. not reporting error, when called normally with -diag-disable flag. This prevents meson from detecting that the flag is unsupported. :-( /Bruce