summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind/remove-ppc-tests-failing-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/remove-ppc-tests-failing-build.patch')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/remove-ppc-tests-failing-build.patch75
1 files changed, 75 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/remove-ppc-tests-failing-build.patch b/meta/recipes-devtools/valgrind/valgrind/remove-ppc-tests-failing-build.patch
new file mode 100644
index 0000000000..2a14e1852c
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/remove-ppc-tests-failing-build.patch
@@ -0,0 +1,75 @@
1Remove test apps not building with ppc and PTEST
2
3For mpc8316-rdb in none/tests/ppc32, the oe compiler options are
4inconsistent with the imposed test compiler options generating errors
5as follows:
6test_isa_2_07_part1
7test_isa_2_07_part2
8test_tm
9test_touch_tm
10 : unrecognized command line option '-mhtm'
11
12jm-insns
13testVMX
14 : AltiVec not supported in this target
15
16For the following tests, their inline assembler is inconsistent with
17the ppce300c3 variant:
18round.c:393
19power5+_round.c:98
20 : impossible constraint in 'asm'
21
22For the following tests, with both mpc8316-rdb and with qemuppc bsp,
23the inline assember is inconsistent with the oe compiler machine
24tuning:
25In memcheck/tests/ppc32
26 power_ISA2_05.c:56
27In none/tests/ppc32
28 test_dfp1.c:85
29 test_dfp2.c:160
30 test_dfp3.c:157
31 test_dfp4.c:73
32 test_dfp5.c:73
33 : impossible constraint in 'asm'
34
35Upstream-Status: Pending
36
37Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
38
39diff --git a/memcheck/tests/ppc32/Makefile.am b/memcheck/tests/ppc32/Makefile.am
40index bd70eea..1436e8e 100644
41--- a/memcheck/tests/ppc32/Makefile.am
42+++ b/memcheck/tests/ppc32/Makefile.am
43@@ -7,8 +7,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
44 power_ISA2_05.stderr.exp power_ISA2_05.stdout.exp power_ISA2_05.vgtest \
45 power_ISA2_05.stdout.exp_Without_FPPO
46
47-check_PROGRAMS = \
48- power_ISA2_05
49+check_PROGRAMS =
50
51 power_ISA2_05_CFLAGS = $(AM_CFLAGS) $(WERROR) -Winline -Wall -Wshadow -g \
52 -I$(top_srcdir)/include @FLAG_M32@
53diff --git a/none/tests/ppc32/Makefile.am b/none/tests/ppc32/Makefile.am
54index 4f581b6..91ce7e7 100644
55--- a/none/tests/ppc32/Makefile.am
56+++ b/none/tests/ppc32/Makefile.am
57@@ -50,16 +50,8 @@ check_PROGRAMS = \
58 allexec \
59 bug129390-ppc32 \
60 bug139050-ppc32 \
61- ldstrev lsw jm-insns mftocrf mcrfs round test_fx test_gx \
62- testVMX twi tw xlc_dbl_u32 power5+_round power6_bcmp \
63- test_isa_2_06_part1 \
64- test_isa_2_06_part2 \
65- test_isa_2_06_part3 \
66- test_dfp1 test_dfp2 test_dfp3 test_dfp4 test_dfp5 \
67- test_isa_2_07_part1 \
68- test_isa_2_07_part2 \
69- test_tm \
70- test_touch_tm
71+ ldstrev lsw mftocrf mcrfs test_fx test_gx \
72+ twi tw xlc_dbl_u32 power6_bcmp
73
74 AM_CFLAGS += @FLAG_M32@
75 AM_CXXFLAGS += @FLAG_M32@