From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 41D8D2BF3 for ; Tue, 5 Sep 2017 22:52:38 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id a47so2239957wra.2 for ; Tue, 05 Sep 2017 13:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ggR2ruovi42V5YpoTDfSvhrI+LrO8q1fV+VAKkFVMkQ=; b=nA5f626DzlQYKx20yWoef6ta2EQ8N2iNRQKBlqxaSq96fVdJYHAqIUeAj6DdC1QBSc h21z+DyFTRkUyRqRZLjhiDIes2POgpDiy89cqt/X8XWZW4AkvJpshJj6GY9HoS0JHzhW uG91K4bamRM52+TKskrTCW1lmI4c8Tr/+dESdnT9oEN0tRLzyxmUNtVjtOadg1zBZv3T WBQPNlzUuKW216Y95ltkUMqfe08CR0Wp9YBa0Dg6yx6fbL32Ue7PL0P2mRsrLY72xEaS uttVNBthf+8Vi2dLoRu8yEHWOV8CRIBBiUztbc0DuSAoO6EOsS0b+BcXnXNUJ9Qczq95 RIvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ggR2ruovi42V5YpoTDfSvhrI+LrO8q1fV+VAKkFVMkQ=; b=E8oZze01CgHIs3U8QCsUrqbOOFh8CPa2hMcH9mSzRQ4+Wm9xuHafxOepoT/aTDl4Hh zqdGnhX2RBk4kOV3UB6eQNfv3LNJX/PcxwCQIInwyROPOA1JWgEgEMcx7ehmoxnqjz7R 8cEw8gIie4b+tZVPyegC5syL9FimalGyjFzhuRIa24Bbzap862xc6XWfQk9qpj+rMgyo /aMvzhoSJKRcXBEhZryheaTA8fzq4antU0yu1XTGL7LibzaW5d48L5EGV6GJo67+TLkP HO0BOyQlIjgI2gEITRL4GP9CF0MhjF+uNjrlS6k7ucu52CbJL2CUbKwsEh7DF7FR8JbB hxbA== X-Gm-Message-State: AHPjjUiIe6XoLC/djSk0bCPxMo2mV3cikC4RMwHvZ3vRwf5rqaWh/zwN crPZTwaih7sSIadIxb0= X-Google-Smtp-Source: ADKCNb68XIGLmRnCurTMmc7K+MFPjme7ZiRrDzGtLIRyOmCBHuZ6XvjC4QiA8OOqxOsPXtTD4a5diA== X-Received: by 10.223.196.73 with SMTP id a9mr176642wrg.144.1504644757744; Tue, 05 Sep 2017 13:52:37 -0700 (PDT) Received: from localhost ([2a00:23c5:bef3:400:4a51:b7ff:fe0b:4749]) by smtp.gmail.com with ESMTPSA id j4sm1061798wrg.96.2017.09.05.13.52.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Sep 2017 13:52:37 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Luca Boccassi Date: Tue, 5 Sep 2017 21:51:54 +0100 Message-Id: <20170905205159.8606-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170905205159.8606-1-luca.boccassi@gmail.com> References: <20170905205159.8606-1-luca.boccassi@gmail.com> Subject: [dpdk-dev] [PATCH v7 1/6] mk: sort list of shared objects in linker script X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 20:52:38 -0000 From: Luca Boccassi The output of wildcard might not be stable and depend on the filesystem and other factors. This means the content libdpdk.so linker script might change between builds from the same sources. Run the list through sort to ensure reproducibility. Signed-off-by: Luca Boccassi --- mk/rte.combinedlib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.combinedlib.mk b/mk/rte.combinedlib.mk index 449358b33..2ab7ee8a1 100644 --- a/mk/rte.combinedlib.mk +++ b/mk/rte.combinedlib.mk @@ -42,7 +42,7 @@ endif RTE_LIBNAME := dpdk COMBINEDLIB := lib$(RTE_LIBNAME)$(EXT) -LIBS := $(filter-out $(COMBINEDLIB), $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT)))) +LIBS := $(filter-out $(COMBINEDLIB), $(sort $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT))))) all: FORCE $(Q)echo "GROUP ( $(LIBS) )" > $(RTE_OUTPUT)/lib/$(COMBINEDLIB) -- 2.11.0