From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44])
 by dpdk.org (Postfix) with ESMTP id 4D824AFCF
 for <dev@dpdk.org>; Wed, 16 Apr 2014 11:26:48 +0200 (CEST)
Received: by mail-wg0-f44.google.com with SMTP id m15so10572878wgh.15
 for <dev@dpdk.org>; Wed, 16 Apr 2014 02:26:48 -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=RyIqdmIDDC7WC7I1l6wkDCS17/fVWeldlMfhTS4aW/U=;
 b=jdAYVxs2CfhX+UnvHhnHr9hV+artNHkqmZQBZJtlJizpy9in5MiZbZxsoOLqglkIp4
 tSMc/TFqYeDQ74kXTNtYTgrRCKDBBzEimY9NsXvvvdH7JcGYIUlcuW6xSgyGKZBSLxD0
 nRrF72GHVfN4sSqXst3mp8zvZ55JHad/9ZAZjz08mxdcbDQqJeowca685IwrQfdsyYRL
 gZnhnd4s2/Qfg1r0L7Ru70wjdnJOqwbCP7x2wtUPGuV24EBJj56/MPVbmFaPWsDDmc9g
 r7vXE5KLCnsdl/YAlPAiX20PVvSjF2y7l9jY1imzGD+zBtrNIhkBZ1Yn8DqERDJFK/kZ
 PfoA==
X-Gm-Message-State: ALoCoQkSSkD8aGrybnGN5gsZnNuIv2Njb8VS0XRRbMVG3fF5fuvhLBs0LXyQeB02PYgYRwM/Oh83
X-Received: by 10.180.93.133 with SMTP id cu5mr6552893wib.47.1397640408546;
 Wed, 16 Apr 2014 02:26:48 -0700 (PDT)
Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237])
 by mx.google.com with ESMTPSA id lb4sm33515269wjb.14.2014.04.16.02.26.47
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 16 Apr 2014 02:26:47 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Neil Horman <nhorman@tuxdriver.com>
Date: Wed, 16 Apr 2014 11:26:48 +0200
Message-ID: <6240253.CLYuMHWmd2@xps13>
Organization: 6WIND
User-Agent: KMail/4.12.4 (Linux/3.14.1-1-ARCH; KDE/4.12.4; x86_64; ; )
In-Reply-To: <1397585169-14537-3-git-send-email-nhorman@tuxdriver.com>
References: <1397585169-14537-1-git-send-email-nhorman@tuxdriver.com>
 <1397585169-14537-3-git-send-email-nhorman@tuxdriver.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 02/15] make: include whole archive on static
	link
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Apr 2014 09:26:49 -0000

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 <nhorman@tuxdriver.com>

This patch conflicts with Olivier's one:
	http://dpdk.org/browse/dpdk/commit/?id=20afd76a504155e947

-- 
Thomas