From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 5A8DC29C6 for ; Fri, 16 Nov 2018 11:26:36 +0100 (CET) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Nov 2018 02:26:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,239,1539673200"; d="scan'208";a="106795628" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.107]) by fmsmga004.fm.intel.com with SMTP; 16 Nov 2018 02:26:33 -0800 Received: by (sSMTP sendmail emulation); Fri, 16 Nov 2018 10:26:32 +0000 Date: Fri, 16 Nov 2018 10:26:32 +0000 From: Bruce Richardson To: Luca Boccassi Cc: dev@dpdk.org, thomas@monjalon.net Message-ID: <20181116102632.GC3144@bricha3-MOBL.ger.corp.intel.com> References: <20181115182628.8114-1-bluca@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181115182628.8114-1-bluca@debian.org> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH] build: document that Meson < 0.45 will fail to list private deps 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: , X-List-Received-Date: Fri, 16 Nov 2018 10:26:36 -0000 On Thu, Nov 15, 2018 at 06:26:28PM +0000, Luca Boccassi wrote: > Meson can generate the list of private dependencies of libraries > automatically for the pkgconfig file only since version 0.45.0. > > Signed-off-by: Luca Boccassi > --- > doc/build-sdk-meson.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/build-sdk-meson.txt b/doc/build-sdk-meson.txt > index 508e2cb64..229398bb0 100644 > --- a/doc/build-sdk-meson.txt > +++ b/doc/build-sdk-meson.txt > @@ -203,3 +203,9 @@ From examples/helloworld/Makefile:: > > build: > @mkdir -p $@ > + > +NOTE: for --static builds, DPDK needs to be built with Meson >= 0.45 in order to > +fully generate the list of private dependencies. If DPDK is built with an older > +version of Meson, it might be necessary to manually specify dependencies of DPDK > +PMDs/libraries, for example -lmlx5 -lmnl for librte-pmd-mlx5, or the static link > +step might fail. Thinking about it more, this doesn't seem to actually be the root-cause of the reported problem. You said in the other thread that you reproduced the problem with v0.45.2 which is >= 0.45 /Bruce