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 5FF4CA04F9; Wed, 18 Dec 2019 09:23:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C45A1C01; Wed, 18 Dec 2019 09:23:42 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id DCFB9F90 for ; Wed, 18 Dec 2019 09:23:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576657420; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U2qsaX1DAamx6msRircO74KsD9Kts/Wb2zHfAew2Rjs=; b=OJxDVmPqJnnq9Ew7cbMvhsZef7V2iuJlw8Fddsq96N2Y8KE3KxXcVZjvOzN80zdWO9VO23 oTnnpgx9rRGzt0IbgSmZwfo+Sct1fftjpWHCH6XmYFfGiq8AL8CdVAQpou9ZSHyojuXo5I UFkJngWgduvy5BASTZBbiafbqAA/YUo= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-218-vHwl4FdpMFSVqSadJPFXpQ-1; Wed, 18 Dec 2019 03:23:38 -0500 Received: by mail-vs1-f70.google.com with SMTP id s29so108527vsj.17 for ; Wed, 18 Dec 2019 00:23:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=q97Jv1X+LfYeigL3Me6r1h6n8K+k1KUSdM1Nzk+aU+o=; b=IDm6Dc6eUFl/oLADxb3EQVzWoDJrSgS6H7Hk3O0YzpQl6/qYi5hbgbvqt2OwueQztD BL/pwnsvcatd9ndZQy8/4ndlOeHaRiMgLl8DeIOviKDKD6NJ5z/3vK3d+CNpssc/fWuU oRLHZ5Q3Dvm5H81C77cC/Qn8PUTiixBfUnBJ4vQ5wJrEh4IhKbhxLUBIETOJ7CrcPm5v ZKJEp1MkEG/nLcXegT5M3boPf9Zm17GQw01/6x5Atp1iIQHG1nvd+2JrcgmKZFgtkYLu vZZPjE4eMzlujxcV4LZWJSYO1fjzMg0I6zx5MTiu1NcB7zvxWOb0bsEB7ZIF2aUkJ8W2 cPpA== X-Gm-Message-State: APjAAAXpFx66P0XUxyfEBl+hzTYbLyxiMxicMUdVNyI2exdKgm2snE4H e7U97Ven95Kj3JNMG7S/ROGjG2gN+aJ5ma3xUgJxstCYvUjacXKkB/Fm4al9YvVhk6YZnQucRif hHZE2ZN4IHVYHioUHGMk= X-Received: by 2002:a67:f9cb:: with SMTP id c11mr624832vsq.180.1576657418425; Wed, 18 Dec 2019 00:23:38 -0800 (PST) X-Google-Smtp-Source: APXvYqx58oLLvJSiCNvob+9YZVvcji1ullZJEpqTVf8eR+DJM579ktkjjs4KewLnyFPAUm+x9H9XH2tbua2Na5oxu3s= X-Received: by 2002:a67:f9cb:: with SMTP id c11mr624824vsq.180.1576657418044; Wed, 18 Dec 2019 00:23:38 -0800 (PST) MIME-Version: 1.0 References: <20191218053902.193417-1-ruifeng.wang@arm.com> <20191218053902.193417-3-ruifeng.wang@arm.com> In-Reply-To: <20191218053902.193417-3-ruifeng.wang@arm.com> From: David Marchand Date: Wed, 18 Dec 2019 09:23:27 +0100 Message-ID: To: Ruifeng Wang , Bruce Richardson Cc: Aaron Conole , Michael Santana , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , dev , Gavin Hu , Honnappa Nagarahalli , nd , Kevin Laatz X-MC-Unique: vHwl4FdpMFSVqSadJPFXpQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH 2/2] devtools: add path to additional shared object files X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Dec 18, 2019 at 6:39 AM Ruifeng Wang wrote: > > librte_mempool_ring.so and librte_pmd_null.so are in 'drivers' folder. > Add 'drivers' into LD_LIBRARY_PATH so that testpmd can find and make > use of these shared libraries. > > Signed-off-by: Ruifeng Wang > Reviewed-by: Gavin Hu > --- > devtools/test-null.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/devtools/test-null.sh b/devtools/test-null.sh > index f39af2c06..548de8113 100755 > --- a/devtools/test-null.sh > +++ b/devtools/test-null.sh > @@ -20,7 +20,7 @@ if [ ! -f "$testpmd" ] ; then > fi > > if ldd $testpmd | grep -q librte_ ; then > - export LD_LIBRARY_PATH=3D$build/lib:$LD_LIBRARY_PATH > + export LD_LIBRARY_PATH=3D$build/drivers:$build/lib:$LD_LIBRARY_PA= TH > libs=3D'-d librte_mempool_ring.so -d librte_pmd_null.so' > else > libs=3D > -- > 2.17.1 > I'm surprised to see this. So far, the CI ran fine without it, so something is different in the environment. I can see that the RPATH entry disappeared from the testpmd binary. Xenial: # readelf -d build/app/dpdk-testpmd |grep RPATH 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib:$ORIGIN/../drivers:XXXXXXXXXXXXX] (not sure what XXXX purpose is, but different topic) Bionic: # readelf -d build/app/dpdk-testpmd |grep RPATH Adding Bruce and Kevin, as I think this is the same issue than: http://mails.dpdk.org/archives/dev/2019-December/153627.html Could it be a change in meson? -- David Marchand