From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7910) id 9D8B43858CDB; Thu, 20 Jul 2023 10:24:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D8B43858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689848697; bh=4Q0fcSNcRYHoDgA0R1T2zcXCN+dNNFqyycw7rCmWR/k=; h=From:To:Subject:Date:From; b=UTZ7cTBEMgwYCSLFsFd42ACZ3pODXXpwZFjr7r6Zty11LXmw1XcG4hx5X/2sh3wN5 KpygrFGT7l+0S39Vx0WrUaMZTmyuX8mBLlQPCdsLDPuRMzPdrKsAAHAj57sQEW75cn l0OBBse61Uns4OYA9XV+/xW825uvsUnnLi7UAqfI= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Andreas K. Huttel To: glibc-cvs@sourceware.org Subject: [glibc] nptl: Make tst-tls3mod.so explicitly lazy X-Act-Checkin: glibc X-Git-Author: =?utf-8?q?Arsen_Arsenovi=C4=87?= X-Git-Refname: refs/heads/master X-Git-Oldrev: 3edc4ff2ceff4a59587ebecb94148d3bcfa1df62 X-Git-Newrev: 3edca7f545d226bfbf553e676e22cbfec14adfe8 Message-Id: <20230720102457.9D8B43858CDB@sourceware.org> Date: Thu, 20 Jul 2023 10:24:57 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3edca7f545d226bfbf553e676e22cbfec14adfe8 commit 3edca7f545d226bfbf553e676e22cbfec14adfe8 Author: Arsen Arsenović Date: Wed Jul 19 21:24:37 2023 +0200 nptl: Make tst-tls3mod.so explicitly lazy Fixes the following test-time errors, that lead to FAILs, on toolchains that set -z now out o the box, such as the one used on Gentoo Hardened: .../build-x86-x86_64-pc-linux-gnu-nptl $ grep '' nptl/tst-tls3*.out nptl/tst-tls3.out:dlopen failed nptl/tst-tls3-malloc.out:dlopen failed Reviewed-by: Florian Weimer Signed-off-by: Andreas K. Hüttel Diff: --- nptl/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/nptl/Makefile b/nptl/Makefile index f8365467d9..ffa5722e48 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -636,6 +636,7 @@ $(objpfx)tst-cleanup4: $(objpfx)tst-cleanup4aux.o $(objpfx)tst-cleanupx4: $(objpfx)tst-cleanupx4aux.o LDFLAGS-tst-tls3 = -rdynamic +LDFLAGS-tst-tls3mod.so = -Wl,-z,lazy $(objpfx)tst-tls3.out: $(objpfx)tst-tls3mod.so LDFLAGS-tst-tls3-malloc = -rdynamic