From mboxrd@z Thu Jan 1 00:00:00 1970 From: luca.boccassi@gmail.com Subject: [PATCH v7 1/6] mk: sort list of shared objects in linker script Date: Tue, 5 Sep 2017 21:51:54 +0100 Message-ID: <20170905205159.8606-2-luca.boccassi@gmail.com> References: <20170905205159.8606-1-luca.boccassi@gmail.com> Cc: ferruh.yigit@intel.com, Luca Boccassi To: dev@dpdk.org 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) In-Reply-To: <20170905205159.8606-1-luca.boccassi@gmail.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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