diff options
author | Arsen Arsenović <arsen@gentoo.org> | 2023-07-19 21:24:37 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2023-07-20 12:24:28 +0200 |
commit | 3edca7f545d226bfbf553e676e22cbfec14adfe8 (patch) | |
tree | 3db33c6a0e7cf08949bd1bdf46a92d16fe5604eb | |
parent | 3edc4ff2ceff4a59587ebecb94148d3bcfa1df62 (diff) | |
download | glibc-3edca7f545d226bfbf553e676e22cbfec14adfe8.tar.gz glibc-3edca7f545d226bfbf553e676e22cbfec14adfe8.tar.xz glibc-3edca7f545d226bfbf553e676e22cbfec14adfe8.zip |
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>
-rw-r--r-- | nptl/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 |