From d2bb507b50ac1fe76a6a42706b5bd1b6aed703ec Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 9 Apr 2011 15:46:58 +0000 Subject: [PATCH] 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 --- .../uClibc/patches-0.9.32/200-no_forced_unwind.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch 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 000000000..134f57bba --- /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