From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] driver/octeontx: disable PMD for buggy compilers Date: Wed, 9 May 2018 08:21:17 +0530 Message-ID: <20180509025115.GA20900@jerin> References: <20180507123042.27492-1-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 'Pavan Nikhilesh' , "santosh.shukla@caviumnetworks.com" , "ferruh.yigit@intel.com" , Shahaf Shuler , "dev@dpdk.org" To: Ali Alnubani Return-path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0068.outbound.protection.outlook.com [104.47.32.68]) by dpdk.org (Postfix) with ESMTP id DBB8949E2 for ; Wed, 9 May 2018 04:51:30 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Tue, 8 May 2018 07:49:01 +0000 > From: Ali Alnubani > To: 'Pavan Nikhilesh' , > "jerin.jacob@caviumnetworks.com" , > "santosh.shukla@caviumnetworks.com" , > "ferruh.yigit@intel.com" , Shahaf Shuler > > CC: "dev@dpdk.org" > Subject: RE: [dpdk-dev] [PATCH] driver/octeontx: disable PMD for buggy > compilers > > Tested-by: Ali Alnubani Acked-by: Jerin Jacob > > > -----Original Message----- > > From: Pavan Nikhilesh > > Sent: Monday, May 7, 2018 3:31 PM > > To: jerin.jacob@caviumnetworks.com; > > santosh.shukla@caviumnetworks.com; ferruh.yigit@intel.com; Shahaf > > Shuler ; Ali Alnubani > > Cc: dev@dpdk.org; Pavan Nikhilesh > > Subject: [dpdk-dev] [PATCH] driver/octeontx: disable PMD for buggy > > compilers > > > > Disable octeontx for gcc 4.8.5 as compiler is emitting "internal compiler error" > > for aarch64. > > > > Signed-off-by: Pavan Nikhilesh > > --- > > mk/toolchain/gcc/rte.toolchain-compat.mk | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk > > b/mk/toolchain/gcc/rte.toolchain-compat.mk > > index 9f17131f9..0f2b0ff0a 100644 > > --- a/mk/toolchain/gcc/rte.toolchain-compat.mk > > +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk > > @@ -12,6 +12,7 @@ > > > > GCC_MAJOR = $(shell echo __GNUC__ | $(CC) -E -x c - | tail -n 1) > > GCC_MINOR = $(shell echo __GNUC_MINOR__ | $(CC) -E -x c - | tail -n 1) > > +GCC_PATCHLEVEL = $(shell echo __GNUC_PATCHLEVEL__ | $(CC) -E -x c - | > > +tail -n 1) > > GCC_VERSION = $(GCC_MAJOR)$(GCC_MINOR) > > > > # if GCC is older than 4.x > > @@ -73,4 +74,11 @@ else > > CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=d > > endif > > > > + # Disable octeontx event PMD for gcc < 4.8.6 > > + ifeq ($(shell test $(GCC_VERSION)$(GCC_PATCHLEVEL) -lt 486 && > > echo 1), 1) > > + CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=d > > + CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=d > > + CONFIG_RTE_LIBRTE_OCTEONTX_PMD=d > > + endif > > + > > endif > > -- > > 2.17.0 >