]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86: Link tst-gnu2-tls2-x86-noxsave{,c,xsavec} with libpthread
authorFlorian Weimer <fweimer@redhat.com>
Mon, 31 Mar 2025 19:33:18 +0000 (21:33 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 31 Mar 2025 19:33:18 +0000 (21:33 +0200)
This fixes a test build failure on Hurd.

Fixes commit 145097dff170507fe73190e8e41194f5b5f7e6bf ("x86: Use separate
variable for TLSDESC XSAVE/XSAVEC state size (bug 32810)").

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/x86/Makefile

index 8819fba1b7164f45f4a4113b8c23a4b9e7a14e74..01b0192ddf5e23ca7bca2c46b65ea8cb8ce67bf8 100644 (file)
@@ -104,6 +104,9 @@ LDFLAGS-tst-gnu2-tls2-x86-noxsavexsavec += -Wl,-z,lazy
 tst-gnu2-tls2-x86-noxsave-ENV = GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVE
 tst-gnu2-tls2-x86-noxsavec-ENV = GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVEC
 tst-gnu2-tls2-x86-noxsavexsavec-ENV = GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVE,-XSAVEC
+$(objpfx)tst-gnu2-tls2-x86-noxsave: $(shared-thread-library)
+$(objpfx)tst-gnu2-tls2-x86-noxsavec: $(shared-thread-library)
+$(objpfx)tst-gnu2-tls2-x86-noxsavexsavec: $(shared-thread-library)
 $(objpfx)tst-gnu2-tls2-x86-noxsave.out \
 $(objpfx)tst-gnu2-tls2-x86-noxsavec.out \
 $(objpfx)tst-gnu2-tls2-x86-noxsavexsavec.out: \