From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by dpdk.org (Postfix) with ESMTP id 2B85AFAE7 for ; Thu, 9 Feb 2017 22:48:43 +0100 (CET) Received: by mail-wr0-f179.google.com with SMTP id k90so93436156wrc.3 for ; Thu, 09 Feb 2017 13:48:43 -0800 (PST) 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=FaTJwe9uF/YeJcyppuVcM2CX6W1MAqSshX7/XyjPN8I=; b=BplNkb8e04KL30fA9EFnrdBqwVDSBKknflIXUGP3E4FE5Yn/Q2uNNzdQFY80eze0l2 7NcYvqFfC70j3bGwYB4pU01GsWi6F5QAvTL0KXmQAhU+qs9WSQuMShn76NYpASfLtkIN NSU1hxrX5YYtZYSJv/ii7oL2mCYTSfB5PnD5l5Qeu877qJom0O4UJ24PPmDN9rsZZIK0 JJ/pA1Jna4Ug1qakQeURcpdT6e9WsGSyiFjsHY4NztoVOttUFQrCrteOrI4VIaP0QBYR 5gk2PBvggBl69lNPGm7axsGhMZBsqjFM6WVdSPH72P/G1bYLgv+NafirNDJkVkk5UN4I WJwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=FaTJwe9uF/YeJcyppuVcM2CX6W1MAqSshX7/XyjPN8I=; b=EDXHiZ4HYrj9YNBDhe8Lfl/ofnwKkvyIthuzG7QfDoMlwIeO4scX/TKAhFyhayA4ih WAWHjK5UpWQxc60UE0uFMGKkwHJQpDw3hpF/baCnxPlzXk+GaXNTaaxvv752oi6uIYLJ pBoZsC8l1Lop/xXiOKv56Ah2EgzXx7dgRVqMTfFMXhoa1FsnD2NkiRFY9IBUlTMLqMeK WIpKrCnsROEHFL9F9Eq/jgugT+UPBOZphFYZduRxL9g1A4uY+In0JJ4ctJENJjRr007L BIxCHCFzxG/vX3GDBUJYHDHf3fNxeg49p40ozKjwPcB1dCOUbiYEZ0evAKwKmeBK1x20 Z75w== X-Gm-Message-State: AMke39kZPwEjyHIonDapd6+XCju/EZYvx1TwOYKDR6Gyw70GvLPgXX6GoQxdo+tr22Im9+Fk X-Received: by 10.223.142.111 with SMTP id n102mr4567353wrb.11.1486676922729; Thu, 09 Feb 2017 13:48:42 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id w69sm462592wmw.22.2017.02.09.13.48.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Feb 2017 13:48:42 -0800 (PST) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org Date: Thu, 09 Feb 2017 22:48:41 +0100 Message-ID: <2952546.ox9gadXyFB@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170131150132.7056-1-ferruh.yigit@intel.com> References: <20170131115950.25660-1-ferruh.yigit@intel.com> <20170131150132.7056-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] mk: move libs that don't dependent PMD libs out of whole archive 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: , X-List-Received-Date: Thu, 09 Feb 2017 21:48:43 -0000 2017-01-31 15:01, Ferruh Yigit: > During app build with static library, some libraries wrapped with > --whole-archive compiler flag. > > Wrapped libraries are mainly PMD libraries, this is required because PMD > APIs not called directly but run through callbacks registered via > constructor functions. > > Also some set of libraries, depends to the PMD libraries needs this, > because of same reason. > > All the libraries used by a plugin (any driver) must be in > --whole-archive to ensure that every symbols will be available for the > plugin. > > But other libraries can be out of this flag, and this saves some bytes > in final binary. > > Signed-off-by: Ferruh Yigit > Acked-by: Thomas Monjalon Applied, thanks