From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 16AB07E8A for ; Wed, 8 Oct 2014 17:49:51 +0200 (CEST) Received: by mail-wi0-f177.google.com with SMTP id fb4so11046243wid.10 for ; Wed, 08 Oct 2014 08:57:08 -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=OV9O3WcsSgbNtNh0hv3NGLHbnaiLdOoPvtLAfQIJyAw=; b=Xzojy7T+flmpIt5AvZQxyUIutY18wlJFbIsAh3gflVCrWEAJAyTxu3wtv9ZQcvmlP6 uQ23t4pvi7EmMRX1zeSD71Mj92SYgHISTfotLVDKHxB4Vm+Cxvdi99a2voMuUo0d4jZA G+vMPfAxYu8SK1b4eXZvIwdtO1sCf37ejFam4foFXnty/QHb2q3q0HF+G7CD+aowDzbW njsuTUINLJuIuq/I+7m3mVp1P6Lc5fmedha0AHyWFuOZUJg/rheUT3ip6hvIO1NeGnEO wpceQCtyzn/5/S1TpFVpzEvRRpzTj4Emf+cQQ+Fidx5ApSKTCxr6OZB0xxtvmgMnbnsp 4x4A== X-Gm-Message-State: ALoCoQm2dKvGsAkyJvrROrG4D+x1dkMyVn8/FvHlBzq7hPcUvP1pPvWAoP4RmwJLEEWK50gciPg8 X-Received: by 10.180.218.99 with SMTP id pf3mr35360022wic.19.1412783828894; Wed, 08 Oct 2014 08:57:08 -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 h4sm551903wjb.9.2014.10.08.08.57.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Oct 2014 08:57:08 -0700 (PDT) From: Thomas Monjalon To: michal Date: Wed, 08 Oct 2014 17:56:52 +0200 Message-ID: <235464551.uErmHRScDO@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1412628980-11748-1-git-send-email-michal.bella.78@gmail.com> References: <1412628980-11748-1-git-send-email-michal.bella.78@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mk: link combined shared library with compiler to enable elf ctors 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, 08 Oct 2014 15:49:51 -0000 Hi, Sergio's patchset provides a fixed version of this patch: http://dpdk.org/dev/patchwork/patch/715/ 2014-10-06 22:56, michal: > From: Michal Bella > > Signed-off-by: michal > --- > mk/rte.sharelib.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mk/rte.sharelib.mk b/mk/rte.sharelib.mk > index c0a811a..a315d98 100644 > --- a/mk/rte.sharelib.mk > +++ b/mk/rte.sharelib.mk > @@ -45,7 +45,7 @@ sharelib: $(LIB_ONE) FORCE > > OBJS = $(wildcard $(RTE_OUTPUT)/build/lib/*.o) > > -O_TO_S = $(LD) $(CPU_LDFLAGS) -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE) > +O_TO_S = $(CC) $(CPU_LDFLAGS) -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE) > O_TO_S_STR = $(subst ','\'',$(O_TO_S)) #'# fix syntax highlight > O_TO_S_DISP = $(if $(V),"$(O_TO_S_STR)"," LD $(@)") > O_TO_S_CMD = "cmd_$@ = $(O_TO_S_STR)"