[glibc/release/2.41/master] hurd: Fix tst-stack2 test build on Hurd
Adhemerval Zanella
azanella@sourceware.org
Fri May 9 13:30:15 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5cf17ebc659c875aff3c49d2a59ce15f46167389
commit 5cf17ebc659c875aff3c49d2a59ce15f46167389
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri May 9 10:19:37 2025 -0300
hurd: Fix tst-stack2 test build on Hurd
It requires $(shared-thread-library). Fixes 0c342594237.
Checked on a i686-gnu build.
(cherry picked from commit f66cb3c9ebcac80b3200c3aff0e3aed6111547ba)
Diff:
---
sysdeps/pthread/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index 17bdd6f49d..7fcbc72bc0 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -543,6 +543,7 @@ $(objpfx)tst-create1: $(shared-thread-library)
$(objpfx)tst-create1.out: $(objpfx)tst-create1mod.so
$(objpfx)tst-stack2.out: $(objpfx)tst-stack2-mod.so
+$(objpfx)tst-stack2-mod.so: $(shared-thread-library)
LDFLAGS-tst-stack2-mod.so = -Wl,-z,execstack
ifeq ($(have-no-error-execstack),yes)
LDFLAGS-tst-stack2-mod.so += -Wl,--no-error-execstack
More information about the Glibc-cvs
mailing list