From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 90EF52BFE for ; Sat, 11 Jun 2016 08:34:40 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id v199so16147104wmv.0 for ; Fri, 10 Jun 2016 23:34:40 -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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=zugR46u7GXb01fbtzuRAwDvjxA2hEPyuK1pEQ9WDjqY=; b=BlVYezlWj3O2ENureSRFbHGr2ZvQFx4mOjA89gyyElx6AmR1ONIVE4vjEEkS3IacNn V77EZWaWgyCGlOkb7/Cq3j95A69Pjdc+qq7OqB5k/ROm4xkAERElEPJSrQqIrudXbYqI atODvhKhPuoB76MymoLxXNgjLqrUYCn80PKfEdTTeP40wScx+16pr69lJSDoSJGh3k3I pMbdi316R1AlARmMxermW5r9E31G10GCMcpqojzIpzxTk5z/FV9hfWAlj68gcKt9LdDY oHzOhZs4TKuZd5GfnxhoCpijdhrS+RPShZfQk59yPn4EJ8IpYQq/ZWjLqZhqHuEw4F+1 F9rw== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=zugR46u7GXb01fbtzuRAwDvjxA2hEPyuK1pEQ9WDjqY=; b=eqJUEz0kuyEokQ4FI5y/bvex2Ih6/vNcHQWwSjAdqlERJLjfR20GTanoe8l2gNbBXV GDANTnJIJXmGX/SNz9kiZdI1dcdgheWAGmu5Gu4O7vhRazPxiQWBymoU5Z9AKS7e/Xvr 3f4xXMJ3vxZFfUAm93IF9upgZhxa0A+FXxE0U5nEghk7GLm5jpqTsaTy9E2lfNHf47aJ OQGQ8JpuxT0/ttnW7GPABOmIGs/4VATj6k6xov//EOCEMg06RAoX9jUHPgjrjrj7javQ ENySzDMN6fPv631/a7Pd1M7SUvXbMFeCikxkyOYqodKm3sPsOlFodp11GITFnzPB/rnL KY9w== X-Gm-Message-State: ALyK8tLZSMA2tOVa4Kunun0IDKeNAjoRWfo4LaysRZHq+c58bL+hbS2YDQ2H/6MwivzsBOl+ X-Received: by 10.194.178.166 with SMTP id cz6mr5151833wjc.102.1465626880342; Fri, 10 Jun 2016 23:34:40 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id c191sm2583721wmh.5.2016.06.10.23.34.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jun 2016 23:34:39 -0700 (PDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Panu Matilainen , Christian Ehrhardt Date: Sat, 11 Jun 2016 08:34:38 +0200 Message-ID: <2540990.UDeWx5vTGn@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1465583550-21020-7-git-send-email-ferruh.yigit@intel.com> References: <1465564749-1405-1-git-send-email-thomas.monjalon@6wind.com> <1465583550-21020-1-git-send-email-ferruh.yigit@intel.com> <1465583550-21020-7-git-send-email-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 6/6] mk: prevent overlinking in applications 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: Sat, 11 Jun 2016 06:34:40 -0000 Hi Ferruh, 2016-06-10 19:32, Ferruh Yigit: > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -50,6 +50,14 @@ ifeq ($(NO_LDSCRIPT),) > LDSCRIPT = $(RTE_LDSCRIPT) > endif > > +ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y) > +# Workaround to eal <-> mempool cyclic dependency > +_LDLIBS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += -lrte_mempool > +endif > + > +# Link only the libraries used in the application > +_LDLIBS-y += --as-needed I think we do not need this workaround. The dependency of EAL logs on mempool is now removed. We only have the dependency of EAL ivshmem on librte_ivshmem header (which needs mempool and rings headers).