From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2 3/6] mk: remove library grouping during application linking Date: Fri, 10 Jun 2016 15:54:26 +0100 Message-ID: <575AD4A2.9070108@intel.com> References: <1464367686-3475-1-git-send-email-ferruh.yigit@intel.com> <1465564749-1405-1-git-send-email-thomas.monjalon@6wind.com> <1465564749-1405-4-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0720619F5 for ; Fri, 10 Jun 2016 16:54:28 +0200 (CEST) In-Reply-To: <1465564749-1405-4-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 6/10/2016 2:19 PM, Thomas Monjalon wrote: > From "man ld": > Using this option has a significant performance cost. > It is best to use it only when there are unavoidable > circular references between two or more archives. > > Remove the option since it does not seem necessary. > > Signed-off-by: Thomas Monjalon To remove this, I think we should order libraries in a way: pmd -> librte -> external libraries. Than we can remove --whole-archive too. And perhaps keep it still to wrap around librte_eal and librte_mempool, which still has cyclic dependencies.