From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 72E5A5A6B for ; Mon, 2 Nov 2015 08:31:39 +0100 (CET) Received: by wmff134 with SMTP id f134so52556697wmf.0 for ; Sun, 01 Nov 2015 23:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=y/peVvP4zx5rP6E75g8Xb/QAhKA5kVrpNyl0k+RvtCs=; b=pjAblxKSmIwa858uHirQCgr226bu/Z6nyCQW9CA21Hv8FyYRiomIHU58zpcbdJ7KwE TB7xKo9N/kO05wD0nSsSqRr7H/OaVg1LEUcJIYATPNQ4GSURGA8Hjd8MaJCzBckVxKSG Fz2MQ9QIoUOnvqtqSF5ea4GS9Ugb8jOfblDwSyy7HGujzSvIXPs5np0fwYtyOWO6sedy Mk4F3270ZlBKP/RvkqLVDXWHSb0hqDeroNDsgZGZM3/SgxfePcg1G8LUngK9PxHmF5Jq a/mze7ZMfAq394w9lBIY+w+SG7B5CLiTz3exupNPT1RUzi9TJQ64Kz2/TH/DG4FcNn1P QrOg== 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=y/peVvP4zx5rP6E75g8Xb/QAhKA5kVrpNyl0k+RvtCs=; b=QdvXvYnztlDblnaCic3LNDCkMelCQcCphPFN4Uu4SeZWLR3gRryeanv0eh7Lvxn7dm Mn0/qUdrcDmGzFwuvPq1Old4wvIBJ+bt9gtlkhX1WkevBFyYV0HWWvZWQ5+32udq5Xkm ryHYjxSCNhlBZ36sT7EJAsTCmx/xUxrjO4cPHLWv6ZxQORocHSRcZYAVVz17kRgO+D+T Jy+o/1v5mX1L9bX5TGEUhQJgCGT4nQS7xJaS7x8xfPuv5k4cZ9s6ZqnNznfpOQlQ7GXZ M79aordr24oILUL0qlJx4PIejcj8C30gCdryxKk7qbaXEZw0/39WJyQkpwDaPMRqCPvQ STlg== X-Gm-Message-State: ALoCoQmDeSOnnJqHixsSPw39MURLxmrq1+oYlZsngTjKqh2rFTohvpXEceNF5zvi5btQdPfDlxNr X-Received: by 10.28.16.1 with SMTP id 1mr10984610wmq.57.1446449499307; Sun, 01 Nov 2015 23:31:39 -0800 (PST) Received: from xps13.localnet (158.20.90.92.rev.sfr.net. [92.90.20.158]) by smtp.gmail.com with ESMTPSA id l1sm16479817wmg.21.2015.11.01.23.31.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Nov 2015 23:31:38 -0800 (PST) From: Thomas Monjalon To: Ferruh Yigit Date: Mon, 02 Nov 2015 08:10:25 +0100 Message-ID: <4832819.EtRlJavyLu@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20151102000517.GA4669@sivlogin002.ir.intel.com> References: <1706989.WgznurFLZ8@xps13> <4489406.qekDmzhmkY@xps13> <20151102000517.GA4669@sivlogin002.ir.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 07:31:39 -0000 2015-11-02 00:05, Ferruh Yigit: > 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. Sorry I don't understand. CPU_LDFLAGS is -melf_i386 for Intel 32-bit. Why removing it for combined library? What is the conflict?