nptl: Make tst-tls3mod.so explicitly lazy
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
warning
|
Patch failed to apply
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
warning
|
Patch failed to apply
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
warning
|
Patch failed to apply
|
Commit Message
From: Arsen Arsenović <arsen@gentoo.org>
Fixes the following test-time errors, that lead to FAILs, on toolchains
that set -z now out of 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
---
Hi,
I've been testing glibc in preparation for 2.38 and spotted two more
test failures caused by a lack of -z lazy, similar to those fixed by
6c7388d0b95ef9ae39fbe6f733e2c5049769c4f9.
This patch fixes those FAILs.
Have a lovely day!
nptl/Makefile | 1 +
1 file changed, 1 insertion(+)
@@ -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