From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 56550A0032; Fri, 24 Jun 2022 12:10:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35F0640A87; Fri, 24 Jun 2022 12:10:40 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id F3D044069D for ; Fri, 24 Jun 2022 12:10:38 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 8E51A3200922; Fri, 24 Jun 2022 06:10:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 24 Jun 2022 06:10:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1656065437; x= 1656151837; bh=tCfH2SWI+mDf+dA6JuOc7sR7ax9u8at4Va5gI+xlgVg=; b=H wKza7DdjWvvW3quJIicGMl31y+f3foca3pQCROkYASq/NKi3A2tOCLtxJpl7GCys 5GTS6aNE7mQZBHhggGNFzVCHoCNro3k2UoespST7SVbdTU5xiJm2WZ4qCo14W/qT KXW31+ncZElibh9QRCRqdDPp7ehhfnO8fpBjAsQa1LIwMCBahCuiDRE8Bfrq5DsB R7otSJ/kjUkdrRsoqCu3eVQTOfPKLM+y/YfyhuaZvATuqOJizIRKdV9a82qYMdPH 9ALjdchViE+7MSlbENm8uhG+vhuZwh5o7VeiInokrfY8JcUOXSE7wanTvGFuMaBe scUAG97yzkfuwB54VuDcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656065437; x= 1656151837; bh=tCfH2SWI+mDf+dA6JuOc7sR7ax9u8at4Va5gI+xlgVg=; b=Y BGdhrBa+Xm+1aNy/B1livuPz5V5WXQybxCpccnHhahaAY1afbGWo4ctZdz23QbuW DLRVq4fsIzBbE+NesT19mtDW9xIXE8LqCHKE25e6/TQf5P477P6kWB7mHdo2d57y 5Yhxu/+QeoaLi7VbmxcV6tG2/gNyrYsQW3dD5fPu+/OS/4YyeNKAulpJeISbVpcQ l8k7uRRTGygnTpbyVF6ITrX+0DC9MYZxbqsp7IOFl6md9uZItkJA7VTS3hlFkhGE et9tMzrLiZXTq6YLBetCtejfYcxAzvvM6ao1OyfK8nLlbWWvDJIG7NV/UloSwrkf fNf+6q+UG0rAhfMC3ZlNA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefledgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Jun 2022 06:10:35 -0400 (EDT) From: Thomas Monjalon To: "Loftus, Ciara" Cc: "dev@dpdk.org" , "ferruh.yigit@xilinx.com" Subject: Re: [PATCH] net/af_xdp: limit libbpf version to <= v0.7.0 Date: Fri, 24 Jun 2022 12:10:26 +0200 Message-ID: <3237285.2IRrRt1zHL@thomas> In-Reply-To: References: <20220624060634.295136-1-ciara.loftus@intel.com> <9193135.JRmrKFJ9eK@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 24/06/2022 10:37, Loftus, Ciara: > > > > 24/06/2022 08:06, Ciara Loftus: > > > Linking with libbpf v0.8.0 causes deprication warnings. As a temporary > > > measure, prevent linking with libbpf versions v0.8.0 and greater. This > > > limitation should be removed in the future when appropriate > > > compatibility measures are introduced. > > > > > > Signed-off-by: Ciara Loftus > > > --- > > > -bpf_dep = dependency('libbpf', required: false, method: 'pkg-config') > > > -if not bpf_dep.found() > > > - bpf_dep = cc.find_library('bpf', required: false) > > > -endif > > > +bpf_dep = dependency('libbpf', version : '<=0.7.0', required: false, > > method: 'pkg-config') > > > > It is also removing the find_library() method. > > Any reason it was there? > > > > My understanding is that one can't check the library version using that method. > So it was a valid method of picking up the library until now where we always need to check the version before linking. OK I see