The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / valgrind / 0001-workaround-SIGSEGV-on-PPC.patch
1 From bd9d2af89e45081132c150e5e4bdf9a12dfca693 Mon Sep 17 00:00:00 2001
2 From: Pierre Habouzit <madcoder@debian.org>
3 Date: Tue, 10 May 2011 23:11:45 +0200
4 Subject: [PATCH 1/2] workaround SIGSEGV on PPC.
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Pierre Habouzit <madcoder@debian.org>
10 Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
11 ---
12  coregrind/m_machine.c | 4 ++++
13  1 file changed, 4 insertions(+)
14
15 diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c
16 index 42d8ce8..3c9900f 100644
17 --- a/coregrind/m_machine.c
18 +++ b/coregrind/m_machine.c
19 @@ -27,6 +27,10 @@
20     The GNU General Public License is contained in the file COPYING.
21  */
22  
23 +#ifdef __powerpc__
24 +#  pragma GCC optimize ("-O0")
25 +#endif
26 +
27  #include "pub_core_basics.h"
28  #include "pub_core_vki.h"
29  #include "pub_core_libcsetjmp.h"   // setjmp facilities
30 -- 
31 1.9.1
32