From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 02/15] make: include whole archive on static link Date: Wed, 16 Apr 2014 11:26:48 +0200 Message-ID: <6240253.CLYuMHWmd2@xps13> References: <1397585169-14537-1-git-send-email-nhorman@tuxdriver.com> <1397585169-14537-3-git-send-email-nhorman@tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Neil Horman Return-path: In-Reply-To: <1397585169-14537-3-git-send-email-nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2014-04-15 14:05, Neil Horman: > This happens automatically on dyanmic linking, but when linking an archive > we need to to include the whole archive to make sure we call all the > constructors. Not doing this causes them to be discarded due to the fact > theres no symbolic reference connecting the pmds to the application. > > Signed-off-by: Neil Horman This patch conflicts with Olivier's one: http://dpdk.org/browse/dpdk/commit/?id=20afd76a504155e947 -- Thomas