From: Florian Weimer Date: Mon, 31 Mar 2025 19:33:18 +0000 (+0200) Subject: x86: Link tst-gnu2-tls2-x86-noxsave{,c,xsavec} with libpthread X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e925c13e039df061c7bf48e458e9ea26fa3ca8a3;p=thirdparty%2Fglibc.git x86: Link tst-gnu2-tls2-x86-noxsave{,c,xsavec} with libpthread 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 (cherry picked from commit c6e2895695118ab59c7b17feb0fcb75a53e3478c) (cherry picked from commit 837a36c371f18a3152d032e8060f4e5120c25e2b) --- diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index e4286a7acd..b76b72ca4d 100644 --- a/sysdeps/x86/Makefile +++ b/sysdeps/x86/Makefile @@ -102,6 +102,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: \