aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-09 15:46:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-04-09 15:46:58 +0000
commit6890d381665c74c45ae90ce4566697252c3e095e (patch)
tree0e31608cc27ae85e37cf0a85b5af2bbc825cf45a /toolchain
parent3677b415da30fd35517ab9f5b8527a80ed7075f4 (diff)
downloadupstream-6890d381665c74c45ae90ce4566697252c3e095e.tar.gz
upstream-6890d381665c74c45ae90ce4566697252c3e095e.tar.bz2
upstream-6890d381665c74c45ae90ce4566697252c3e095e.zip
uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26547 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch b/toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch
new file mode 100644
index 0000000000..134f57bba1
--- /dev/null
+++ b/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