From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 1/3] net/thunderx: disable pmd for older compilers Date: Thu, 06 Apr 2017 16:09:30 +0200 Message-ID: <9561885.LnGWdCXozX@xps13> References: <20170406121428.16883-1-ferruh.yigit@intel.com> <2608561.Cu0AakAGmg@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Jerin Jacob , Bruce Richardson , Harry van Haaren , dev@dpdk.org To: Ferruh Yigit Return-path: Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by dpdk.org (Postfix) with ESMTP id 4E76D282 for ; Thu, 6 Apr 2017 16:09:32 +0200 (CEST) Received: by mail-wr0-f175.google.com with SMTP id t20so64131549wra.1 for ; Thu, 06 Apr 2017 07:09:32 -0700 (PDT) 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" 2017-04-06 15:05, Ferruh Yigit: > On 4/6/2017 2:59 PM, Thomas Monjalon wrote: > > 2017-04-06 14:46, Ferruh Yigit: > >> --- a/mk/toolchain/gcc/rte.toolchain-compat.mk > >> +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk > >> @@ -89,4 +89,8 @@ else > >> ifeq ($(shell test $(GCC_VERSION) -lt 42 && echo 1), 1) > >> MACHINE_CFLAGS := $(filter-out -march% -mtune% -msse%,$(MACHINE_CFLAGS)) > >> endif > >> + > >> + ifeq ($(shell test $(GCC_VERSION) -lt 47 && echo 1), 1) > >> + CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=n > >> + endif > > > > In previous version you were disabling the PMD inside the PMD Makefile. > > It was better. > > Agreed, but I that is causing a build error in applications. I have > missed it in previous release because an .a file was already created. > > So, need a way to disable linking pmd against application. I see. If it is disabled here, we won't see the warning in the PMD Makefile?