From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> 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 <dev@dpdk.org>; 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: <xms:nI21YlO8da5DPTNk7xu0AzNydhpy13vPdzKIXD4auNFX1jdlnSvAFQ> <xme:nI21Yn_dze1rZvkdpFmNlfi4e826N6Afm983zDiyH9BL8aNi38nA5_9872Y2siAl3 l5YLYdCCPB5yN1S4g> X-ME-Received: <xmr:nI21YkTBG4AFH3cie4hdVHimFMjWsHKhcMki_pwKW_DB6CADXja4qTQRw9j-c_rXIhAyO1uyoQNTHQXPwBYpJvg> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefledgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: <xmx:nI21YhvOB-OpSW8oBe3Fzj2La_DQs3NxAkyBy0FjMC7BLaFmNE7BqQ> <xmx:nI21YtfHplTGDH888zDJx62yZVeA-xgJwRwDSIDU_yTMrzoRwlqmtA> <xmx:nI21Yt3cqA9C-B6GfB9wGX3iyDTiracL88ymkXcjUxWIdoMD9wUTCQ> <xmx:nY21YtFhQsdnRq12YRIr4KLXWQiXUBkhB8_Lf_lIKSKrNsDdZylZng> Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Jun 2022 06:10:35 -0400 (EDT) From: Thomas Monjalon <thomas@monjalon.net> To: "Loftus, Ciara" <ciara.loftus@intel.com> Cc: "dev@dpdk.org" <dev@dpdk.org>, "ferruh.yigit@xilinx.com" <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: <MW4PR11MB5872B6A1801C8D6BDB4335438EB49@MW4PR11MB5872.namprd11.prod.outlook.com> References: <20220624060634.295136-1-ciara.loftus@intel.com> <9193135.JRmrKFJ9eK@thomas> <MW4PR11MB5872B6A1801C8D6BDB4335438EB49@MW4PR11MB5872.namprd11.prod.outlook.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=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 <ciara.loftus@intel.com> > > > --- > > > -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