about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-06 12:30:23 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-06 12:30:23 -0800
commit9e7265f4e58e563a1b0c9564f9eb5014ab333c37 (patch)
treeb4cd7716bf678c55d909d82282e17857b3586327 /sysdeps/unix/sysv/linux/Makefile
parent62ad2abcd6fbcb90cc9f0eea7cf011b83f5e95e2 (diff)
downloadglibc-9e7265f4e58e563a1b0c9564f9eb5014ab333c37.tar.gz
glibc-9e7265f4e58e563a1b0c9564f9eb5014ab333c37.tar.xz
glibc-9e7265f4e58e563a1b0c9564f9eb5014ab333c37.zip
NPTL: Build tests using clone directly only for Linux.
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 9f3718b663..c26a12fa11 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -196,5 +196,10 @@ CFLAGS-gai.c += -DNEED_NETLINK
 endif
 
 ifeq ($(subdir),nptl)
-tests += tst-setgetname
+tests += tst-setgetname tst-align-clone tst-getpid1 tst-getpid2
+
+# In this test, we create a CLONE_VM "thread" that shares TLS storage
+# with the original thread. Both threads then race in ld.so with lazy PLT
+# resolution. Avoid this race by disabling lazy binding. BZ #11214.
+tst-getpid2-ENV = LD_BIND_NOW=1
 endif