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 55106A034E for ; Thu, 7 May 2020 00:01:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4B2E71BFE3; Thu, 7 May 2020 00:01:16 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 441051BFE3; Thu, 7 May 2020 00:01:15 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id BDFD15C00D0; Wed, 6 May 2020 18:01:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 06 May 2020 18:01:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= hIvMaJSWN6HYIv3X+Ahh+UP7mo47ewg5eP7FQjWiYnY=; b=hyEnTIHE06zyfgqg IwdXMWorAq4FCoUKqh6G9QQX+TWGYSihXD3TlUM92AWVJVtWVVi7ORpW5R/GdCXh 4V9dNU9+7ui1ulqtB6Lsvma47eCdgcQon71ZYkry0VoIJj24K4AVnmMjGUbtUsSM c494FzqQ5i/tdOaU2oQ63SsV+OyfCAz4G4/YXMhYdOgmo6dsL0GOoGQhXcmjSTjZ JU3MHyDm/kb10Ryk9Wg2NpdG3Rskft23npF5pLEWfXEme7KF731OhxL+fibeSjRs mHbBS3icH6QMy/kyJsHI1sYUNGMntw+i37H6ZGNJRRej3pEu7rdWicemEOsEhVCI NOQeVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=hIvMaJSWN6HYIv3X+Ahh+UP7mo47ewg5eP7FQjWiY nY=; b=lP6cq4u38RkqYFpvrJC/JUb/38WZn9FI7Py9YzabujktZbx4hl+meXWrF 3FSs/7BFH9NtKBiOKPs0VToMaTJ//HY/BVdaPVKeBySDObmD7rGw0G+ELKVhWRTx MwWItsnNwyXpPPrsNaILJ+9T3fw0PuhgS+cmOJ9+gWQ2hfuj6cEQgBLELW8nC40n ioLUWCvZQDuglTrHTaCUSZzIJRAt0Xh14RICsHXH07i4eVDkfTtO2d5olUbmNc5c 5iPYNhq/kjB0UX+7LlsG1jOs5rscQ3SRVb8kn7e6UfVvz9H5BzabdEF8vkBdyiFG hYYr6ag+5btjnM3ukfNWfbqvHYdrw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeelgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D8B693280067; Wed, 6 May 2020 18:01:13 -0400 (EDT) From: Thomas Monjalon To: Bing Zhao Cc: matan@mellanox.com, dev@dpdk.org, stable@dpdk.org Date: Thu, 07 May 2020 00:01:10 +0200 Message-ID: <2740451.o0KrE1Onz3@thomas> In-Reply-To: <1588162315-177263-1-git-send-email-bingz@mellanox.com> References: <1588162315-177263-1-git-send-email-bingz@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] mk: fix linking with static ibverbs libraries X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 29/04/2020 14:11, Bing Zhao: > When building a target application with static linking mode via > makefiles and enable linking to ibverbs libs by setting > "CONFIG_RTE_IBVERBS_LINK_STATIC=y". The libibverbs.pc will be > chosen and all the libs listed in the file will be linked > by default. Some static lib archives may contain the same files > and common interfaces inside. > The "--no-whole-archive" needs to be enabled for the linker to > discard the useless symbols and resolve the symbols redefinition > error. > > Fixes: 95276abaaf0a ("vdpa/mlx5: introduce Mellanox vDPA driver") The origin is older than vdpa PMD. It is when introducing ibverbs static linking: Fixes: 2c0dd7b69fb0 ("config: add static linkage of mlx dependency") > Cc: stable@dpdk.org > > Signed-off-by: Bing Zhao Acked-by: Thomas Monjalon Applied, thanks