From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9CC652BD1 for ; Fri, 22 Apr 2016 12:49:25 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 22 Apr 2016 03:48:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,516,1455004800"; d="scan'208";a="960500827" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.132]) by orsmga002.jf.intel.com with SMTP; 22 Apr 2016 03:48:52 -0700 Received: by (sSMTP sendmail emulation); Fri, 22 Apr 2016 11:48:51 +0025 Date: Fri, 22 Apr 2016 11:48:51 +0100 From: Bruce Richardson To: Thomas Monjalon Cc: Rasesh Mody , dev@dpdk.org, stephen@networkplumber.org, Ameen Rahman , Harish Patil , Sony Chacko Message-ID: <20160422104851.GA6476@bricha3-MOBL3> References: <1459476927-21387-1-git-send-email-rasesh.mody@qlogic.com> <11002101.xZ8QHIe3Y4@xps13> <2663604.CUOUCMLdhT@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2663604.CUOUCMLdhT@xps13> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [dpdk-dev] Compiler minimum versions. (Was: [PATCH v5 05/10] qede: Add core driver) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 10:49:26 -0000 On Wed, Apr 20, 2016 at 10:54:51AM +0200, Thomas Monjalon wrote: > 2016-04-20 01:09, Rasesh Mody: > > Hi Thomas, > > > > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > > Sent: Tuesday, April 19, 2016 5:59 AM > > > > > > 2016-03-31 19:15, Rasesh Mody: > > > > +ifeq ($(OS_TYPE),Linux) > > > > +CFLAGS_ECORE_DRIVER += -Wno-shift-negative-value endif > > > > > > I see an error with clang: > > > fatal error: unknown warning option '-Wno-shift-negative-value'; > > > did you mean '-Wno-shift-sign-overflow'? > > > > We had compiled all our v5 driver patches against clang v3.8 on RH7.1 and didn't see a similar error. > > "clang version 3.8.0 (trunk 249596) (llvm/trunk 249595)" > > > > The '-Wno-shift-negative-value' option only got introduced after 3.6.0 clang release. Pls. let us know if we need to support a minimum version of clang. We had asked this question earlier in the dpdk community, however we didn't hear back from anyone so far. > > I use clang-3.6.2. > You are right there is no official requirement in > doc/guides/linux_gsg/sys_reqs.rst. > Opinions about minimal version to support? [Updating subject to make this discussion easier to find in searches] Given that we support FreeBSD 10.x, Clang 3.4 may be a good minimum version to support. On the gcc side, v4.5 is rather old by now, should we update min to v4.8? /Bruce