diff options
author | Martin Borg <martin.borg@enea.com> | 2016-02-08 15:24:30 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2016-02-24 13:21:46 +0100 |
commit | e60b73ff643117137ca42534f013784b61d0f0fc (patch) | |
tree | 0ebcfd84c86c91b11c7873d8dea4168cf842f51e /recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch | |
parent | 1b9f0ecd3062007111db53568d04b796fe0f15da (diff) | |
download | meta-el-common-e60b73ff643117137ca42534f013784b61d0f0fc.tar.gz |
valgrind: drop the bbappend
These workarounds were needed because Power ISA 2.07 was not supported
in GCC 4.8.2 (introduced in GCC 4.9).
GCC 4.8 support has been dropped from poky master since commit
d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57.
Signed-off-by: Martin Borg <martin.borg@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch')
-rw-r--r-- | recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch b/recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch deleted file mode 100644 index 88a8a54..0000000 --- a/recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | valgrind: Disable Power ISA 2.07 check | ||
2 | |||
3 | The Power ISA 2.07 check fails when not supported by both machine | ||
4 | architecture and gcc. | ||
5 | |||
6 | Upstream-Status: Inappropriate [disable feature] | ||
7 | |||
8 | Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com> | ||
9 | |||
10 | --- a/configure.ac 2014-05-05 17:06:29.674630565 +0200 | ||
11 | +++ b/configure.ac 2014-05-06 13:16:47.525598513 +0200 | ||
12 | @@ -1316,18 +1316,25 @@ | ||
13 | AM_CONDITIONAL(BUILD_DFP_TESTS, test x$ac_gcc_have_dfp_type = xyes) | ||
14 | |||
15 | # isa 2.07 checking | ||
16 | -AC_MSG_CHECKING([that assembler knows ISA 2.07 ]) | ||
17 | +AC_ARG_ENABLE([isa_2_07_check], | ||
18 | + [AS_HELP_STRING([--disable-isa_2_07_check], | ||
19 | + [disable Power ISA 2.07 check])], | ||
20 | + [], | ||
21 | + [disable_isa_2_07_check=no]) | ||
22 | |||
23 | -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | ||
24 | -]], [[ | ||
25 | - __asm__ __volatile__("mtvsrd 1,2 "); | ||
26 | -]])], [ | ||
27 | -ac_asm_have_isa_2_07=yes | ||
28 | -AC_MSG_RESULT([yes]) | ||
29 | -], [ | ||
30 | -ac_asm_have_isa_2_07=no | ||
31 | -AC_MSG_RESULT([no]) | ||
32 | -]) | ||
33 | +AS_IF([test "x$disable_isa_2_07_check" = xno], | ||
34 | + [AC_MSG_CHECKING([that assembler knows ISA 2.07 ]) | ||
35 | + | ||
36 | + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | ||
37 | + ]], [[ | ||
38 | + __asm__ __volatile__("mtvsrd 1,2 "); | ||
39 | + ]])], [ | ||
40 | + ac_asm_have_isa_2_07=yes | ||
41 | + AC_MSG_RESULT([yes]) | ||
42 | + ], [ | ||
43 | + ac_asm_have_isa_2_07=no | ||
44 | + AC_MSG_RESULT([no]) | ||
45 | + ])]) | ||
46 | |||
47 | AM_CONDITIONAL(HAS_ISA_2_07, test x$ac_asm_have_isa_2_07 = xyes) | ||
48 | |||