From cd3411088f6bb4393d79c50b5f7eef3f11a83435 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 00:31:33 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../files/disable-power-isa-2.07-check.patch | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch (limited to 'recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch') 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 new file mode 100644 index 0000000..88a8a54 --- /dev/null +++ b/recipes-devtools/valgrind/files/disable-power-isa-2.07-check.patch @@ -0,0 +1,48 @@ +valgrind: Disable Power ISA 2.07 check + +The Power ISA 2.07 check fails when not supported by both machine +architecture and gcc. + +Upstream-Status: Inappropriate [disable feature] + +Signed-off-by: Gabriel Barbu + +--- a/configure.ac 2014-05-05 17:06:29.674630565 +0200 ++++ b/configure.ac 2014-05-06 13:16:47.525598513 +0200 +@@ -1316,18 +1316,25 @@ + AM_CONDITIONAL(BUILD_DFP_TESTS, test x$ac_gcc_have_dfp_type = xyes) + + # isa 2.07 checking +-AC_MSG_CHECKING([that assembler knows ISA 2.07 ]) ++AC_ARG_ENABLE([isa_2_07_check], ++ [AS_HELP_STRING([--disable-isa_2_07_check], ++ [disable Power ISA 2.07 check])], ++ [], ++ [disable_isa_2_07_check=no]) + +-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ +-]], [[ +- __asm__ __volatile__("mtvsrd 1,2 "); +-]])], [ +-ac_asm_have_isa_2_07=yes +-AC_MSG_RESULT([yes]) +-], [ +-ac_asm_have_isa_2_07=no +-AC_MSG_RESULT([no]) +-]) ++AS_IF([test "x$disable_isa_2_07_check" = xno], ++ [AC_MSG_CHECKING([that assembler knows ISA 2.07 ]) ++ ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ++ ]], [[ ++ __asm__ __volatile__("mtvsrd 1,2 "); ++ ]])], [ ++ ac_asm_have_isa_2_07=yes ++ AC_MSG_RESULT([yes]) ++ ], [ ++ ac_asm_have_isa_2_07=no ++ AC_MSG_RESULT([no]) ++ ])]) + + AM_CONDITIONAL(HAS_ISA_2_07, test x$ac_asm_have_isa_2_07 = xyes) + -- cgit v1.2.3-54-g00ecf