diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-02-06 12:30:23 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-02-06 12:30:23 -0800 |
commit | 9e7265f4e58e563a1b0c9564f9eb5014ab333c37 (patch) | |
tree | b4cd7716bf678c55d909d82282e17857b3586327 /sysdeps/unix/sysv/linux/Makefile | |
parent | 62ad2abcd6fbcb90cc9f0eea7cf011b83f5e95e2 (diff) | |
download | glibc-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/Makefile | 7 |
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 |