From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 251BBA053B; Thu, 6 Feb 2020 15:27:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EFE401C10B; Thu, 6 Feb 2020 15:27:57 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id EA8F11C0DB for ; Thu, 6 Feb 2020 15:27:55 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2020 06:27:55 -0800 X-IronPort-AV: E=Sophos;i="5.70,409,1574150400"; d="scan'208";a="225023109" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.79]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Feb 2020 06:27:53 -0800 Date: Thu, 6 Feb 2020 14:27:49 +0000 From: Bruce Richardson To: Thierry Herbelot Cc: "dev@dpdk.org" , Anoob Joseph , Akhil Goyal Message-ID: <20200206142749.GA777@bricha3-MOBL.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Subject: Re: [dpdk-dev] drivers/octeontx2: compilation fails without RTE_LIBRTE_SECURITY 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Feb 06, 2020 at 02:39:28PM +0100, Thierry Herbelot wrote: > Hello, > > When RTE_LIBRTE_SECURITY is disabled, compilation fails for octeontx2 (on an > Intel machine): > > git clone git://dpdk.org/dpdk > cd dpdk > make config T=x86_64-native-linux-gcc > cd build > vi .config > => disable RTE_LIBRTE_IPSEC and RTE_LIBRTE_SECURITY > make > ... > == Build drivers/net/octeontx2 > CC otx2_rx.o > In file included from .../dpdk/drivers/net/octeontx2/otx2_ethdev_sec.h:10, > from .../dpdk/drivers/net/octeontx2/otx2_rx.h:11, > from .../dpdk/drivers/net/octeontx2/otx2_ethdev.h:24, > from .../dpdk/drivers/net/octeontx2/otx2_rx.c:7: > .../dpdk/drivers/crypto/octeontx2/otx2_ipsec_fp.h:9:10: fatal error: > rte_security.h: No such file or directory > #include > ^~~~~~~~~~~~~~~~ > compilation terminated. > > This seems cause by f44e7163775537 ('net/octeontx2: add security session > operations'). > Disabling parts of the build, particularly libraries, is always likely to cause other build failures. I'm not sure we should, or even need to, support the disabling of arbitrary libs in DPDK. /Bruce