From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 392D868BD for ; Thu, 10 Apr 2014 15:56:40 +0200 (CEST) Received: by mail-wg0-f48.google.com with SMTP id l18so4031292wgh.7 for ; Thu, 10 Apr 2014 06:58:17 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=14ytRZX+Iqv85365q05QSfaFPwVOXB7nKG1CVLRbdRA=; b=Fj/o91T+60bZzwQKehyUviAT5gsEeEjtxntsrkt4Tf8LQGuNMhlojl+Cc54En2eh/o Ixnf3JeW2+e8J1ilHehLZiiskK17Es5BLzmI3H4TvAh5HcRTQhpnHmXiuKn68vf00KP6 u50ONZuJwNCXhMtYGRGwdpTCEYkDX8GhG9s3I2iDn6MHTWSe8lT4ZwyGRe36IIjR0tX/ SXLXL+t3GE8hvnvuD/OmmHODB0G/2o3L3sZOfJd9XG6I9tGkZyBxJHNS8nYq3IRa0ILz eQddlZ5rnRxISNnVr26ClIE3GaC3z6ikrlINt5b/2rMPhbxDK4yY2O4PF/4H3SBGhnrL ivOQ== X-Gm-Message-State: ALoCoQlGs8UdxLWQKCilEqSytduE5m17T4x3+qY13UzjvQw3ssFu4SuaPOPTULCIVR5ggAfrGo+Q X-Received: by 10.194.90.39 with SMTP id bt7mr38307wjb.93.1397138296977; Thu, 10 Apr 2014 06:58:16 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id b1sm6691280wjb.37.2014.04.10.06.58.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Apr 2014 06:58:16 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Date: Thu, 10 Apr 2014 15:58:16 +0200 Message-ID: <1579401.l3xRPnkYnW@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.7-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <1393608350-4431-2-git-send-email-olivier.matz@6wind.com> References: <1393608350-4431-1-git-send-email-olivier.matz@6wind.com> <1393608350-4431-2-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 01/11] mk: use whole-archive option when creating dpdk binaries 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: Thu, 10 Apr 2014 13:56:40 -0000 2014-02-28 18:25, Olivier Matz: > To fully support dpdk extensions (loading of .so), all symbols provided > by dpdk libraries must be available in the binaries: before this patch, > unused functions/variables from dpdk static libraries could be stripped > by the linker because they are not used. These symbols can be used by a > dpdk extension that is loaded at runtime with the -d option. > > Adding --whole-archive when generating a binary solves this issue. > > Signed-off-by: Olivier Matz Acked-by: Thomas Monjalon Applied for version 1.6.0r2. -- Thomas