From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] compat: fix symbol version support with meson Date: Sun, 16 Sep 2018 11:14:10 +0200 Message-ID: <3518182.H5eQSvgRL9@xps> References: <20180830170701.21443-1-bruce.richardson@intel.com> <1535650263.11823.18.camel@debian.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Luca Boccassi , Bruce Richardson Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id E338B2BD8 for ; Sun, 16 Sep 2018 11:14:13 +0200 (CEST) In-Reply-To: <1535650263.11823.18.camel@debian.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 30/08/2018 19:31, Luca Boccassi: > On Thu, 2018-08-30 at 18:07 +0100, Bruce Richardson wrote: > > For meson builds, the define to enable the symbol version > > macros in rte_compat.h was missing. This led to symbols being > > omitted from shared objects. For example, checking rte_distributor.so > > with objdump and comparing make and meson built versions: > > > > $ objdump -T make-build/lib/librte_distributor.so | grep _flush > > 0000000000001b60 g DF .text 00000000000000a7 > > (DPDK_2.0) rte_distributor_flush > > 0000000000003f10 g DF .text 0000000000000434 DPDK_17.05 > > rte_distributor_flush > > $ objdump -T meson-build/lib/librte_distributor.so | grep _flush > > 0000000000001d50 g DF .text 00000000000000fb DPDK_2.0 > > rte_distributor_flush > > > > Adding in the missing define fixes this. > > > > Fixes: 5b9656b157d3 ("lib: build with meson") > > > > Reported-by: Luca Boccassi > > Signed-off-by: Bruce Richardson > > Tested-by: Luca Boccassi Cc stable?