From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id CF7076A9B for ; Thu, 2 Oct 2014 17:49:40 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 02 Oct 2014 08:56:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,639,1406617200"; d="scan'208";a="599871281" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 02 Oct 2014 08:56:27 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s92FuQ1w020616 for ; Thu, 2 Oct 2014 16:56:26 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s92FuQok026327 for ; Thu, 2 Oct 2014 16:56:26 +0100 Received: (from smonroy@localhost) by sivswdev02.ir.intel.com with id s92FuQlf026323 for dev@dpdk.org; Thu, 2 Oct 2014 16:56:26 +0100 From: Sergio Gonzalez Monroy To: dev@dpdk.org Date: Thu, 2 Oct 2014 16:56:22 +0100 Message-Id: <1412265386-26291-1-git-send-email-sergio.gonzalez.monroy@intel.com> X-Mailer: git-send-email 1.8.5.4 Subject: [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: Thu, 02 Oct 2014 15:49:41 -0000 When building DPDK with CONFIG_RTE_BUILD_COMBINE_LIBS=y, the result is not the expected behavior. - It does link the combine library using LD instead of CC which results in application linking errors. - It creates both individual libraries and combine library, then linking applications against all of them. This patch set aims to fix those issues. The last patch 'cleanup', in my opinion, simplifies and removes duplication of rules. It is not required for fixing the issues mentioned above. Sergio Gonzalez Monroy (4): Link combined shared library using CC Do not generate individual libs when configured with RTE_BUILD_COMBINE_LIBS=y Link apps only against combined lib or individual libs, not both Cleanup mk/rte.app.mk | 13 +++++--- mk/rte.lib.mk | 90 +++++++++++++----------------------------------------- mk/rte.sharelib.mk | 47 ++++++++++++++-------------- 3 files changed, 54 insertions(+), 96 deletions(-) Signed-off-by: Sergio Gonzalez Monroy -- 1.9.3