Package: valgrind / 1:3.12.0~svn20160714-1

04_workaround-SIGSEGV-on-PPC.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Workaround SIGSEGV on PPC
 Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Origin: vendor
Bug-Debian: http://bugs.debian.org/603961
Author: Pierre Habouzit <madcoder@debian.org>
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2012-05-10

--- a/coregrind/m_machine.c
+++ b/coregrind/m_machine.c
@@ -27,6 +27,10 @@
    The GNU General Public License is contained in the file COPYING.
 */
 
+#ifdef __powerpc__
+#  pragma GCC optimize ("-O0")
+#endif
+
 #include "pub_core_basics.h"
 #include "pub_core_vki.h"
 #include "pub_core_threadstate.h"