From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1968E2C45 for ; Fri, 11 Mar 2016 16:11:59 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 11 Mar 2016 07:11:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,320,1455004800"; d="scan'208";a="931806171" Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.220.70]) ([10.237.220.70]) by orsmga002.jf.intel.com with ESMTP; 11 Mar 2016 07:11:58 -0800 From: Sergio Gonzalez Monroy To: Thomas Monjalon References: <20160311123910.779f9c2e@jvn> <2098276.9k93xeoVuW@xps13> <56E2DBE3.4030309@intel.com> <2101263.CINWvX51Cb@xps13> Message-ID: <56E2E03D.2010901@intel.com> Date: Fri, 11 Mar 2016 15:11:57 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <2101263.CINWvX51Cb@xps13> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Jan Viktorin Subject: Re: [dpdk-dev] Fw: dpdk-armv7 - Build # 342 - Failure! 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, 11 Mar 2016 15:12:00 -0000 On 11/03/2016 15:04, Thomas Monjalon wrote: > 2016-03-11 14:53, Sergio Gonzalez Monroy: >> On 11/03/2016 13:33, Thomas Monjalon wrote: >>> 2016-03-11 11:47, Sergio Gonzalez Monroy: >>>> On 11/03/2016 11:39, Jan Viktorin wrote: >>>>> Hello Sergio, >>>>> >>>>> I've detected a build regression for the ARMv7. It seems to me the >>>>> source of the problem is the following commit: >>>>> >>>>> http://dpdk.org/browse/dpdk/commit/?id=d299106e8e31a622b3a1c1653f7795fa8a55860e >>>>> >>>>> The ipsec-secgw should be compiled only when LPM is enabled. See, eg. >>>>> how the l3fwd-power example is done in examples/Makefile. >>>> Right! >>>> >>>> Actually the app has dependencies on a few libraries, so I'll fix that. >>> Please take the opportunity to move the crypto examples in the >>> alphabetical order in this Makefile. Thanks >>> >>> >> So the fix is easy enough but I'm really not a fan of cluttering the >> examples/Makefile ifeq checks >> which would only avoid building ipsec-secgw if doing: >> $ make examples >> >> but would still fail to build if doing something like: >> $ make -C examples/ipsec-secgw > If you explicitly want to build this example, it is normal to fail. Fair enough. >> examples/Makefile: >> +ifeq ($(CONFIG_RTE_LIBRTE_ACL),y) >> +ifeq ($(CONFIG_RTE_LIBRTE_HASH),y) >> +ifeq ($(CONFIG_RTE_LIBRTE_LPM),y) >> DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += ipsec-secgw >> +endif >> +endif >> +endif > You can do it in one line: > ifeq ($(CONFIG_RTE_LIBRTE_ACL)$(CONFIG_RTE_LIBRTE_HASH)$(CONFIG_RTE_LIBRTE_LPM),yyy) The line above goes to 85 chars, are you ok with that? or do I split it in two lines? Sergio