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 6A874A04B6; Mon, 12 Oct 2020 14:47:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2BB9A1D6E5; Mon, 12 Oct 2020 14:47:42 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 9F1AF1D6C8 for ; Mon, 12 Oct 2020 14:47:40 +0200 (CEST) IronPort-SDR: 8/td6+uhNCY8+tHmfYUl9wGMW2qiL9ihXr0DltiOnO+KMrLajo/n1dbyl+y3FaJpLUgBU4fFvW 4P+08vw9VwOg== X-IronPort-AV: E=McAfee;i="6000,8403,9771"; a="250425492" X-IronPort-AV: E=Sophos;i="5.77,366,1596524400"; d="scan'208";a="250425492" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 05:47:38 -0700 IronPort-SDR: zag3kAUydWkOd+7NYmjMkuul2jY+WxyCVsuqCwICcbRx4kScc/inyR4CU30lgdLIWaSKrfkgX2 Vuzb6bFUgqXw== X-IronPort-AV: E=Sophos;i="5.77,366,1596524400"; d="scan'208";a="529940563" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.38.166]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 12 Oct 2020 05:47:37 -0700 Date: Mon, 12 Oct 2020 13:47:33 +0100 From: Bruce Richardson To: David Marchand Cc: dev , Luca Boccassi Message-ID: <20201012124733.GC565@bricha3-MOBL.ger.corp.intel.com> References: <20201008170536.124111-1-bruce.richardson@intel.com> <20201009141914.205284-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] [PATCH v2] build: skip detecting libpcap via pcap-config 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 Mon, Oct 12, 2020 at 02:02:19PM +0200, David Marchand wrote: > On Fri, Oct 9, 2020 at 4:19 PM Bruce Richardson > wrote: > > > > When compiling for a slightly different architecture, e.g. 32-bit on 64-bit > > systems using CFLAGS rather than a cross-file, the pcap-config utility can > > often return parameters that are unusable for the build in question, i.e. > > providing the native 64-bit library paths rather than checking for 32-bit > > equivalent. > > > > Since many distros now include a version of libpcap with a > > pkg-config file, and for those that don't find-library should work ok as a > > fallback, we can explicitly just use pkg-config in the dependency search, > > causing meson to skip trying to use pcap-config. > > > > Signed-off-by: Bruce Richardson > > I also hit (this?) issue on a fc32 with both 32-bit and 64-bit pcap installed. > Can you confirm? > It looks to be the same general issue. Does adding this patch fix things? When compiling 32-bit on 64-bit you generally need to be sure to set PKG_CONFIG_LIBDIR in your environment to point to the appropriate path. It might also serve to fix things in this instance, if not set. > If so, we might want to backport this as I get the same problem with v19.11.4. > Good idea, I don't think it will break anything. /Bruce