From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 762002BBA for ; Fri, 10 Jun 2016 15:19:21 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id v199so148588616wmv.0 for ; Fri, 10 Jun 2016 06:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xfR7rhcYSk2gjX3saRmjxL14qzjF9gS7+FaHfmrWBf4=; b=aneT5ZCv3Ld1y9s+5oJT1aJ8o5B3vKrd9RfSfbLPNbbR6bkV79V36luYCumoNsveqe EbN6CwJzcqUXF1Em/F/ef4V5LJIPJnShmZW9wdUs5IceTl9/9zacQ8qirPC1F/LzK8M8 /sgmoSya6t2tDEwudK018I+hG2b+yQR6/D4n3xHTGjaeqR+9aJN6XVgtM5HjyDtARnEs Gf8TNfiO0jRS0zlVnucL/cjZcBjFdyme2wRihegk/2Lrs9XUQamfCFhTOCWhhRqeiC1J Nus8Yddl06tXaBHimuQVj2L2nDqV/IwTP2Bdoo+Zgy/efFasbq97ALR6bQivmIUmXqh5 fJLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xfR7rhcYSk2gjX3saRmjxL14qzjF9gS7+FaHfmrWBf4=; b=OlIjIRPhUrnavuk6Ma6jPQg6YzSfKtVmKFmeCTv/pxwc9sUPmqOfto4idkFoBENeZ/ 5iMhJaO2sqpRVnDe6juLLcTGqz7Em3llKx6jUs+uCmrPA0m8t3/KPv4OTy8HwwQmXmbr /lEaejOOKmshDugstOKXemSFNh7tT4fVow+B0UB53Xkz78yL937hmd6Bt6jVdqOJleos YLkU/aXhWfJBA3nPSf9ktl9zoybOvwVSzPN1jElQhKxIPW7xLboT3Eu1nP0Bgmu6EeJ7 AyHJU5QgZI1OWtC/lI9HBm61h71jwx7mtVg/srR8r1YI5+Db4NRNBZmnTpCNGVR4ExcO rNCw== X-Gm-Message-State: ALyK8tJMlUlSWUis/Feah8LpdgM2vp1gEpq+wKQ15p+yklSh5TOTFjz4lnkzMN0Gubu+vu9V X-Received: by 10.194.101.233 with SMTP id fj9mr2188564wjb.54.1465564760888; Fri, 10 Jun 2016 06:19:20 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id o4sm12302758wjx.45.2016.06.10.06.19.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 10 Jun 2016 06:19:20 -0700 (PDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org Date: Fri, 10 Jun 2016 15:19:06 +0200 Message-Id: <1465564749-1405-4-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1465564749-1405-1-git-send-email-thomas.monjalon@6wind.com> References: <1464367686-3475-1-git-send-email-ferruh.yigit@intel.com> <1465564749-1405-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH v2 3/6] mk: remove library grouping during application linking X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2016 13:19:21 -0000 >>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 --- mk/rte.app.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 8068e66..9306b30 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -95,8 +95,6 @@ endif _LDLIBS-$(CONFIG_RTE_PORT_PCAP) += -lpcap endif # !CONFIG_RTE_BUILD_SHARED_LIBS -_LDLIBS-y += --start-group - _LDLIBS-$(CONFIG_RTE_LIBRTE_KVARGS) += -lrte_kvargs _LDLIBS-$(CONFIG_RTE_LIBRTE_MBUF) += -lrte_mbuf _LDLIBS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += -lrte_ip_frag @@ -151,7 +149,7 @@ endif # CONFIG_RTE_LIBRTE_CRYPTODEV endif # ! $(CONFIG_RTE_BUILD_SHARED_LIB) _LDLIBS-y += $(EXECENV_LDLIBS) -_LDLIBS-y += --end-group + _LDLIBS-y += --no-whole-archive LDLIBS += $(_LDLIBS-y) $(CPU_LDLIBS) $(EXTRA_LDLIBS) -- 2.7.0