summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-08-28 14:17:43 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-08-28 14:17:43 +0000
commitc6c48dee8cd496dbb2228b416f8f736c00919176 (patch)
treeccfdabed568296e3c04e67df31e935412f0037fe /sys-libs/libunwind/files
parentAdd ~x86-fbsd, bug #379449 (diff)
downloadgentoo-2-c6c48dee8cd496dbb2228b416f8f736c00919176.tar.gz
gentoo-2-c6c48dee8cd496dbb2228b416f8f736c00919176.tar.bz2
gentoo-2-c6c48dee8cd496dbb2228b416f8f736c00919176.zip
Version bump; port disable-setjmp patch (and simplify); add debug USE flag.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libunwind/files')
-rw-r--r--sys-libs/libunwind/files/libunwind-1.0-disable-setjmp.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-libs/libunwind/files/libunwind-1.0-disable-setjmp.patch b/sys-libs/libunwind/files/libunwind-1.0-disable-setjmp.patch
new file mode 100644
index 000000000000..6b83dbbd780a
--- /dev/null
+++ b/sys-libs/libunwind/files/libunwind-1.0-disable-setjmp.patch
@@ -0,0 +1,42 @@
+http://cvs.fedoraproject.org/viewvc/rpms/libunwind/devel/libunwind-disable-setjmp.patch?revision=1.1&view=markup
+http://bugs.gentoo.org/show_bug.cgi?id=299344
+
+At least x86_64 version cannot work, src/setjmp/setjmp.c and
+src/setjmp/sigsetjmp.c are not even compiled, src/x86_64/longjmp.S does not
+match src/setjmp/setjmp.c + include/tdep-x86_64/jmpbuf.h .
+
+Index: libunwind-1.0/src/Makefile.am
+===================================================================
+--- libunwind-1.0.orig/src/Makefile.am
++++ libunwind-1.0/src/Makefile.am
+@@ -9,7 +9,7 @@ lib_LIBRARIES =
+ lib_LTLIBRARIES =
+ if !REMOTE_ONLY
+ lib_LIBRARIES += libunwind-ptrace.a
+-lib_LTLIBRARIES += libunwind.la libunwind-setjmp.la
++lib_LTLIBRARIES += libunwind.la #libunwind-setjmp.la
+ endif
+
+ noinst_HEADERS =
+Index: libunwind-1.0/tests/Makefile.am
+===================================================================
+--- libunwind-1.0.orig/tests/Makefile.am
++++ libunwind-1.0/tests/Makefile.am
+@@ -27,7 +27,7 @@ if ARCH_IA64
+ Gia64-test-nat Lia64-test-nat \
+ Gia64-test-rbs Lia64-test-rbs \
+ Gia64-test-readonly Lia64-test-readonly \
+- ia64-test-setjmp ia64-test-sig
++ ia64-test-sig
+ else
+ if ARCH_PPC64
+ if USE_ALTIVEC
+@@ -44,7 +44,7 @@ endif #ARCH_IA64
+ Gtest-dyn1 Ltest-dyn1 \
+ Gtest-trace Ltest-trace \
+ test-async-sig test-flush-cache test-init-remote \
+- test-mem test-setjmp test-ptrace \
++ test-mem test-ptrace \
+ Ltest-nomalloc Ltest-nocalloc rs-race
+ noinst_PROGRAMS_cdep = forker mapper test-ptrace-misc \
+ Gperf-simple Lperf-simple