about summary refs log tree commit diff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorMartin Sebor <msebor@gcc.gnu.org>2015-07-09 19:25:38 -0400
committerMartin Sebor <msebor@gcc.gnu.org>2015-07-09 19:27:06 -0400
commit203c1a898dd2e281eae30f3c57ceb8d4a50b00f4 (patch)
tree361cc14f5511e02bbd500aed53ec5313714cfdb8 /nptl/Makefile
parent2193ce8746ec11b2325cc55aa8f338d5872492bf (diff)
downloadglibc-203c1a898dd2e281eae30f3c57ceb8d4a50b00f4.tar.gz
glibc-203c1a898dd2e281eae30f3c57ceb8d4a50b00f4.tar.xz
glibc-203c1a898dd2e281eae30f3c57ceb8d4a50b00f4.zip
The patch committed to fix bug #18435 caused regressions on aarch64
and also powerpc64 and powerpc64le. See the discussion in the thread
below for details. This change reverts the problematic bits leaving
the added test in place and marking XFAIL in anticipation of fixing
the bug in the near future.
https://sourceware.org/ml/libc-alpha/2015-07/msg00141.html

	[BZ #18435]
	* nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
	Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
	* nptl/Makefile (test-xfail-tst-once5): Define.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 4544aa2947..5bc4ad1d22 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -288,6 +288,10 @@ xtests = tst-setuid1 tst-setuid1-static tst-setuid2 \
 	tst-mutexpp1 tst-mutexpp6 tst-mutexpp10
 test-srcs = tst-oddstacklimit
 
+# Test expected to fail on most targets (except x86_64) due to bug
+# 18435 - pthread_once hangs when init routine throws an exception.
+test-xfail-tst-once5 = yes
+
 # Files which must not be linked with libpthread.
 tests-nolibpthread = tst-unload