From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id A9CC12BB1 for ; Fri, 16 Nov 2018 11:52:49 +0100 (CET) Received: by mail-wr1-f68.google.com with SMTP id v18-v6so24391530wrt.8 for ; Fri, 16 Nov 2018 02:52:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=gXirC8MEozwNzMTmLhW4F0UBS+oqXlhDIWT/NRWLrQA=; b=h/bXW+yhG5Nbz89ffnD6T9D4BYd9d//R2kWkzXJnhmiqQPqx2Q7awN1VdxPyCJJr9x Ukkwd+N4loQ1Q5mbES+z6xrj7nWVSDYrI1dVIPveOX5blj7qmn4Mk7WCF5pFTpT0J2Zm VoOwfbcB7bRyYqIpXanY6oxp9LF5yL+W1wS3oG5WFbKJWSIYIvmRF9apvvs3mqwV+mZp N1CyAfPjl77iSBPBg4UgfnfiN9esez92RwXjys1EZiW3Smk+mPl6FXFK9mXsYZC/nkWs jJab0xcVNtTruZkj+5I2pNaaU+//Boh0qXNYiRf4+kV87wkz6enZH0u4ltGZ9zLVaC1t SgEQ== X-Gm-Message-State: AA+aEWawY9O4cJq73VGsUDxKGRzQ6lwJEurnR2LWqkIR0fK5A3KQ49Of ggXX7S/SJWvElwc48rhU2rM= X-Google-Smtp-Source: AFSGD/XDjTLn6UvGnsEnorgLSECm6IXIDK8kZF0FwNWIW6+S0Ajr25BXjedkMYddshFMy6zE6DIQ3w== X-Received: by 2002:adf:f308:: with SMTP id i8mr5254194wro.219.1542365568999; Fri, 16 Nov 2018 02:52:48 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id l79-v6sm41921512wma.26.2018.11.16.02.52.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Nov 2018 02:52:48 -0800 (PST) Message-ID: <1542365567.11515.26.camel@debian.org> From: Luca Boccassi To: Bruce Richardson Cc: dev@dpdk.org, thomas@monjalon.net Date: Fri, 16 Nov 2018 10:52:47 +0000 In-Reply-To: <20181116102632.GC3144@bricha3-MOBL.ger.corp.intel.com> References: <20181115182628.8114-1-bluca@debian.org> <20181116102632.GC3144@bricha3-MOBL.ger.corp.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 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:52:49 -0000 On Fri, 2018-11-16 at 10:26 +0000, Bruce Richardson wrote: > 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. > >=20 > > Signed-off-by: Luca Boccassi > > --- > > =C2=A0doc/build-sdk-meson.txt | 6 ++++++ > > =C2=A01 file changed, 6 insertions(+) > >=20 > > 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:: > > =C2=A0 > > =C2=A0 build: > > =C2=A0 @mkdir -p $@ > > + > > +NOTE: for --static builds, DPDK needs to be built with Meson >=3D > > 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. >=20 > 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 >=3D 0.45 >=20 > /Bruce I think the documentation linked there is wrong - looking at the release notes in the repository, it's 0.46 that mentions that new feature, not 0.45: https://github.com/mesonbuild/meson/blob/master/docs/markdown/Release-notes= -for-0.46.0.md#improved-generation-of-pkg-config-files-for-static-only-libr= aries I'll check if I can repro with 0.46 to confirm --=20 Kind regards, Luca Boccassi