From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7B123A0A01 for ; Tue, 5 Jan 2021 22:47:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 644C616082C; Tue, 5 Jan 2021 22:47:05 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id BC974160817; Tue, 5 Jan 2021 22:47:02 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 56CF65C0132; Tue, 5 Jan 2021 16:47:02 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 05 Jan 2021 16:47:02 -0500 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=fm3; bh= y4Nf/GuXVAEZSSw714omaP/JQMJfjTfGESUJ0Zgu13w=; b=kDJr6K2ob8dj6vhL wiA634zu9p1eS78H7FbTgBoqqoFQCZddN5MYXlWwkslvcX6vIb6sACWhEJ1NZo1D 0k//GFNAyu/ZnRqsaOzLTOtPauDNt7z4DvGBtlfSJ0wp1GVQeKBAc8VNm91aIo4N JpGJ05m9gXX+IRnSP0mIxyfMAudgTq9YuVNQT3s1B/ljDawKi+INR1+MHSjbobsu QbUp/9uu4mZSwAoooKVC8aXMwh2yFdE/mpu/ZpdRTmWxDtqnSkCSjqrvtEdxMDVL bN7SpwfhfC56BD+Z9fw9QZRuWOmjdZRl542Ye0HCBRybmKV7FrMyDjmqKXQXIA7Q G5gBTQ== 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=fm1; bh=y4Nf/GuXVAEZSSw714omaP/JQMJfjTfGESUJ0Zgu1 3w=; b=SoJlbbxRJkd16a56SIC5Ou2SevQYYyIKSppoVKjyNZiZhOxWvk0cSAFIr K+/GP8PqPGzaNW8meJIBQMKLkDnT/s9m78KBRtBwV+txNxPuykuSVSVAUlx2VKjA AL7p6HVMsRjv1FEMqp0EgTnfkLtzG6vz3pvgl4eKmJ4G2yEd5AIJWlvBnTy+1ifm NRU4LwfcShbEupFs02Lim7YkFZIlEoYX0rWD+zGJxMhlNwI457HvqNAixbvZRall bapvQXzBP6Mg+T4ahUaLmP42nC93gep4OhBCwUM+0JB+SOFo+wk4xSGIauQtNr// LNci0hVy5X8fPlvXa+AMzsNiknl8g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefjedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth 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 E93C324005E; Tue, 5 Jan 2021 16:47:00 -0500 (EST) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, harry.van.haaren@intel.com, keith.wiles@intel.com, luca.boccassi@gmail.com, stable@dpdk.org, Bruce Richardson Date: Tue, 05 Jan 2021 22:46:59 +0100 Message-ID: <1643761.Xia5AZeXXp@thomas> In-Reply-To: <20201221110444.GA1753@bricha3-MOBL.ger.corp.intel.com> References: <20201126142042.24741-1-olivier.matz@6wind.com> <20201218131422.15131-1-olivier.matz@6wind.com> <20201221110444.GA1753@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3] build: fix plugin load on static builds X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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" 21/12/2020 12:04, Bruce Richardson: > On Fri, Dec 18, 2020 at 02:14:22PM +0100, Olivier Matz wrote: > > When dpdk is compiled as static libraries, it is not possible > > to load a plugin from an application. We get the following error: > > > > EAL: librte_pmd_xxxx.so: undefined symbol: per_lcore__rte_errno > > > > This happens because the dpdk symbols are not exported. Add them to the > > dynamic symbol table by using '-Wl,--export-dynamic'. This option was > > previously present when compiled with Makefiles, it was introduced in > > commit f9a08f650211 ("eal: add support for shared object drivers") > > > > Also add it to the pkg-config file. > > > > Fixes: 16ade738fd0d ("app/testpmd: build with meson") > > Fixes: 89f0711f9ddf ("examples: build some samples with meson") > > Cc: stable@dpdk.org > > > > Signed-off-by: Olivier Matz > > --- > Reviewed-by: Bruce Richardson Applied, thanks