mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
Fix intermittent failure in tst-getpid2.
2013-11-25 Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #11214] * Makefile (tst-getpid2-ENV): New variable.
This commit is contained in:
parent
63cfe52b6d
commit
67ea2c9a69
@ -1,3 +1,8 @@
|
||||
2013-11-25 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
[BZ #11214]
|
||||
* Makefile (tst-getpid2-ENV): New variable.
|
||||
|
||||
2013-11-20 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
* Makefile (tst-cleanup2, tst-cleanupx2): Add -fno-builtin
|
||||
|
@ -447,6 +447,11 @@ tst-cancel7-ARGS = --command "exec $(host-test-program-cmd)"
|
||||
tst-cancelx7-ARGS = $(tst-cancel7-ARGS)
|
||||
tst-umask1-ARGS = $(objpfx)tst-umask1.temp
|
||||
|
||||
# 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
|
||||
|
||||
$(objpfx)tst-atfork2: $(libdl) $(shared-thread-library)
|
||||
LDFLAGS-tst-atfork2 = -rdynamic
|
||||
tst-atfork2-ENV = MALLOC_TRACE=$(objpfx)tst-atfork2.mtrace
|
||||
|
Loading…
Reference in New Issue
Block a user