From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id AFFB2374D for ; Mon, 2 Nov 2015 01:05:20 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 01 Nov 2015 16:05:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,230,1444719600"; d="scan'208";a="592185080" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 01 Nov 2015 16:05:18 -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 tA205Hiq005640; Mon, 2 Nov 2015 00:05:17 GMT Received: from sivlogin002.ir.intel.com (localhost [127.0.0.1]) by sivlogin002.ir.intel.com with ESMTP id tA205HCt005095; Mon, 2 Nov 2015 00:05:17 GMT Received: (from fyigit@localhost) by sivlogin002.ir.intel.com with œ id tA205HaW005091; Mon, 2 Nov 2015 00:05:17 GMT X-Authentication-Warning: sivlogin002.ir.intel.com: fyigit set sender to ferruh.yigit@intel.com using -f Date: Mon, 2 Nov 2015 00:05:17 +0000 From: Ferruh Yigit To: Thomas Monjalon Message-ID: <20151102000517.GA4669@sivlogin002.ir.intel.com> Mail-Followup-To: Thomas Monjalon , dev@dpdk.org, Eric Kinzie References: <1706989.WgznurFLZ8@xps13> <1446419842-22920-1-git-send-email-ferruh.yigit@intel.com> <4489406.qekDmzhmkY@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4489406.qekDmzhmkY@xps13> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: dev@dpdk.org, Eric Kinzie Subject: Re: [dpdk-dev] [PATCH] 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 00:05:21 -0000 On Mon, Nov 02, 2015 at 12:24:51AM +0100, Thomas Monjalon wrote: > > ifeq ($(LINK_USING_CC),1) > > # Override the definition of LD here, since we're linking with CC > > LD := $(CC) $(CPU_CFLAGS) > > -O_TO_S = $(LD) $(call linkerprefix,$(CPU_LDFLAGS)) \ > > +O_TO_S = $(LD) $(call linkerprefix,$(SHARED_LDFLAGS)) \ > > -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE) > > else > > -O_TO_S = $(LD) $(CPU_LDFLAGS) \ > > +O_TO_S = $(LD) $(SHARED_LDFLAGS) \ > > -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE) > > endif > > Why do you remove CPU_LDFLAGS? CPU_LDFLAGS shared by other libraries and confilicts with this usage.