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 91529A00BE; Wed, 29 Apr 2020 12:18:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 58C0B1D8F0; Wed, 29 Apr 2020 12:18:23 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id A3E931D8EB for ; Wed, 29 Apr 2020 12:18:21 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 104515C0281; Wed, 29 Apr 2020 06:18:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 29 Apr 2020 06:18:21 -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= /RwP+JkJSqcT55k0Mb6ueBL5JMFRRXWr4QUx9e2wXeM=; b=sw2r7aOxDVmuLHtV Nyq8SzeKvbGYosrfbg1G/rhJHoTUxAoR1Ut7b8dQ1xj5J6emJiPhvi7I6GWTVvkX J3Fz61dJ3hsNHAl6sQ8M6Vdsn8ZZY/KNTzePxcXa7DlbUN0T6ucvoFz2Mf+FzPqr WroN27rBjlVmJzspHtmPvo+RCO2rpMBfBZGIAx5ySK/vJ7OHmyAlQRg0MWUhbOTt N20uLbKUB4sjydeHCoScXasVsXIS0PrhaiX6GV88NosgPvCD3mMvky83XnY8qpPo G3HAJGECuqu8bM9rjbqYBKKvkllWFYbADwk0AeZz0vH8nYAYH8n/snmHTR+M5B3I tRGK8Q== 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=fm2; bh=/RwP+JkJSqcT55k0Mb6ueBL5JMFRRXWr4QUx9e2wX eM=; b=s6i/de4f4Zis46TD/2t9jsaCEHfR/BI+7H8PXpGv+RpCkQ7PfgG8uEJ9T iBdExpFJs9gTHXRKZWYuGP6a2qQwJaZz7jspy70GrP7Hq6UO3LqKJdfREvt4SntY nl4fSopxYc2wkvOZx6CcSRykQBFRZm+eN7e9+CQFIIeOX2RKfhsX7i2kkHwqL4Tg kM2AMo919/9ShPCPztg1UoBTwEJXTDTfxj7lA7SAlJdFGSdiAuFdyaj80P7BidlU eW+9cuSto6iM/YW/M0dzQtRUDpDeDt953wBxgdVuDQjIRZspL9HinkLszVt3Fbm8 8nFZ+tMY78bsvLde4ckuElzjWUrgg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrieefgddviecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 21AEC3280065; Wed, 29 Apr 2020 06:18:20 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, bluca@debian.org, david.marchand@redhat.com, ktraynor@redhat.com, bingz@mellanox.com Date: Wed, 29 Apr 2020 12:18:19 +0200 Message-ID: <19853055.mFnZMskM5D@thomas> In-Reply-To: <20200429100831.398-2-bruce.richardson@intel.com> References: <20200429100831.398-1-bruce.richardson@intel.com> <20200429100831.398-2-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/7] build: always link-whole DPDK static libraries 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" 29/04/2020 12:08, Bruce Richardson: > To ensure all constructors are included in static build, we need to pass > the --whole-archive flag when linking, which is used with the > "link_whole" meson option. Since we use link_whole for all libs, we no > longer need to track the lib as part of the static dependency, just the > path to the headers for compiling. Please could you add the generated command line before/after? I would like to make sure that the external dependencies are out of the whole-archive option. Thanks