From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id A3F301B337 for ; Thu, 12 Oct 2017 15:16:18 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id i124so13014922wmf.3 for ; Thu, 12 Oct 2017 06:16:18 -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=RuaJTUuaG/EY0wTLr/nkD5ZxL0mM8wrPf+n7wMu5AlC1wyPcqFpG6O21SEfq5GOg// sUmefqYks4d9BJaEaQstx6/xGVTH9uJzCBtHaygNYKr3qHMqXn47FDAjHzEC2vzGpwJ/ FJCe0TELUg3XNYXauU/P4s8bkZU0jbyZnm6yULys+vyNQMPh1Fyd8TylU3TL5vbaD7Nh EucrC/nQsXqGYecJ6lOXNCFouSvZZ+u+ZKog9s6axwLhZmzlLa90W+m5xs0AD/xTHlnU KDihXmodgRXd2uUecx2DmTFwovGeWku7DwDRJ9NK+0wmHxIZS/pOZ2v5d4aAbldEyXbY hMYg== 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=qIFJAiXnhE+H0fOdfgV1bTqUH5iJCwhCYxJsUwDQm6y2fgAIniNAgaxEfBAYiwGrWp sWN2mEqh5b+sDDXoc7crIBu1PYx5mPw5zz+LE3serySK/MU7o7DQfR+wjwLoDFq1tuju QacrAvjSb76VbPajbsdLy4bD/33xXQGHy9NOSg3RhVi9GCNO6y67bFpzK004F2MuaZRz mgZexogyUs18yUFgnTsyqfkAOoV4FL+6eDUHzQkejG0MwhDD6yzUBd/sbD+5daGlgVSB HYQD31oBuFts6qzgxz6XihwfZFT9ZIKJLRgfzJ8o2MZdGbANiEyTIxh9yBy2j5v+y40Q 2EXQ== X-Gm-Message-State: AMCzsaXe+5qB4/iUd4EBAa2YcFoDr/jEzcSsU0VfHB9Im+Q8dUrIXQPR hnjF3qLcjVKF+qGpQXR6MVwUQVHO X-Google-Smtp-Source: AOwi7QCnX9OpMTyZjaPwCPoWjlyJMDRKiii1fBYx4bddROggQlmMOIwCSkWjM4vSHZrZr3lq1rV59Q== X-Received: by 10.80.212.208 with SMTP id e16mr2803350edj.263.1507814178144; Thu, 12 Oct 2017 06:16:18 -0700 (PDT) Received: from localhost ([213.251.34.151]) by smtp.gmail.com with ESMTPSA id d49sm10768525edb.79.2017.10.12.06.16.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Oct 2017 06:16:17 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: ferruh.yigit@intel.com, thomas@monjalon.net, Luca Boccassi Date: Thu, 12 Oct 2017 14:15:49 +0100 Message-Id: <20171012131554.1533-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171012131554.1533-1-luca.boccassi@gmail.com> References: <20170905205159.8606-1-luca.boccassi@gmail.com> <20171012131554.1533-1-luca.boccassi@gmail.com> Subject: [dpdk-dev] [PATCH v8 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: Thu, 12 Oct 2017 13:16:18 -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