mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
Normally for 'performance', nptl uses the _Unwind_ForcedUnwind() function, which is provided by GCC. However, this function depends on libunwind tracking all register state, which neither libunwind itself (which we do not want as a core dependency) or GCC's libunwind support register state on some newer x86 CPUs fully. Thusly, we turn off the unwind-using code and return to using the traditional cleanup functions.
11 lines
271 B
Diff
11 lines
271 B
Diff
--- uClibc-0.9.33.2.orig/Rules.mak
|
|
+++ uClibc-0.9.33.2/Rules.mak
|
|
@@ -707,7 +707,6 @@
|
|
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
|