public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] nptl: Make tst-tls3mod.so explicitly lazy
@ 2023-07-20 10:24 Andreas K. Huttel
  0 siblings, 0 replies; only message in thread
From: Andreas K. Huttel @ 2023-07-20 10:24 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3edca7f545d226bfbf553e676e22cbfec14adfe8

commit 3edca7f545d226bfbf553e676e22cbfec14adfe8
Author: Arsen Arsenović <arsen@gentoo.org>
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 <fweimer@redhat.com>
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-20 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-20 10:24 [glibc] nptl: Make tst-tls3mod.so explicitly lazy Andreas K. Huttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).