Browse Source

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

SVN-Revision: 26547
Felix Fietkau 15 years ago
parent
commit
3ae4dec6b2
1 changed files with 10 additions and 0 deletions
  1. 10 0
      toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch

+ 10 - 0
toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch

@@ -0,0 +1,10 @@
+--- a/Rules.mak
++++ b/Rules.mak
+@@ -639,7 +639,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