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 294948D99 for ; Mon, 2 Nov 2015 20:18:52 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 02 Nov 2015 11:18:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,236,1444719600"; d="scan'208";a="825157528" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 02 Nov 2015 11:18:46 -0800 Received: from sivlogin002.ir.intel.com (sivlogin002.ir.intel.com [10.237.217.37]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id tA2JIjMJ000466; Mon, 2 Nov 2015 19:18:45 GMT Received: from sivlogin002.ir.intel.com (localhost [127.0.0.1]) by sivlogin002.ir.intel.com with ESMTP id tA2JIjl3027904; Mon, 2 Nov 2015 19:18:45 GMT Received: (from fyigit@localhost) by sivlogin002.ir.intel.com with œ id tA2JIje4027900; Mon, 2 Nov 2015 19:18:45 GMT X-Authentication-Warning: sivlogin002.ir.intel.com: fyigit set sender to ferruh.yigit@intel.com using -f Date: Mon, 2 Nov 2015 19:18:45 +0000 From: Ferruh Yigit To: Thomas Monjalon Message-ID: <20151102191845.GA22056@sivlogin002.ir.intel.com> Mail-Followup-To: Thomas Monjalon , dev@dpdk.org, Eric Kinzie References: <20151102102023.GA29052@sivlogin002.ir.intel.com> <1446477827-11541-1-git-send-email-ferruh.yigit@intel.com> <2999923.OMi2XSDyte@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2999923.OMi2XSDyte@xps13> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: dev@dpdk.org, Eric Kinzie Subject: Re: [dpdk-dev] [PATCH v2] mk: fix ABI versioning compile error for combined shared library 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: Mon, 02 Nov 2015 19:18:52 -0000 On Mon, Nov 02, 2015 at 05:26:21PM +0100, Thomas Monjalon wrote: > 2015-11-02 15:23, Ferruh Yigit: > > +ifeq ($(COMBINED_BUILD),1) > > include $(RTE_SDK)/mk/rte.sharelib.mk > > +endif > > Why this ifeq? > rte.sharelib.mk is always used for combined lib. > When combine lib config selected, other libraries still build And all libraris include sharelib.mk This cause CPU_LDFLAGS conflict, the CPU_LDFLAGS set specially for combined lib used by all libraries. When not linking combined library, there is no need/benefit of including sharelib.mk COMBINED_BUILD only set when linking combined library and that is when sharelib.mk included I can try to prevent linking other libraries when combined library enabled, then sharelib.mk included only for combined lib, and we can remove that check. But I am not sure how hard it is, and does it worth spending extra effort to it? Thanks, ferruh