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 A58CFA0350; Wed, 1 Jul 2020 19:33:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E72B91C2AC; Wed, 1 Jul 2020 19:33:15 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 310131C1BF for ; Wed, 1 Jul 2020 19:33:14 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id B6D567C8; Wed, 1 Jul 2020 13:33:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 01 Jul 2020 13:33:13 -0400 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=fm1; bh= CrX91K3gmc0eUkx815h/9YZBPebLI8wyIPLr2BPziY0=; b=uiiULTDg/D8As3AQ NMF14DPWVyxP9ES6vJZ0X0nv1YWIIV6K7YH2GXF/yBs/6vkkBtmdee7lEL6Vr9TA U3XygmYZZpENvOlU34s2Q/yjcWbj1+bM0iso/BQ2CdswzEfPRqYC9ifEnqm+/DjB WnWHS4+6yxMdEECX/JS2kPeQnMj6zOgkV+pUjC+w71IluefoCTbjjMIKHIAFvsCp UgNmfQZcznzNNk7+qvjvgi5ameeqZEviiXVuDz0QSf+OiCt0fsCW9iYQpihLtGzL Gg0lf+jPn+SCusW1lI5sp/g8GykoYQ4FIaVDdQPuwwY41ipyw2od9FfvTKKKAQrg ZFQs2Q== 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=fm3; bh=CrX91K3gmc0eUkx815h/9YZBPebLI8wyIPLr2BPzi Y0=; b=Kc0mJOWbAzsVxTX2jAMD1mA6YABvLkzDe0Gnca7seIt677b+wZL3whmoK gTeV6RXlatabTb8kFDLrVrzab9eHfP2Ri83TbDshAITYW6SfIr5HJXOfr7IYFooj elFm+zfEcLTazPod4Lft0yh6thC/3Dm7uDT+ifGoQ32GccexYYzmVTU9ZLiP2wKq YU9WJd3W2xFAIJoMsfYNzDo8Qf3mN+gtlV7LkpIXS5vZPG2njQI62iIfk5RAhwkQ dmqnDgfPa9pLirK63yHQUPdJQIsUOpqeT/6JVqdWeNhK2haStkALiPMvbRynucMf NUrwO2LKWtsRI74asFsaeEscUUYTA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrtddvgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght 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 872163280060; Wed, 1 Jul 2020 13:33:11 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, david.marchand@redhat.com, ktraynor@redhat.com, bluca@debian.org, sunil.pai.g@intel.com Date: Wed, 01 Jul 2020 19:33:10 +0200 Message-ID: <5839222.TJ1aBYZx6s@thomas> In-Reply-To: <20200630141433.818517-1-bruce.richardson@intel.com> References: <20200429100831.398-1-bruce.richardson@intel.com> <20200630141433.818517-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 0/7] improve DPDK static builds with meson 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" 30/06/2020 16:14, Bruce Richardson: > This set fixes a number of minor issues with static builds when using > meson, both for linking apps/examples as part of a meson build itself or > when using pkg-config subsequently. > > Following this patchset, all DPDK static builds should be linking with > --whole-archive to ensure all lib and driver constructors are included, > and the use of pkg-config for doing static builds is simplified. The > downside is that for correctness we need two .pc files for DPDK rather > than just one. > > v3: rebased to latest on main branch > > v2: improved log messages for a number of patches, and clearly marked > internal-only pkg-config file as such > > Bruce Richardson (7): > build: always link-whole DPDK static libraries > build: remove unnecessary variable > devtools/test-meson-builds.sh: add pkg-config static builds > build: move pkg-config creation to separate file > build/pkg-config: output driver libs first for static build > build/pkg-config: improve static linking flags > build/pkg-config: prevent overlinking Applied with changes discussed in the thread, thanks