From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id 2A17071 for ; Wed, 1 Oct 2014 13:49:32 +0200 (CEST) Received: by mail-wi0-f178.google.com with SMTP id cc10so313716wib.5 for ; Wed, 01 Oct 2014 04:56: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=Swvu0BZX+m1hRUZZCp8xz4blAou6jHzeSsTSJPVp02k=; b=Ki00O3wwzaeyqw2w7onTkKselRgFcFHt4C19Mnps8H8LAk627JWT+N6jWfAMU5p2Nd KPyA5kh/aqL+1q61wHf11UkR8VkKLf+lqQB06iPQ32tvmo3B3bww0diM5TlMTAMpjNqI yGyaHB202GoMgkfZSyWkFyrZh6W2yj/HIOQcpgdZPoa6w9rD/GF85DbiyzpRx0NO3qXl 8c8mciap36vKLEdbH0zdwDwWC0KokbPVTzuyzMfFka4I4SDqfLiGQYuP7aTi9QGuRYxW sHzDc7wKrWUupTAsw+w1/YaoZlMeg/mlTPRldi/NgIq3/s9DOfeyr2gbUIBdv+pShCiU j5WA== X-Gm-Message-State: ALoCoQlCL68QSPSElYYIca9FdvKwG9Hh3EVSPUG+2lxrV80M2SiWl9qQXwu4hGEs/351n0SKwq+d X-Received: by 10.180.95.35 with SMTP id dh3mr13503795wib.24.1412164577052; Wed, 01 Oct 2014 04:56:17 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id bg10sm892618wjc.47.2014.10.01.04.56.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Oct 2014 04:56:16 -0700 (PDT) From: Thomas Monjalon To: mukawa@igel.co.jp Date: Wed, 01 Oct 2014 13:56:04 +0200 Message-ID: <3354420.dnXLPNUCVP@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <20141001105022.GB21151@hmsreliant.think-freely.org> References: <1412137623-18817-1-git-send-email-mukawa@igel.co.jp> <20141001105022.GB21151@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] Fix linking errors when CONFIG_RTE_BUILD_SHARED_LIB is enabled 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: Wed, 01 Oct 2014 11:49:32 -0000 2014-10-01 06:50, Neil Horman: > On Wed, Oct 01, 2014 at 01:27:03PM +0900, mukawa@igel.co.jp wrote: > > When CONFIG_RTE_BUILD_SHARED_LIB is enabled, linking errors occured > > while compiling. It seems those errors are caused by wrong link order > > of some libraries. The patch fixes it like following. > > > > 1. librte_eal > > 2. librte_malloc > > 3. librte_mempool > > 4. librte_ring > > 5. librte_pmd_bond > > 6. librte_kvargs > > > I'm not sure why thats necesecary. We add a --start-group/--end-group pair > halfway through this makefile. If we just encompassed the entire set of > libraries in that group, order would be irrelevant. I don't see any error. Please Tetsuya, could you describe how you test and what is the error message? Thanks -- Thomas