From 7c99a7ea192f70550f5351901a3bde167891cf56 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 20 Jun 2013 08:45:33 +0000 Subject: [PATCH] * Hopefully fix the ftbfs under mipsel (mipsel-ftbfs.diff) --- debian/changelog | 1 + debian/patches/mipsel-ftbfs.diff | 27 +++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 29 insertions(+) create mode 100644 debian/patches/mipsel-ftbfs.diff diff --git a/debian/changelog b/debian/changelog index fd464624..5ba7aafc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ llvm-toolchain-3.3 (1:3.3-2) unstable; urgency=low * Fix duplicate underscore.js and jquery.js * Move libjs-jquery & libjs-underscore dependencies to llvm-X.Y-doc * Add lldb-X.Y manpage + * Hopefully fix the ftbfs under mipsel (mipsel-ftbfs.diff) -- Sylvestre Ledru Fri, 14 Jun 2013 11:45:26 +0200 diff --git a/debian/patches/mipsel-ftbfs.diff b/debian/patches/mipsel-ftbfs.diff new file mode 100644 index 00000000..f91bad5c --- /dev/null +++ b/debian/patches/mipsel-ftbfs.diff @@ -0,0 +1,27 @@ +Index: llvm-toolchain-3.3-3.3/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp +=================================================================== +--- llvm-toolchain-3.3-3.3.orig/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp 2013-06-20 10:10:31.000000000 +0200 ++++ llvm-toolchain-3.3-3.3/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp 2013-06-20 10:11:57.000000000 +0200 +@@ -45,7 +45,9 @@ + ADDSIGNAL(PIPE, false, true, true, "write to pipe with reading end closed"); + ADDSIGNAL(ALRM, false, false, true, "alarm"); + ADDSIGNAL(TERM, false, true, true, "termination requested"); ++#ifdef SIGSTKFLT + ADDSIGNAL(STKFLT, false, true, true, "stack fault"); ++#endif + ADDSIGNAL(CHLD, false, false, true, "child process exit"); + ADDSIGNAL(CONT, false, true, true, "process continue"); + ADDSIGNAL(STOP, false, true, true, "process stop"); +Index: llvm-toolchain-3.3-3.3/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp +=================================================================== +--- llvm-toolchain-3.3-3.3.orig/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp 2013-06-20 10:10:31.000000000 +0200 ++++ llvm-toolchain-3.3-3.3/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp 2013-06-20 10:11:57.000000000 +0200 +@@ -149,7 +149,7 @@ + + // TOOD: need a better way to detect when "long double" types are + // the same bytes size as "double" +-#if !defined(__arm__) ++#if !defined(__arm__) && !defined(__mips__) + case sizeof (long double): + if (sizeof (long double) == sizeof(uint32_t)) + { diff --git a/debian/patches/series b/debian/patches/series index ea280d01..8c0c058d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -25,3 +25,4 @@ kfreebsd.diff add-ubuntu-saucy.patch lldb33-to-r183444.patch disabletestlldb.diff +mipsel-ftbfs.diff