[PATCH 9/9] Rules.mak: disable forced unwind on NPTL.

Florian Fainelli florian at openwrt.org
Fri Sep 21 15:29:19 UTC 2012


From: Felix Fietkau <nbd at openwrt.org>

forced unwind for pthread_cancel handling is broken and triggers spurious
abort() calls from libgcc. Disable it and use the other method instead.

Signed-off-by: Felix Fietkau <nbd at openwrt.org>
---
 Rules.mak |    1 -
 1 file changed, 1 deletion(-)

diff --git a/Rules.mak b/Rules.mak
index b92b6ef..ef717cd 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -719,7 +719,6 @@ endif
 ifeq ($(UCLIBC_HAS_THREADS),y)
 ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
 	PTNAME := nptl
-	CFLAGS += -DHAVE_FORCED_UNWIND
 else
 ifeq ($(LINUXTHREADS_OLD),y)
 	PTNAME := linuxthreads.old
-- 
1.7.9.5



More information about the uClibc mailing list