From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id B9C3B5A57 for ; Tue, 9 Jun 2015 16:17:43 +0200 (CEST) Received: by wifx6 with SMTP id x6so18614810wif.0 for ; Tue, 09 Jun 2015 07:17:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=U3v25ESRUO+K6B95KnjA+mBPP+I6aHaM9ETI0Iok7j0=; b=krGrxVEIyFdJ0DL4jjEvdxJvoeOVmnDO14XWBxyR9+ZMzCJ8FZ9htNDjpCjH4Pu8z+ Z+UZ1/ucjiom48TEKhmFILIH4N3MJ5sMrDVD0G4AjxNXylEE74VOVZCtHkT6NCP1w6y/ WF3GW/3nexp9XiywilWPadZnQj6Ku0ImvMVMSgYOs8xN9OAFuhqS+fEGzKjdroA9d+cw xNiC5pq30uLshSt1COm0VoHOHpWM9ZlmKlfTZj9owFAGLpS422uw1ksoypj2XMqdhGy9 ZO199aJl6YWZ8uHLuGV3jGPlpatBuTkd1YeDFE87cxG+t6fZ9HDduM4QkkXSRr9gUBQt pR5g== X-Gm-Message-State: ALoCoQnhb6fL2eSicLkpb3HewmrKw6vIG4q+Y8tvZTqnu5ui3MKIyNWUtbUsPb3dwMAMWhGW22mV X-Received: by 10.180.87.105 with SMTP id w9mr8810956wiz.32.1433859463599; Tue, 09 Jun 2015 07:17:43 -0700 (PDT) Received: from [10.16.0.195] (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id gz3sm3185399wib.0.2015.06.09.07.17.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jun 2015 07:17:42 -0700 (PDT) Message-ID: <5576F581.3040604@6wind.com> Date: Tue, 09 Jun 2015 16:17:37 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: Bruce Richardson , dev@dpdk.org References: <1433502340-14725-1-git-send-email-bruce.richardson@intel.com> <1433854261-9079-1-git-send-email-bruce.richardson@intel.com> In-Reply-To: <1433854261-9079-1-git-send-email-bruce.richardson@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] mk: remove "u" modifier from "ar" command 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: Tue, 09 Jun 2015 14:17:43 -0000 Hi Bruce, On 06/09/2015 02:51 PM, Bruce Richardson wrote: > On Fedora 22, the "ar" binary operates by default in deterministic mode, > making the "u" parameter irrelevant, and leading to warning messages > getting printed in the build output like below. > > INSTALL-LIB librte_kvargs.a > ar: `u' modifier ignored since `D' is the default (see `U') > > There are two options to remove these warnings: > * add in the "U" flag to make "ar" non-deterministic again > * remove the "u" flag to have all objects always updated > > This patch takes the second approach. It also explicitly adds in the "D" > flag to make behaviour consistent across different distributions which > may have different defaults. > > Signed-off-by: Bruce Richardson Acked-by: Olivier Matz > > --- > V2 Changes: Add in "D" flag for consistency across distros. > --- > mk/rte.lib.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk > index 0d7482d..25aa989 100644 > --- a/mk/rte.lib.mk > +++ b/mk/rte.lib.mk > @@ -70,7 +70,7 @@ else > _CPU_LDFLAGS := $(CPU_LDFLAGS) > endif > > -O_TO_A = $(AR) crus $(LIB) $(OBJS-y) > +O_TO_A = $(AR) crDs $(LIB) $(OBJS-y) > O_TO_A_STR = $(subst ','\'',$(O_TO_A)) #'# fix syntax highlight > O_TO_A_DISP = $(if $(V),"$(O_TO_A_STR)"," AR $(@)") > O_TO_A_CMD = "cmd_$@ = $(O_TO_A_STR)" >