From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 1FA24E82 for ; Fri, 3 Oct 2014 20:10:58 +0200 (CEST) Received: by mail.mhcomputing.net (Postfix, from userid 1000) id CECDB80B615; Fri, 3 Oct 2014 11:17:13 -0700 (PDT) Date: Fri, 3 Oct 2014 11:17:13 -0700 From: Matthew Hall To: Neil Horman Message-ID: <20141003181713.GC1741@mhcomputing.net> References: <1412265386-26291-1-git-send-email-sergio.gonzalez.monroy@intel.com> <2041475.WSUx3LgNfR@xps13> <20141003081019.GA28988@sivswdev02.ir.intel.com> <2274825.SfVmqUQfpO@xps13> <20141003113234.GB24059@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141003113234.GB24059@hmsreliant.think-freely.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/4] Fix build issues with CONFIG_RTE_BUILD_COMBINE_LIBS=y 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, 03 Oct 2014 18:10:58 -0000 On Fri, Oct 03, 2014 at 07:32:34AM -0400, Neil Horman wrote: > This makes good sense to me. A single archive is just easier in the static > case, since the resulting binary will strip out unused code anyway, and multiple > libraries are needed in the shared case so that we don't wind up having to load > more code than is needed at run time. > > Neil This assertion is not true. Because the DPDK doesn't work if you don't specify the whole-archive link option. Which explicitly prevents stripping out any "unused code". Otherwise your PMD's will refuse to initialize. This along with backward compatibility is why I was advising to build the full static library and the sublibraries so it will just work for everybody by default. Matthew.