You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(4) |
2
(7) |
3
(29) |
4
(2) |
|
5
(2) |
6
(14) |
7
(4) |
8
(17) |
9
(19) |
10
(17) |
11
(18) |
|
12
(21) |
13
(22) |
14
(16) |
15
(14) |
16
(2) |
17
|
18
(3) |
|
19
|
20
(1) |
21
(14) |
22
(9) |
23
(13) |
24
|
25
|
|
26
(1) |
27
(12) |
28
(2) |
29
(17) |
30
(14) |
31
(5) |
|
|
From: <sv...@va...> - 2013-05-12 13:57:21
|
florian 2013-05-12 14:57:13 +0100 (Sun, 12 May 2013)
New Revision: 2720
Log:
Fix s390 build failure.
Patch by Maran Pakkirisamy (ma...@li...).
Modified files:
trunk/priv/guest_s390_helpers.c
Modified: trunk/priv/guest_s390_helpers.c (+2 -2)
===================================================================
--- trunk/priv/guest_s390_helpers.c 2013-05-11 16:02:58 +01:00 (rev 2719)
+++ trunk/priv/guest_s390_helpers.c 2013-05-12 14:57:13 +01:00 (rev 2720)
@@ -1747,8 +1747,8 @@
"lr 0, %[cc_dep2]\n\t" /* 32 bit register move */
".short 0x010a\n\t" /* PFPO */
"ipm %[psw]\n\t" : [psw] "=d"(psw)
- : [cc_dep1] "1f"(cc_dep1),
- [cc_dep2] "d" (cc_dep2)
+ : [cc_dep1] "f"(cc_dep1),
+ [cc_dep2] "d"(cc_dep2)
: "r0", "r1", "f4");
return psw >> 28; /* cc */
}
|
|
From: <sv...@va...> - 2013-05-12 11:08:10
|
sewardj 2013-05-12 12:07:59 +0100 (Sun, 12 May 2013)
New Revision: 13392
Log:
Add test cases for instrumentation of IR-level loads and stores.
Added files:
trunk/memcheck/tests/cond_ld.stderr.exp-arm
trunk/memcheck/tests/cond_ld.stderr.exp-non-arm
trunk/memcheck/tests/cond_ld.stdout.exp
trunk/memcheck/tests/cond_ld.vgtest
trunk/memcheck/tests/cond_ld_st.c
trunk/memcheck/tests/cond_st.stderr.exp-arm
trunk/memcheck/tests/cond_st.stderr.exp-non-arm
trunk/memcheck/tests/cond_st.stdout.exp
trunk/memcheck/tests/cond_st.vgtest
Modified files:
trunk/memcheck/tests/Makefile.am
Added: trunk/memcheck/tests/cond_st.stderr.exp-arm (+1 -0)
===================================================================
--- trunk/memcheck/tests/cond_st.stderr.exp-arm 2013-05-12 11:43:31 +01:00 (rev 13391)
+++ trunk/memcheck/tests/cond_st.stderr.exp-arm 2013-05-12 12:07:59 +01:00 (rev 13392)
@@ -0,0 +1 @@
+Placeholder text; replace me with the real thing
Added: trunk/memcheck/tests/cond_ld.stdout.exp (+0 -0)
===================================================================
Added: trunk/memcheck/tests/cond_ld.vgtest (+3 -0)
===================================================================
--- trunk/memcheck/tests/cond_ld.vgtest 2013-05-12 11:43:31 +01:00 (rev 13391)
+++ trunk/memcheck/tests/cond_ld.vgtest 2013-05-12 12:07:59 +01:00 (rev 13392)
@@ -0,0 +1,3 @@
+prog: cond_ld_st
+args: loads
+vgopts: -q
Added: trunk/memcheck/tests/cond_ld.stderr.exp-arm (+1 -0)
===================================================================
--- trunk/memcheck/tests/cond_ld.stderr.exp-arm 2013-05-12 11:43:31 +01:00 (rev 13391)
+++ trunk/memcheck/tests/cond_ld.stderr.exp-arm 2013-05-12 12:07:59 +01:00 (rev 13392)
@@ -0,0 +1 @@
+Placeholder text; replace me with the real thing
Added: trunk/memcheck/tests/cond_st.stderr.exp-non-arm (+560 -0)
===================================================================
--- trunk/memcheck/tests/cond_st.stderr.exp-non-arm 2013-05-12 11:43:31 +01:00 (rev 13391)
+++ trunk/memcheck/tests/cond_st.stderr.exp-non-arm 2013-05-12 12:07:59 +01:00 (rev 13392)
@@ -0,0 +1,560 @@
+
+-----------------------------------------------------------
+STORE CASE 0
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 1
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 2
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 3
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 4
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 5
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 6
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 7
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 8
+Use of uninitialised value of size 8
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 9
+Use of uninitialised value of size 8
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 10
+Use of uninitialised value of size 8
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 11
+Use of uninitialised value of size 8
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 12
+Use of uninitialised value of size 8
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 13
+Use of uninitialised value of size 8
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 14
+Use of uninitialised value of size 8
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 15
+Use of uninitialised value of size 8
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 16
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 17
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 18
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 19
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 20
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 21
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 22
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 23
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 24
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 25
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 26
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 27
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 28
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 29
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 30
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 31
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 32
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 33
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 34
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 35
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 36
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 37
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 38
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 39
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 40
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Use of uninitialised value of size 8
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 41
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Use of uninitialised value of size 8
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 42
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Use of uninitialised value of size 8
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 43
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Use of uninitialised value of size 8
+ ...
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 44
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Use of uninitialised value of size 8
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 3 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 45
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Use of uninitialised value of size 8
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 3 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 46
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Use of uninitialised value of size 8
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 3 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 47
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Use of uninitialised value of size 8
+ ...
+
+Invalid write of size 4
+ ...
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ ...
+
+PASS: 3 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 48
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 49
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 50
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 51
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 52
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 53
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 54
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 55
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 56
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 57
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 58
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 59
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 60
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 61
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 62
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+STORE CASE 63
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+PASS: 1 errors
+PASS: correct result
Added: trunk/memcheck/tests/cond_ld_st.c (+645 -0)
===================================================================
--- trunk/memcheck/tests/cond_ld_st.c 2013-05-12 11:43:31 +01:00 (rev 13391)
+++ trunk/memcheck/tests/cond_ld_st.c 2013-05-12 12:07:59 +01:00 (rev 13392)
@@ -0,0 +1,645 @@
+
+/* A Memcheck test program for conditional loads and stores,
+ as shown in do_conditional_{load,store}32.
+
+ Program is run twice, once for loads and once for stores, only
+ because each run generates 80 errors, and we want to see them all.
+ Doing both loads and stores in each run runs into the problem that
+ errors are more aggressively commoned up after the 100th, and so
+ some that we want to see aren't shown. Splitting the run into two
+ pieces avoids this.
+
+ On ARM we hardwire genuine conditional loads and stores to be
+ tested -- which is the real point of this test, since we are sure
+ they will turn into IRLoadG/IRStoreG. On other platforms we make
+ do with whatever gcc gives us for the equivalent C fragment. In
+ both cases Memcheck's results should be identical -- at least in
+ error counts; line numbers unfortunately will differ. Hence there
+ are -arm and -non-arm expected output files. */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <assert.h>
+#include <string.h>
+
+#include "../memcheck.h"
+
+typedef unsigned int UInt;
+
+typedef unsigned char Bool;
+#define False ((Bool)0)
+#define True ((Bool)1)
+
+static void make_undef ( void* addr, size_t len )
+{
+ VALGRIND_MAKE_MEM_UNDEFINED(addr, len);
+}
+
+static void make_def ( void* addr, size_t len )
+{
+ VALGRIND_MAKE_MEM_DEFINED(addr, len);
+}
+
+// Returns either |*src| or |alt|.
+__attribute__((noinline))
+UInt do_conditional_load32 ( UInt* src, UInt alt, Bool b )
+{
+ UInt res;
+# if defined(__linux__) && defined(__arm__)
+ __asm__ __volatile__(
+ "mov r5, %2" "\n\t" // alt
+ "tst %3, #0xFF" "\n\t" // b
+ "it ne" "\n\t"
+ "ldrne r5, [%1]" "\n\t" // src
+ "mov %0, r5" "\n\t" // res
+ : /*OUT*/"=r"(res)
+ : /*IN*/"r"(src), "r"(alt), "r"(b)
+ : /*TRASH*/ "r5","cc","memory"
+ );
+# else
+ __asm__ __volatile__("" ::: "cc","memory");
+ res = b ? *src : alt;
+# endif
+ // res might be undefined. Paint it as defined so the
+ // caller can look at it without invoking further errors.
+ make_def(&res, sizeof(res));
+ return res;
+}
+
+// Possibly writes |alt| to |*dst|, and returns the resulting
+// value of |*dst|.
+__attribute__((noinline))
+UInt do_conditional_store32 ( UInt* dst, UInt alt, Bool b )
+{
+# if defined(__linux__) && defined(__arm__)
+ __asm__ __volatile__(
+ "mov r5, %1" "\n\t" // alt
+ "tst %2, #0xFF" "\n\t" // b
+ "it ne" "\n\t"
+ "strne r5, [%0]" "\n\t" // dst
+ : /*OUT*/
+ : /*IN*/"r"(dst), "r"(alt), "r"(b)
+ : /*TRASH*/ "r5","cc","memory"
+ );
+# else
+ __asm__ __volatile__("" ::: "cc","memory");
+ if (b) *dst = alt;
+# endif
+ /* Now we need to get hold of the value at *dst. But it might be
+ unaddressible and/or undefined. Hence turn off error reporting
+ when getting it. */
+ UInt res;
+ VALGRIND_DISABLE_ERROR_REPORTING;
+ res = *dst;
+ VALGRIND_ENABLE_ERROR_REPORTING;
+ make_def(&res, sizeof(res));
+ return res;
+}
+
+
+/* --- LOAD ----------------------------------------- LOAD --- */
+/* --- LOAD ----------------------------------------- LOAD --- */
+/* --- LOAD ----------------------------------------- LOAD --- */
+
+/* For conditional loads, there are 64 combinations to test.
+
+ cond: { defined-true, defined-false,
+ undefined-true, undefined-false } D1 D0 U1 U0
+ x
+ addr: { defined-valid, defined-invalid,
+ undefined-valid, undefined-invalid } DV DI UV UI
+ x
+ alt: { defined, undefined } Da Ub
+ x
+ data: { defined, undefined } Dc Ud
+
+ // a, b, c, d refer to actual values
+
+ The general form of the test is:
+ 1. Place data at *addr
+ 2. return "cond ? *addr : alt"
+*/
+typedef enum { Cond_D1=10, Cond_D0, Cond_U1, Cond_U0 } Inp_Cond;
+typedef enum { Addr_DV=20, Addr_DI, Addr_UV, Addr_UI } Inp_Addr;
+typedef enum { Alt_Da=30, Alt_Ub } Inp_Alt;
+typedef enum { Data_Dc=40, Data_Ud } Inp_Data;
+
+typedef
+ struct { Inp_Cond inp_Cond; Inp_Addr inp_Addr;
+ Inp_Alt inp_Alt; Inp_Data inp_Data;
+ char res; char defErr_Cond; char defErr_Addr; char addrErr; }
+ TestCase;
+
+const TestCase loadCases[64] = {
+
+ // ADDR ALT COND DATA Res
+ // defErr-COND
+ // defErr-ADDR
+ // addrErr
+
+ // In all of the next 16 cases, the load definitely happens
+ // and |alt| is therefore irrelevant
+ { Cond_D1, Addr_DV, Alt_Da, Data_Dc, 'C', 'N', 'N', 'N' }, // 0
+ { Cond_D1, Addr_DV, Alt_Da, Data_Ud, 'D', 'N', 'N', 'N' },
+ { Cond_D1, Addr_DV, Alt_Ub, Data_Dc, 'C', 'N', 'N', 'N' },
+ { Cond_D1, Addr_DV, Alt_Ub, Data_Ud, 'D', 'N', 'N', 'N' },
+ { Cond_D1, Addr_DI, Alt_Da, Data_Dc, 'C', 'N', 'N', 'Y' },
+ { Cond_D1, Addr_DI, Alt_Da, Data_Ud, 'D', 'N', 'N', 'Y' },
+ { Cond_D1, Addr_DI, Alt_Ub, Data_Dc, 'C', 'N', 'N', 'Y' },
+ { Cond_D1, Addr_DI, Alt_Ub, Data_Ud, 'D', 'N', 'N', 'Y' },
+
+ { Cond_D1, Addr_UV, Alt_Da, Data_Dc, 'C', 'N', 'Y', 'N' }, // 8
+ { Cond_D1, Addr_UV, Alt_Da, Data_Ud, 'D', 'N', 'Y', 'N' },
+ { Cond_D1, Addr_UV, Alt_Ub, Data_Dc, 'C', 'N', 'Y', 'N' },
+ { Cond_D1, Addr_UV, Alt_Ub, Data_Ud, 'D', 'N', 'Y', 'N' },
+ { Cond_D1, Addr_UI, Alt_Da, Data_Dc, 'C', 'N', 'Y', 'Y' },
+ { Cond_D1, Addr_UI, Alt_Da, Data_Ud, 'D', 'N', 'Y', 'Y' },
+ { Cond_D1, Addr_UI, Alt_Ub, Data_Dc, 'C', 'N', 'Y', 'Y' },
+ { Cond_D1, Addr_UI, Alt_Ub, Data_Ud, 'D', 'N', 'Y', 'Y' },
+
+ // In the next 16 cases, the load definitely does not happen,
+ // so we just return |alt|.
+ { Cond_D0, Addr_DV, Alt_Da, Data_Dc, 'A', 'N', 'N', 'N' }, // 16
+ { Cond_D0, Addr_DV, Alt_Da, Data_Ud, 'A', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DV, Alt_Ub, Data_Dc, 'B', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DV, Alt_Ub, Data_Ud, 'B', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DI, Alt_Da, Data_Dc, 'A', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DI, Alt_Da, Data_Ud, 'A', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DI, Alt_Ub, Data_Dc, 'B', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DI, Alt_Ub, Data_Ud, 'B', 'N', 'N', 'N' },
+
+ { Cond_D0, Addr_UV, Alt_Da, Data_Dc, 'A', 'N', 'N', 'N' }, // 24
+ { Cond_D0, Addr_UV, Alt_Da, Data_Ud, 'A', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UV, Alt_Ub, Data_Dc, 'B', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UV, Alt_Ub, Data_Ud, 'B', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UI, Alt_Da, Data_Dc, 'A', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UI, Alt_Da, Data_Ud, 'A', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UI, Alt_Ub, Data_Dc, 'B', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UI, Alt_Ub, Data_Ud, 'B', 'N', 'N', 'N' },
+
+ // ADDR ALT COND DATA Res
+ // defErr-COND
+ // defErr-ADDR
+ // addrErr
+
+ // In the next 16 cases, the load happens, but the condition
+ // is undefined. This means that it should behave like the
+ // first group of 16 cases, except that we should also get a
+ // complaint about the definedness of the condition.
+ { Cond_U1, Addr_DV, Alt_Da, Data_Dc, 'C', 'Y', 'N', 'N' }, // 32
+ { Cond_U1, Addr_DV, Alt_Da, Data_Ud, 'D', 'Y', 'N', 'N' },
+ { Cond_U1, Addr_DV, Alt_Ub, Data_Dc, 'C', 'Y', 'N', 'N' },
+ { Cond_U1, Addr_DV, Alt_Ub, Data_Ud, 'D', 'Y', 'N', 'N' },
+ { Cond_U1, Addr_DI, Alt_Da, Data_Dc, 'C', 'Y', 'N', 'Y' },
+ { Cond_U1, Addr_DI, Alt_Da, Data_Ud, 'D', 'Y', 'N', 'Y' },
+ { Cond_U1, Addr_DI, Alt_Ub, Data_Dc, 'C', 'Y', 'N', 'Y' },
+ { Cond_U1, Addr_DI, Alt_Ub, Data_Ud, 'D', 'Y', 'N', 'Y' },
+
+ { Cond_U1, Addr_UV, Alt_Da, Data_Dc, 'C', 'Y', 'Y', 'N' }, // 40
+ { Cond_U1, Addr_UV, Alt_Da, Data_Ud, 'D', 'Y', 'Y', 'N' },
+ { Cond_U1, Addr_UV, Alt_Ub, Data_Dc, 'C', 'Y', 'Y', 'N' },
+ { Cond_U1, Addr_UV, Alt_Ub, Data_Ud, 'D', 'Y', 'Y', 'N' },
+ { Cond_U1, Addr_UI, Alt_Da, Data_Dc, 'C', 'Y', 'Y', 'Y' },
+ { Cond_U1, Addr_UI, Alt_Da, Data_Ud, 'D', 'Y', 'Y', 'Y' },
+ { Cond_U1, Addr_UI, Alt_Ub, Data_Dc, 'C', 'Y', 'Y', 'Y' },
+ { Cond_U1, Addr_UI, Alt_Ub, Data_Ud, 'D', 'Y', 'Y', 'Y' },
+
+ // In this last group of 16 cases, the load does not happen,
+ // but the condition is undefined. So we just return |alt|,
+ // and also complain about the condition. Hence it's like the
+ // second group of 16 cases except that we also get a complaint
+ // about the condition.
+ { Cond_U0, Addr_DV, Alt_Da, Data_Dc, 'A', 'Y', 'N', 'N' }, // 48
+ { Cond_U0, Addr_DV, Alt_Da, Data_Ud, 'A', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DV, Alt_Ub, Data_Dc, 'B', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DV, Alt_Ub, Data_Ud, 'B', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DI, Alt_Da, Data_Dc, 'A', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DI, Alt_Da, Data_Ud, 'A', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DI, Alt_Ub, Data_Dc, 'B', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DI, Alt_Ub, Data_Ud, 'B', 'Y', 'N', 'N' },
+
+ { Cond_U0, Addr_UV, Alt_Da, Data_Dc, 'A', 'Y', 'N', 'N' }, // 56
+ { Cond_U0, Addr_UV, Alt_Da, Data_Ud, 'A', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UV, Alt_Ub, Data_Dc, 'B', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UV, Alt_Ub, Data_Ud, 'B', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UI, Alt_Da, Data_Dc, 'A', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UI, Alt_Da, Data_Ud, 'A', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UI, Alt_Ub, Data_Dc, 'B', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UI, Alt_Ub, Data_Ud, 'B', 'Y', 'N', 'N' } // 63
+};
+
+// Constant, corresponding to the test enums
+static Bool c_Cond_D1, c_Cond_D0, c_Cond_U1, c_Cond_U0;
+static UInt *c_Addr_DV, *c_Addr_DI, *c_Addr_UV, *c_Addr_UI;
+static UInt c_Alt_Da, c_Alt_Ub;
+
+static void setup_test_data ( Inp_Data inp_Data )
+{
+ c_Cond_D1 = c_Cond_U1 = True;
+ c_Cond_D0 = c_Cond_U0 = False;
+ make_undef(&c_Cond_U1, sizeof(c_Cond_U1));
+ make_undef(&c_Cond_U0, sizeof(c_Cond_U0));
+
+ c_Addr_DV = c_Addr_UV = malloc(4);
+ c_Addr_DI = c_Addr_UI = malloc(4);
+ // install test data at the given address
+ UInt testd = inp_Data == Data_Dc ? 0xCCCCCCCC : 0xDDDDDDDD;
+ *c_Addr_DV = *c_Addr_DI = testd;
+ if (inp_Data == Data_Dc) {
+ // it's already defined
+ } else {
+ make_undef(c_Addr_DV, 4);
+ make_undef(c_Addr_DI, 4);
+ }
+
+ // make the invalid address invalid. This unfortunately loses
+ // the definedness state of the data that is stored there.
+ free(c_Addr_DI);
+
+ // and set the definedness of the pointers themselves.
+ make_undef(&c_Addr_UV, sizeof(c_Addr_UV));
+ make_undef(&c_Addr_UI, sizeof(c_Addr_UI));
+
+ // and set up alt
+ c_Alt_Da = 0xAAAAAAAA;
+ c_Alt_Ub = 0xBBBBBBBB;
+ make_undef(&c_Alt_Ub, sizeof(c_Alt_Ub));
+}
+
+static void do_test_case ( int caseNo, Bool isLoad, const TestCase* lc )
+{
+ fprintf(stderr,
+ "\n-----------------------------------------------------------\n");
+ fprintf(stderr, "%s CASE %d\n", isLoad ? "LOAD" : "STORE", caseNo);
+ // validate ..
+ assert(Cond_D1 <= lc->inp_Cond && lc->inp_Cond <= Cond_U0);
+ assert(Addr_DV <= lc->inp_Addr && lc->inp_Addr <= Addr_UI);
+ assert(lc->inp_Alt == Alt_Da || lc->inp_Alt == Alt_Ub);
+ assert(lc->inp_Data == Data_Dc || lc->inp_Data == Data_Ud);
+ assert('A' <= lc->res && lc->res <= 'D');
+ assert(lc->defErr_Cond == 'Y' || lc->defErr_Cond == 'N');
+ assert(lc->defErr_Addr == 'Y' || lc->defErr_Addr == 'N');
+ assert(lc->addrErr == 'Y' || lc->addrErr == 'N');
+ // set up test data constants
+ setup_test_data(lc->inp_Data);
+
+ // and select constants for the test, depending on |lc|
+ // Except, skip i_Data since setup_test_data takes care of it.
+ Bool i_Cond;
+ UInt* i_Addr;
+ UInt i_Alt;
+ switch (lc->inp_Cond) {
+ case Cond_D1: i_Cond = c_Cond_D1; break;
+ case Cond_D0: i_Cond = c_Cond_D0; break;
+ case Cond_U1: i_Cond = c_Cond_U1; break;
+ case Cond_U0: i_Cond = c_Cond_U0; break;
+ default: assert(0);
+ }
+ switch (lc->inp_Addr) {
+ case Addr_DV: i_Addr = c_Addr_DV; break;
+ case Addr_DI: i_Addr = c_Addr_DI; break;
+ case Addr_UV: i_Addr = c_Addr_UV; break;
+ case Addr_UI: i_Addr = c_Addr_UI; break;
+ default: assert(0);
+ }
+ switch (lc->inp_Alt) {
+ case Alt_Da: i_Alt = c_Alt_Da; break;
+ case Alt_Ub: i_Alt = c_Alt_Ub; break;
+ default: assert(0);
+ }
+
+ // How many errors do we expect from this?
+ UInt n_errs_exp
+ = (lc->defErr_Cond == 'Y' ? 1 : 0) + (lc->defErr_Addr == 'Y' ? 1 : 0)
+ + (lc->addrErr == 'Y' ? 1 : 0);
+
+ UInt n_errs_act = VALGRIND_COUNT_ERRORS;
+ UInt res_act
+ = isLoad ? do_conditional_load32(i_Addr, i_Alt, i_Cond)
+ : do_conditional_store32(i_Addr, i_Alt, i_Cond);
+ n_errs_act = VALGRIND_COUNT_ERRORS - n_errs_act;
+
+ if (n_errs_act == n_errs_exp) {
+ fprintf(stderr, "PASS: %u errors\n", n_errs_act);
+ } else {
+ fprintf(stderr, "FAIL: %u errors expected, %u actual\n",
+ n_errs_exp, n_errs_act);
+ }
+
+ // What's the expected result value (actual loaded data?)
+ UInt res_exp = 0;
+ switch (lc->res) {
+ case 'A': res_exp = 0xAAAAAAAA; break;
+ case 'B': res_exp = 0xBBBBBBBB; break;
+ case 'C': res_exp = 0xCCCCCCCC; break;
+ case 'D': res_exp = 0xDDDDDDDD; break;
+ default: assert(0);
+ }
+
+ if (res_act == res_exp) {
+ fprintf(stderr, "PASS: correct result\n");
+ } else {
+ fprintf(stderr, "FAIL: result: %08x expected, %08x actual\n",
+ res_exp, res_act);
+ }
+
+ free(c_Addr_DV);
+}
+
+
+void do_test_case_steer ( void (*fn)(int,Bool,const TestCase*),
+ int i, Bool isLd, const TestCase* tc )
+{
+ __asm__ __volatile__("");
+ if (i == 0) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 1) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 2) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 3) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 4) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 5) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 6) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 7) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 8) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 9) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 10) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 11) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 12) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 13) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 14) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 15) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 16) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 17) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 18) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 19) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 20) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 21) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 22) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 23) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 24) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 25) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 26) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 27) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 28) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 29) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 30) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 31) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 32) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 33) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 34) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 35) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 36) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 37) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 38) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 39) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 40) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 41) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 42) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 43) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 44) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 45) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 46) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 47) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 48) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 49) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 50) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 51) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 52) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 53) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 54) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 55) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 56) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 57) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 58) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 59) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 60) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 61) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 62) { fn(i,isLd,tc); return; };
+ __asm__ __volatile__("");
+ if (i == 63) { fn(i,isLd,tc); return; };
+ assert(0);
+}
+
+
+/* --- STORE --------------------------------------- STORE --- */
+/* --- STORE --------------------------------------- STORE --- */
+/* --- STORE --------------------------------------- STORE --- */
+
+/* For conditional stores, there are 64 combinations to test.
+
+ cond: { defined-true, defined-false,
+ undefined-true, undefined-false } D1 D0 U1 U0
+ x
+ addr: { defined-valid, defined-invalid,
+ undefined-valid, undefined-invalid } DV DI UV UI
+ x
+ alt: { defined, undefined } Da Ub
+ x
+ data: { defined, undefined } Dc Ud
+
+ // a, b, c, d refer to actual values
+
+ The general form of the test is:
+ 1. Place data at *addr
+ 2. do "if (cond) *addr = alt"
+ 3 return *addr
+
+ Hence identical setup to the load cases, although the roles of
+ data and alt are somewhat confusingly swapped. |data| here is
+ the "didn't happen" result, and |alt| is the "did happen" result.
+*/
+
+const TestCase storeCases[64] = {
+
+ // ADDR ALT COND DATA Res
+ // defErr-COND
+ // defErr-ADDR
+ // addrErr
+
+ // In all of the next 16 cases, the store definitely happens
+ // and |data| is therefore irrelevant
+ { Cond_D1, Addr_DV, Alt_Da, Data_Dc, 'A', 'N', 'N', 'N' }, // 0
+ { Cond_D1, Addr_DV, Alt_Da, Data_Ud, 'A', 'N', 'N', 'N' },
+ { Cond_D1, Addr_DV, Alt_Ub, Data_Dc, 'B', 'N', 'N', 'N' },
+ { Cond_D1, Addr_DV, Alt_Ub, Data_Ud, 'B', 'N', 'N', 'N' },
+ { Cond_D1, Addr_DI, Alt_Da, Data_Dc, 'A', 'N', 'N', 'Y' },
+ { Cond_D1, Addr_DI, Alt_Da, Data_Ud, 'A', 'N', 'N', 'Y' },
+ { Cond_D1, Addr_DI, Alt_Ub, Data_Dc, 'B', 'N', 'N', 'Y' },
+ { Cond_D1, Addr_DI, Alt_Ub, Data_Ud, 'B', 'N', 'N', 'Y' },
+
+ { Cond_D1, Addr_UV, Alt_Da, Data_Dc, 'A', 'N', 'Y', 'N' }, // 8
+ { Cond_D1, Addr_UV, Alt_Da, Data_Ud, 'A', 'N', 'Y', 'N' },
+ { Cond_D1, Addr_UV, Alt_Ub, Data_Dc, 'B', 'N', 'Y', 'N' },
+ { Cond_D1, Addr_UV, Alt_Ub, Data_Ud, 'B', 'N', 'Y', 'N' },
+ { Cond_D1, Addr_UI, Alt_Da, Data_Dc, 'A', 'N', 'Y', 'Y' },
+ { Cond_D1, Addr_UI, Alt_Da, Data_Ud, 'A', 'N', 'Y', 'Y' },
+ { Cond_D1, Addr_UI, Alt_Ub, Data_Dc, 'B', 'N', 'Y', 'Y' },
+ { Cond_D1, Addr_UI, Alt_Ub, Data_Ud, 'B', 'N', 'Y', 'Y' },
+
+ // In the next 16 cases, the store definitely does not happen,
+ // so we just return |data|.
+ { Cond_D0, Addr_DV, Alt_Da, Data_Dc, 'C', 'N', 'N', 'N' }, // 16
+ { Cond_D0, Addr_DV, Alt_Da, Data_Ud, 'D', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DV, Alt_Ub, Data_Dc, 'C', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DV, Alt_Ub, Data_Ud, 'D', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DI, Alt_Da, Data_Dc, 'C', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DI, Alt_Da, Data_Ud, 'D', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DI, Alt_Ub, Data_Dc, 'C', 'N', 'N', 'N' },
+ { Cond_D0, Addr_DI, Alt_Ub, Data_Ud, 'D', 'N', 'N', 'N' },
+
+ { Cond_D0, Addr_UV, Alt_Da, Data_Dc, 'C', 'N', 'N', 'N' }, // 24
+ { Cond_D0, Addr_UV, Alt_Da, Data_Ud, 'D', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UV, Alt_Ub, Data_Dc, 'C', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UV, Alt_Ub, Data_Ud, 'D', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UI, Alt_Da, Data_Dc, 'C', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UI, Alt_Da, Data_Ud, 'D', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UI, Alt_Ub, Data_Dc, 'C', 'N', 'N', 'N' },
+ { Cond_D0, Addr_UI, Alt_Ub, Data_Ud, 'D', 'N', 'N', 'N' },
+
+ // ADDR ALT COND DATA Res
+ // defErr-COND
+ // defErr-ADDR
+ // addrErr
+
+ // In the next 16 cases, the store happens, but the condition
+ // is undefined. This means that it should behave like the
+ // first group of 16 cases, except that we should also get a
+ // complaint about the definedness of the condition.
+ { Cond_U1, Addr_DV, Alt_Da, Data_Dc, 'A', 'Y', 'N', 'N' }, // 32
+ { Cond_U1, Addr_DV, Alt_Da, Data_Ud, 'A', 'Y', 'N', 'N' },
+ { Cond_U1, Addr_DV, Alt_Ub, Data_Dc, 'B', 'Y', 'N', 'N' },
+ { Cond_U1, Addr_DV, Alt_Ub, Data_Ud, 'B', 'Y', 'N', 'N' },
+ { Cond_U1, Addr_DI, Alt_Da, Data_Dc, 'A', 'Y', 'N', 'Y' },
+ { Cond_U1, Addr_DI, Alt_Da, Data_Ud, 'A', 'Y', 'N', 'Y' },
+ { Cond_U1, Addr_DI, Alt_Ub, Data_Dc, 'B', 'Y', 'N', 'Y' },
+ { Cond_U1, Addr_DI, Alt_Ub, Data_Ud, 'B', 'Y', 'N', 'Y' },
+
+ { Cond_U1, Addr_UV, Alt_Da, Data_Dc, 'A', 'Y', 'Y', 'N' }, // 40
+ { Cond_U1, Addr_UV, Alt_Da, Data_Ud, 'A', 'Y', 'Y', 'N' },
+ { Cond_U1, Addr_UV, Alt_Ub, Data_Dc, 'B', 'Y', 'Y', 'N' },
+ { Cond_U1, Addr_UV, Alt_Ub, Data_Ud, 'B', 'Y', 'Y', 'N' },
+ { Cond_U1, Addr_UI, Alt_Da, Data_Dc, 'A', 'Y', 'Y', 'Y' },
+ { Cond_U1, Addr_UI, Alt_Da, Data_Ud, 'A', 'Y', 'Y', 'Y' },
+ { Cond_U1, Addr_UI, Alt_Ub, Data_Dc, 'B', 'Y', 'Y', 'Y' },
+ { Cond_U1, Addr_UI, Alt_Ub, Data_Ud, 'B', 'Y', 'Y', 'Y' },
+
+ // In this last group of 16 cases, the store does not happen,
+ // but the condition is undefined. So we just return |data|,
+ // and also complain about the condition. Hence it's like the
+ // second group of 16 cases except that we also get a complaint
+ // about the condition.
+ { Cond_U0, Addr_DV, Alt_Da, Data_Dc, 'C', 'Y', 'N', 'N' }, // 48
+ { Cond_U0, Addr_DV, Alt_Da, Data_Ud, 'D', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DV, Alt_Ub, Data_Dc, 'C', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DV, Alt_Ub, Data_Ud, 'D', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DI, Alt_Da, Data_Dc, 'C', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DI, Alt_Da, Data_Ud, 'D', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DI, Alt_Ub, Data_Dc, 'C', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_DI, Alt_Ub, Data_Ud, 'D', 'Y', 'N', 'N' },
+
+ { Cond_U0, Addr_UV, Alt_Da, Data_Dc, 'C', 'Y', 'N', 'N' }, // 56
+ { Cond_U0, Addr_UV, Alt_Da, Data_Ud, 'D', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UV, Alt_Ub, Data_Dc, 'C', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UV, Alt_Ub, Data_Ud, 'D', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UI, Alt_Da, Data_Dc, 'C', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UI, Alt_Da, Data_Ud, 'D', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UI, Alt_Ub, Data_Dc, 'C', 'Y', 'N', 'N' },
+ { Cond_U0, Addr_UI, Alt_Ub, Data_Ud, 'D', 'Y', 'N', 'N' } // 63
+};
+
+void usage ( char* pname )
+{
+ fprintf(stderr, "usage: %s [loads|stores]\n", pname);
+ exit(1);
+}
+
+int main ( int argc, char** argv )
+{
+ UInt i, nCases;
+
+ if (argc != 2) usage(argv[0]);
+
+ Bool doLoad = False;
+ if (0 == strcmp(argv[1], "loads")) {
+ doLoad = True;
+ }
+ else if (0 == strcmp(argv[1], "stores")) {
+ doLoad = False;
+ }
+ else usage(argv[0]);
+
+ if (doLoad) {
+ nCases = sizeof(loadCases) / sizeof(loadCases[0]);
+ assert(nCases == 64);
+ for (i = 0; i < nCases; i++)
+ do_test_case_steer( do_test_case, i, True/*isLoad*/, &loadCases[i] );
+ } else {
+ nCases = sizeof(storeCases) / sizeof(storeCases[0]);
+ assert(nCases == 64);
+ for (i = 0; i < nCases; i++)
+ do_test_case_steer( do_test_case, i, False/*!isLoad*/, &storeCases[i] );
+ }
+
+ return 0;
+}
Added: trunk/memcheck/tests/cond_ld.stderr.exp-non-arm (+800 -0)
===================================================================
--- trunk/memcheck/tests/cond_ld.stderr.exp-non-arm 2013-05-12 11:43:31 +01:00 (rev 13391)
+++ trunk/memcheck/tests/cond_ld.stderr.exp-non-arm 2013-05-12 12:07:59 +01:00 (rev 13392)
@@ -0,0 +1,800 @@
+
+-----------------------------------------------------------
+LOAD CASE 0
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 1
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 2
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 3
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 4
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:362)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:362)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 5
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:364)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:364)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 6
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:366)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:366)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 7
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:368)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:368)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 8
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:370)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 9
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:372)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 10
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:374)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 11
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:376)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 12
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:378)
+ by 0x........: main (cond_ld_st.c:636)
+
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:378)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:378)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 13
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:380)
+ by 0x........: main (cond_ld_st.c:636)
+
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:380)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:380)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 14
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:382)
+ by 0x........: main (cond_ld_st.c:636)
+
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:382)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:382)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 15
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:384)
+ by 0x........: main (cond_ld_st.c:636)
+
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:384)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:384)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 16
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 17
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 18
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 19
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 20
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 21
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 22
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 23
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 24
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 25
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 26
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 27
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 28
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 29
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 30
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 31
+PASS: 0 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 32
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:418)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 33
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:420)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 34
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:422)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 35
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:424)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 1 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 36
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:426)
+ by 0x........: main (cond_ld_st.c:636)
+
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:426)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:426)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 37
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:428)
+ by 0x........: main (cond_ld_st.c:636)
+
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:428)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:428)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 38
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:430)
+ by 0x........: main (cond_ld_st.c:636)
+
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:430)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:430)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 39
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:432)
+ by 0x........: main (cond_ld_st.c:636)
+
+Invalid read of size 4
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:432)
+ by 0x........: main (cond_ld_st.c:636)
+ Address 0x........ is 0 bytes inside a block of size 4 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: setup_test_data (cond_ld_st.c:257)
+ by 0x........: do_test_case (cond_ld_st.c:284)
+ by 0x........: do_test_case_steer (cond_ld_st.c:432)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 40
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:434)
+ by 0x........: main (cond_ld_st.c:636)
+
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:434)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 41
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:436)
+ by 0x........: main (cond_ld_st.c:636)
+
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:436)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-----------------------------------------------------------
+LOAD CASE 42
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:438)
+ by 0x........: main (cond_ld_st.c:636)
+
+Use of uninitialised value of size 8
+ at 0x........: do_conditional_load32 (cond_ld_st.c:61)
+ by 0x........: do_test_case (cond_ld_st.c:319)
+ by 0x........: do_test_case_steer (cond_ld_st.c:438)
+ by 0x........: main (cond_ld_st.c:636)
+
+PASS: 2 errors
+PASS: correct result
+
+-------------------------------------------...
[truncated message content] |
|
From: <sv...@va...> - 2013-05-12 10:43:42
|
sewardj 2013-05-12 11:43:31 +0100 (Sun, 12 May 2013)
New Revision: 13391
Log:
Whitespace-only changes.
Modified files:
trunk/memcheck/tests/Makefile.am
Modified: trunk/memcheck/tests/Makefile.am (+22 -11)
===================================================================
--- trunk/memcheck/tests/Makefile.am 2013-05-12 02:16:40 +01:00 (rev 13390)
+++ trunk/memcheck/tests/Makefile.am 2013-05-12 11:43:31 +01:00 (rev 13391)
@@ -69,7 +69,8 @@
badrw.stderr.exp badrw.vgtest badrw.stderr.exp-s390x-mvc \
big_blocks_freed_list.stderr.exp big_blocks_freed_list.vgtest \
brk2.stderr.exp brk2.vgtest \
- buflen_check.stderr.exp buflen_check.vgtest buflen_check.stderr.exp-kfail \
+ buflen_check.stderr.exp buflen_check.vgtest \
+ buflen_check.stderr.exp-kfail \
bug287260.stderr.exp bug287260.vgtest \
calloc-overflow.stderr.exp calloc-overflow.vgtest\
clientperm.stderr.exp \
@@ -78,7 +79,8 @@
clireq_nofill.stdout.exp clireq_nofill.vgtest \
clo_redzone_default.vgtest clo_redzone_128.vgtest \
clo_redzone_default.stderr.exp clo_redzone_128.stderr.exp \
- custom_alloc.stderr.exp custom_alloc.vgtest custom_alloc.stderr.exp-s390x-mvc \
+ custom_alloc.stderr.exp custom_alloc.vgtest \
+ custom_alloc.stderr.exp-s390x-mvc \
custom-overlap.stderr.exp custom-overlap.vgtest \
deep-backtrace.vgtest deep-backtrace.stderr.exp \
deep_templates.vgtest \
@@ -133,7 +135,8 @@
malloc2.stderr.exp malloc2.vgtest \
malloc3.stderr.exp malloc3.stdout.exp malloc3.vgtest \
manuel1.stderr.exp manuel1.stdout.exp manuel1.vgtest \
- manuel2.stderr.exp manuel2.stderr.exp64 manuel2.stdout.exp manuel2.vgtest \
+ manuel2.stderr.exp manuel2.stderr.exp64 manuel2.stdout.exp \
+ manuel2.vgtest \
manuel3.stderr.exp manuel3.vgtest \
match-overrun.stderr.exp match-overrun.vgtest match-overrun.supp \
memalign_test.stderr.exp memalign_test.vgtest \
@@ -173,8 +176,10 @@
partiallydefinedeq.stderr.exp3 \
partiallydefinedeq.stderr.exp2 \
partiallydefinedeq.stdout.exp \
- partial_load_ok.vgtest partial_load_ok.stderr.exp partial_load_ok.stderr.exp64 \
- partial_load_dflt.vgtest partial_load_dflt.stderr.exp partial_load_dflt.stderr.exp64 \
+ partial_load_ok.vgtest partial_load_ok.stderr.exp \
+ partial_load_ok.stderr.exp64 \
+ partial_load_dflt.vgtest partial_load_dflt.stderr.exp \
+ partial_load_dflt.stderr.exp64 \
partial_load_dflt.stderr.expr-s390x-mvc \
pdb-realloc.stderr.exp pdb-realloc.vgtest \
pdb-realloc2.stderr.exp pdb-realloc2.stdout.exp pdb-realloc2.vgtest \
@@ -218,12 +223,18 @@
undef_malloc_args.stderr.exp undef_malloc_args.vgtest \
unit_libcbase.stderr.exp unit_libcbase.vgtest \
unit_oset.stderr.exp unit_oset.stdout.exp unit_oset.vgtest \
- varinfo1.vgtest varinfo1.stdout.exp varinfo1.stderr.exp varinfo1.stderr.exp-ppc64 \
- varinfo2.vgtest varinfo2.stdout.exp varinfo2.stderr.exp varinfo2.stderr.exp-ppc64 \
- varinfo3.vgtest varinfo3.stdout.exp varinfo3.stderr.exp varinfo3.stderr.exp-ppc64 \
- varinfo4.vgtest varinfo4.stdout.exp varinfo4.stderr.exp varinfo4.stderr.exp-ppc64 \
- varinfo5.vgtest varinfo5.stdout.exp varinfo5.stderr.exp varinfo5.stderr.exp-ppc64 \
- varinfo6.vgtest varinfo6.stdout.exp varinfo6.stderr.exp varinfo6.stderr.exp-ppc64 \
+ varinfo1.vgtest varinfo1.stdout.exp varinfo1.stderr.exp \
+ varinfo1.stderr.exp-ppc64 \
+ varinfo2.vgtest varinfo2.stdout.exp varinfo2.stderr.exp \
+ varinfo2.stderr.exp-ppc64 \
+ varinfo3.vgtest varinfo3.stdout.exp varinfo3.stderr.exp \
+ varinfo3.stderr.exp-ppc64 \
+ varinfo4.vgtest varinfo4.stdout.exp varinfo4.stderr.exp \
+ varinfo4.stderr.exp-ppc64 \
+ varinfo5.vgtest varinfo5.stdout.exp varinfo5.stderr.exp \
+ varinfo5.stderr.exp-ppc64 \
+ varinfo6.vgtest varinfo6.stdout.exp varinfo6.stderr.exp \
+ varinfo6.stderr.exp-ppc64 \
vcpu_bz2.stdout.exp vcpu_bz2.stderr.exp vcpu_bz2.vgtest \
vcpu_fbench.stdout.exp vcpu_fbench.stderr.exp vcpu_fbench.vgtest \
vcpu_fnfns.stdout.exp vcpu_fnfns.stdout.exp-glibc28-amd64 \
|
|
From: Philippe W. <phi...@sk...> - 2013-05-12 03:41:53
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8) GDB: GNU gdb (GDB) Fedora (7.5.1-37.fc18) Assembler: GNU assembler version 2.23.51.0.1-7.fc18 20120806 C library: GNU C Library stable release version 2.16 uname -mrs: Linux 3.7.2-204.fc18.ppc64 ppc64 Vendor version: Fedora release 18 (Spherical Cow) Nightly build on gcc110 ( Fedora release 18 (Spherical Cow), ppc64 ) Started at 2013-05-11 20:00:12 PDT Ended at 2013-05-11 20:41:38 PDT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 552 tests, 31 stderr failures, 3 stdout failures, 0 stderrB failures, 0 stdoutB failures, 2 post failures == memcheck/tests/linux/getregset (stdout) memcheck/tests/linux/getregset (stderr) memcheck/tests/ppc64/power_ISA2_05 (stdout) memcheck/tests/supp_unknown (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) massif/tests/big-alloc (post) massif/tests/deep-D (post) helgrind/tests/annotate_rwlock (stderr) helgrind/tests/free_is_write (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/locked_vs_unlocked1_fwd (stderr) helgrind/tests/locked_vs_unlocked1_rev (stderr) helgrind/tests/locked_vs_unlocked2 (stderr) helgrind/tests/locked_vs_unlocked3 (stderr) helgrind/tests/pth_barrier1 (stderr) helgrind/tests/pth_barrier2 (stderr) helgrind/tests/pth_barrier3 (stderr) helgrind/tests/pth_destroy_cond (stderr) helgrind/tests/rwlock_race (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Petar J. <mip...@gm...> - 2013-05-12 03:26:54
|
On Sun, May 12, 2013 at 4:09 AM, John Reiser <jr...@bi...> wrote: > > petarj 2013-05-12 01:52:38 +0100 (Sun, 12 May 2013) > > > > New Revision: 13389 > > > > Log: > > mips: default VKI_SHMLBA to the MIPS Linux kernel value SHMLBA > > > > This change removes option to define shared-memory-alignment for > MIPS, > > instead default value (0x40000) from MIPS Linux kernel will be used. > > It would be appropriate to list reasons *why* this change is being made, > such as bug numbers that would have been prevented, new architectures > or CPU implementations that strongly enforce the kernel default, etc. > The change has been made after running LTP tests on different boards (with different cache sizes) and coming across issues with some of the tests (e.g. shmem_test_03, shmem_test_06, shmem_test_07, shmt02, shmt03, shmt04, shmt05, shmt06, shmt07, shmt08, shmt09, shmt10, shm_test01). > The change itself hurts because there are going to be programs that used > to run > (or could have run) under a less-restrictive valgrind on less-restrictive > hardware implementations, but won't run in the more-restrictive > environment. > The increased fragmentation because of larger alignment will cause > earlier exhaustion of address space. > Theoretically, this is true, yet we are not aware of any program that has this issue. On the other side, a common problem (more often seen after MIPS64 came into Valgrind) is that users can not configure Valgrind correctly, as they do not know minimal correct value to put for share memory alignment. Defaulting value to the kernel default seems to resolve the issues (and I was under impression that other arches in Valgrind do the same, e.g. ARM defaults to 4 * PAGE_SIZE), yet I do agree with the comments you have made and was aware of it. Petar |
|
From: Rich C. <rc...@wi...> - 2013-05-12 03:23:12
|
valgrind revision: 13390
VEX revision: 2719
C compiler: gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]
GDB: GNU gdb (GDB) SUSE (7.5.1-2.1.1)
Assembler: GNU assembler (GNU Binutils; openSUSE 12.3) 2.23.1
C library: GNU C Library (GNU libc) stable release version 2.17 (git c758a6861537)
uname -mrs: Linux 3.7.9-1.1-desktop x86_64
Vendor version: Welcome to openSUSE 12.3 "Dartmouth" Beta 1 - Kernel %r (%t).
Nightly build on ultra ( gcc 4.5.1 Linux 3.7.9-1.1-desktop x86_64 )
Started at 2013-05-11 21:30:01 CDT
Ended at 2013-05-11 22:23:00 CDT
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 645 tests, 1 stderr failure, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/origin5-bz2 (stderr)
=================================================
./valgrind-new/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2013-05-11 21:59:22.538386055 -0500
+++ mssnapshot.stderrB.out 2013-05-11 22:14:22.031570776 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=ecb8ef1a6904a2a3ec60a527f415f520c8636158"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=ef5f5dbcb2398c608fef7884e1bfb65be3b5f0ef"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=bd1473e8e6a4c10a14731b5be4b35b4e87db2af7"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2013-05-11 22:00:32.484445573 -0500
+++ origin5-bz2.stderr.out 2013-05-11 22:15:56.876976064 -0500
@@ -75,17 +75,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
- by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
- by 0x........: handle_compress (origin5-bz2.c:4753)
- by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
- by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
- by 0x........: main (origin5-bz2.c:6484)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -131,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2013-05-11 22:00:09.521082408 -0500
+++ origin5-bz2.stderr.out 2013-05-11 22:15:56.876976064 -0500
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2013-05-11 22:00:09.522082340 -0500
+++ origin5-bz2.stderr.out 2013-05-11 22:15:56.876976064 -0500
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2013-05-11 22:01:32.935764992 -0500
+++ origin5-bz2.stderr.out 2013-05-11 22:15:56.876976064 -0500
@@ -12,7 +12,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -21,7 +21,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -30,7 +30,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -41,7 +41,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -52,7 +52,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,7 +63,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +74,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -85,7 +85,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -96,7 +96,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -107,7 +107,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2013-05-11 22:00:55.753798321 -0500
+++ origin5-bz2.stderr.out 2013-05-11 22:15:56.876976064 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -10,7 +10,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -19,7 +19,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -28,7 +28,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -39,7 +39,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -50,7 +50,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -61,7 +61,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -72,7 +72,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -83,7 +83,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -94,7 +94,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -105,7 +105,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2013-05-11 21:37:19.191114457 -0500
+++ mssnapshot.stderrB.out 2013-05-11 21:49:22.135051898 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=ecb8ef1a6904a2a3ec60a527f415f520c8636158"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=ef5f5dbcb2398c608fef7884e1bfb65be3b5f0ef"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=bd1473e8e6a4c10a14731b5be4b35b4e87db2af7"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2013-05-11 21:38:52.629521752 -0500
+++ origin5-bz2.stderr.out 2013-05-11 21:50:56.031445766 -0500
@@ -75,17 +75,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
- by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
- by 0x........: handle_compress (origin5-bz2.c:4753)
- by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
- by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
- by 0x........: main (origin5-bz2.c:6484)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -131,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2013-05-11 21:37:56.922067518 -0500
+++ origin5-bz2.stderr.out 2013-05-11 21:50:56.031445766 -0500
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2013-05-11 21:40:06.710466101 -0500
+++ origin5-bz2.stderr.out 2013-05-11 21:50:56.031445766 -0500
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2013-05-11 21:37:27.331888572 -0500
+++ origin5-bz2.stderr.out 2013-05-11 21:50:56.031445766 -0500
@@ -12,7 +12,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -21,7 +21,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -30,7 +30,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -41,7 +41,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -52,7 +52,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,7 +63,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +74,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -85,7 +85,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -96,7 +96,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -107,7 +107,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2013-05-11 21:38:52.642521390 -0500
+++ origin5-bz2.stderr.out 2013-05-11 21:50:56.031445766 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -10,7 +10,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -19,7 +19,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -28,7 +28,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -39,7 +39,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -50,7 +50,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -61,7 +61,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -72,7 +72,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -83,7 +83,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -94,7 +94,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -105,7 +105,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
|
|
From: Tom H. <to...@co...> - 2013-05-12 03:22:35
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) GDB: Assembler: GNU assembler version 2.18.50.0.6-2 20080403 C library: GNU C Library stable release version 2.8 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 9 (Sulphur) Nightly build on bristol ( x86_64, Fedora 9 ) Started at 2013-05-12 03:52:14 BST Ended at 2013-05-12 04:22:20 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 627 tests, 1 stderr failure, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/amd64/insn-pcmpistri (stderr) none/tests/amd64/sse4-64 (stdout) |
|
From: Tom H. <to...@co...> - 2013-05-12 03:14:50
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) GDB: Assembler: GNU assembler version 2.19.51.0.14-3.fc11 20090722 C library: GNU C Library stable release version 2.10.2 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 11 (Leonidas) Nightly build on bristol ( x86_64, Fedora 11 ) Started at 2013-05-12 03:41:49 BST Ended at 2013-05-12 04:14:34 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 631 tests, 1 stderr failure, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/long_namespace_xml (stderr) none/tests/amd64/sse4-64 (stdout) |
|
From: Tom H. <to...@co...> - 2013-05-12 03:08:34
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2) GDB: Assembler: GNU assembler version 2.20.51.0.2-20.fc13 20091009 C library: GNU C Library stable release version 2.12.2 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 13 (Goddard) Nightly build on bristol ( x86_64, Fedora 13 ) Started at 2013-05-12 03:32:30 BST Ended at 2013-05-12 04:08:20 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 631 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == helgrind/tests/pth_barrier3 (stderr) |
|
From: Tom H. <to...@co...> - 2013-05-12 03:00:05
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.1-48.fc15) Assembler: GNU assembler version 2.21.51.0.6-6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2013-05-12 03:16:07 BST Ended at 2013-05-12 03:59:52 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 652 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2013-05-12 03:00:00
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) GDB: GNU gdb (GDB) Fedora (7.2-52.fc14) Assembler: GNU assembler version 2.20.51.0.7-8.fc14 20100318 C library: GNU C Library stable release version 2.13 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 14 (Laughlin) Nightly build on bristol ( x86_64, Fedora 14 ) Started at 2013-05-12 03:22:53 BST Ended at 2013-05-12 03:59:45 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 650 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2013-05-12 02:40:04
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 16 (Verne) Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2013-05-12 03:02:24 BST Ended at 2013-05-12 03:39:50 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 652 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2013-05-12 02:23:57
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2) GDB: GNU gdb (GDB) Fedora (7.4.50.20120120-54.fc17) Assembler: GNU assembler version 2.22.52.0.1-10.fc17 20120131 C library: GNU C Library stable release version 2.15 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 17 (Beefy Miracle) Nightly build on bristol ( x86_64, Fedora 17 (Beefy Miracle) ) Started at 2013-05-12 02:52:00 BST Ended at 2013-05-12 03:23:43 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 652 tests, 5 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcmain_pic (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) |
|
From: Tom H. <to...@co...> - 2013-05-12 02:15:03
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8) GDB: GNU gdb (GDB) Fedora (7.5.1-38.fc18) Assembler: GNU assembler version 2.23.51.0.1-6.fc18 20120806 C library: GNU C Library stable release version 2.16 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 18 (Spherical Cow) Nightly build on bristol ( x86_64, Fedora 18 (Spherical Cow) ) Started at 2013-05-12 02:43:21 BST Ended at 2013-05-12 03:14:48 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 652 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) |
|
From: John R. <jr...@bi...> - 2013-05-12 02:08:15
|
> petarj 2013-05-12 01:52:38 +0100 (Sun, 12 May 2013) > > New Revision: 13389 > > Log: > mips: default VKI_SHMLBA to the MIPS Linux kernel value SHMLBA > > This change removes option to define shared-memory-alignment for MIPS, > instead default value (0x40000) from MIPS Linux kernel will be used. It would be appropriate to list reasons *why* this change is being made, such as bug numbers that would have been prevented, new architectures or CPU implementations that strongly enforce the kernel default, etc. The change itself hurts because there are going to be programs that used to run (or could have run) under a less-restrictive valgrind on less-restrictive hardware implementations, but won't run in the more-restrictive environment. The increased fragmentation because of larger alignment will cause earlier exhaustion of address space. -- |
|
From: Tom H. <to...@co...> - 2013-05-12 02:03:44
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.8.0 20130412 (Red Hat 4.8.0-2) GDB: GNU gdb (GDB) Fedora (7.6-24.fc19) Assembler: GNU assembler version 2.23.52.0.1-8.fc19 20130226 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 19 (Schrödingerâs Cat) Nightly build on bristol ( x86_64, Fedora 19 (Schrödingerâs Cat) ) Started at 2013-05-12 02:31:43 BST Ended at 2013-05-12 03:03:29 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 652 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/dw4 (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/hackedbz2 (stderr) |
|
From: Christian B. <bor...@de...> - 2013-05-12 02:01:11
|
valgrind revision: 13390
VEX revision: 2719
C compiler: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
GDB: GNU gdb (GDB) SUSE (7.3-0.6.1)
Assembler: GNU assembler (GNU Binutils; SUSE Linux Enterprise 11) 2.21.1
C library: GNU C Library stable release version 2.11.3 (20110527)
uname -mrs: Linux 3.0.58-0.6.6-default s390x
Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP2 (s390x) - Kernel %r (%t).
Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z196 (s390x) )
Started at 2013-05-12 03:45:01 CEST
Ended at 2013-05-12 04:01:01 CEST
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... failed
Last 20 lines of verbose log follow echo
mv -f .deps/libvex_s390x_linux_a-guest_arm_helpers.Tpo .deps/libvex_s390x_linux_a-guest_arm_helpers.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_s390x=1 -DVGO_linux=1 -DVGP_s390x_linux=1 -DVGPV_s390x_linux_vanilla=1 -Ipriv -m64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing -Wno-long-long -Wwrite-strings -fno-stack-protector -MT libvex_s390x_linux_a-guest_s390_helpers.o -MD -MP -MF .deps/libvex_s390x_linux_a-guest_s390_helpers.Tpo -c -o libvex_s390x_linux_a-guest_s390_helpers.o `test -f 'priv/guest_s390_helpers.c' || echo './'`priv/guest_s390_helpers.c
priv/guest_s390_helpers.c: In function 's390_calculate_cc':
priv/guest_s390_helpers.c:1752: error: matching constraint references invalid operand number
priv/guest_s390_helpers.c:1745: error: matching constraint references invalid operand number
make[3]: *** [libvex_s390x_linux_a-guest_s390_helpers.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libvex_s390x_linux_a-ir_defs.Tpo .deps/libvex_s390x_linux_a-ir_defs.Po
mv -f .deps/libvex_s390x_linux_a-guest_amd64_helpers.Tpo .deps/libvex_s390x_linux_a-guest_amd64_helpers.Po
mv -f .deps/libvex_s390x_linux_a-ir_opt.Tpo .deps/libvex_s390x_linux_a-ir_opt.Po
mv -f .deps/libvex_s390x_linux_a-guest_x86_toIR.Tpo .deps/libvex_s390x_linux_a-guest_x86_toIR.Po
mv -f .deps/libvex_s390x_linux_a-guest_ppc_toIR.Tpo .deps/libvex_s390x_linux_a-guest_ppc_toIR.Po
mv -f .deps/libvex_s390x_linux_a-guest_arm_toIR.Tpo .deps/libvex_s390x_linux_a-guest_arm_toIR.Po
mv -f .deps/libvex_s390x_linux_a-guest_amd64_toIR.Tpo .deps/libvex_s390x_linux_a-guest_amd64_toIR.Po
make[3]: Leaving directory `/home0/cborntra/valgrind-nightly/valgrind-new/VEX'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home0/cborntra/valgrind-nightly/valgrind-new/VEX'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home0/cborntra/valgrind-nightly/valgrind-new'
make: *** [all] Error 2
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 632 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Sun May 12 04:00:19 2013
--- new.short Sun May 12 04:01:01 2013
***************
*** 3,11 ****
Configuring valgrind ... done
! Building valgrind ... done
! Running regression tests ... failed
!
! Regression test results follow
!
! == 632 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
! memcheck/tests/vbit-test/vbit-test (stderr)
--- 3,26 ----
Configuring valgrind ... done
! Building valgrind ... failed
+ Last 20 lines of verbose log follow echo
+ mv -f .deps/libvex_s390x_linux_a-guest_arm_helpers.Tpo .deps/libvex_s390x_linux_a-guest_arm_helpers.Po
+ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_s390x=1 -DVGO_linux=1 -DVGP_s390x_linux=1 -DVGPV_s390x_linux_vanilla=1 -Ipriv -m64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing -Wno-long-long -Wwrite-strings -fno-stack-protector -MT libvex_s390x_linux_a-guest_s390_helpers.o -MD -MP -MF .deps/libvex_s390x_linux_a-guest_s390_helpers.Tpo -c -o libvex_s390x_linux_a-guest_s390_helpers.o `test -f 'priv/guest_s390_helpers.c' || echo './'`priv/guest_s390_helpers.c
+ priv/guest_s390_helpers.c: In function 's390_calculate_cc':
+ priv/guest_s390_helpers.c:1752: error: matching constraint references invalid operand number
+ priv/guest_s390_helpers.c:1745: error: matching constraint references invalid operand number
+ make[3]: *** [libvex_s390x_linux_a-guest_s390_helpers.o] Error 1
+ make[3]: *** Waiting for unfinished jobs....
+ mv -f .deps/libvex_s390x_linux_a-ir_defs.Tpo .deps/libvex_s390x_linux_a-ir_defs.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_amd64_helpers.Tpo .deps/libvex_s390x_linux_a-guest_amd64_helpers.Po
+ mv -f .deps/libvex_s390x_linux_a-ir_opt.Tpo .deps/libvex_s390x_linux_a-ir_opt.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_x86_toIR.Tpo .deps/libvex_s390x_linux_a-guest_x86_toIR.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_ppc_toIR.Tpo .deps/libvex_s390x_linux_a-guest_ppc_toIR.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_arm_toIR.Tpo .deps/libvex_s390x_linux_a-guest_arm_toIR.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_amd64_toIR.Tpo .deps/libvex_s390x_linux_a-guest_amd64_toIR.Po
+ make[3]: Leaving directory `/home0/cborntra/valgrind-nightly/valgrind-new/VEX'
+ make[2]: *** [all] Error 2
+ make[2]: Leaving directory `/home0/cborntra/valgrind-nightly/valgrind-new/VEX'
+ make[1]: *** [all-recursive] Error 1
+ make[1]: Leaving directory `/home0/cborntra/valgrind-nightly/valgrind-new'
+ make: *** [all] Error 2
|
|
From: Christian B. <bor...@de...> - 2013-05-12 02:00:27
|
valgrind revision: 13390
VEX revision: 2719
C compiler: gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9bb4)
GDB: GNU gdb (GDB) Fedora (7.5-1bb1.fc15)
Assembler: GNU assembler version 2.21.51.0.6-6bb6.fc15 20110118
C library: GNU C Library stable release version 2.14.1
uname -mrs: Linux 3.8.6-60.x.20130412-s390xperformance s390x
Vendor version: unknown
Nightly build on fedora390 ( Fedora 15 with devel libc/toolchain on z196 (s390x) )
Started at 2013-05-12 03:45:01 CEST
Ended at 2013-05-12 04:00:38 CEST
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... failed
Last 20 lines of verbose log follow echo
mv -f .deps/libvex_s390x_linux_a-guest_ppc_helpers.Tpo .deps/libvex_s390x_linux_a-guest_ppc_helpers.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_s390x=1 -DVGO_linux=1 -DVGP_s390x_linux=1 -DVGPV_s390x_linux_vanilla=1 -Ipriv -m64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing -Wno-long-long -Wwrite-strings -fno-stack-protector -MT libvex_s390x_linux_a-guest_arm_toIR.o -MD -MP -MF .deps/libvex_s390x_linux_a-guest_arm_toIR.Tpo -c -o libvex_s390x_linux_a-guest_arm_toIR.o `test -f 'priv/guest_arm_toIR.c' || echo './'`priv/guest_arm_toIR.c
mv -f .deps/libvex_s390x_linux_a-ir_opt.Tpo .deps/libvex_s390x_linux_a-ir_opt.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_s390x=1 -DVGO_linux=1 -DVGP_s390x_linux=1 -DVGPV_s390x_linux_vanilla=1 -Ipriv -m64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing -Wno-long-long -Wwrite-strings -fno-stack-protector -MT libvex_s390x_linux_a-guest_s390_helpers.o -MD -MP -MF .deps/libvex_s390x_linux_a-guest_s390_helpers.Tpo -c -o libvex_s390x_linux_a-guest_s390_helpers.o `test -f 'priv/guest_s390_helpers.c' || echo './'`priv/guest_s390_helpers.c
priv/guest_s390_helpers.c: In function 's390_calculate_cc':
priv/guest_s390_helpers.c:1752:41: error: matching constraint references invalid operand number
priv/guest_s390_helpers.c:1745:7: error: matching constraint references invalid operand number
make[3]: *** [libvex_s390x_linux_a-guest_s390_helpers.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libvex_s390x_linux_a-guest_arm_helpers.Tpo .deps/libvex_s390x_linux_a-guest_arm_helpers.Po
mv -f .deps/libvex_s390x_linux_a-guest_x86_toIR.Tpo .deps/libvex_s390x_linux_a-guest_x86_toIR.Po
mv -f .deps/libvex_s390x_linux_a-guest_ppc_toIR.Tpo .deps/libvex_s390x_linux_a-guest_ppc_toIR.Po
mv -f .deps/libvex_s390x_linux_a-guest_arm_toIR.Tpo .deps/libvex_s390x_linux_a-guest_arm_toIR.Po
mv -f .deps/libvex_s390x_linux_a-guest_amd64_toIR.Tpo .deps/libvex_s390x_linux_a-guest_amd64_toIR.Po
make[3]: Leaving directory `/home/cborntra/valgrind-nightly/valgrind-new/VEX'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/cborntra/valgrind-nightly/valgrind-new/VEX'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cborntra/valgrind-nightly/valgrind-new'
make: *** [all] Error 2
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 633 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Sun May 12 04:00:02 2013
--- new.short Sun May 12 04:00:38 2013
***************
*** 3,13 ****
Configuring valgrind ... done
! Building valgrind ... done
! Running regression tests ... failed
!
! Regression test results follow
!
! == 633 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
! memcheck/tests/vbit-test/vbit-test (stderr)
! helgrind/tests/tc18_semabuse (stderr)
! helgrind/tests/tc20_verifywrap (stderr)
--- 3,26 ----
Configuring valgrind ... done
! Building valgrind ... failed
+ Last 20 lines of verbose log follow echo
+ mv -f .deps/libvex_s390x_linux_a-guest_ppc_helpers.Tpo .deps/libvex_s390x_linux_a-guest_ppc_helpers.Po
+ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_s390x=1 -DVGO_linux=1 -DVGP_s390x_linux=1 -DVGPV_s390x_linux_vanilla=1 -Ipriv -m64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing -Wno-long-long -Wwrite-strings -fno-stack-protector -MT libvex_s390x_linux_a-guest_arm_toIR.o -MD -MP -MF .deps/libvex_s390x_linux_a-guest_arm_toIR.Tpo -c -o libvex_s390x_linux_a-guest_arm_toIR.o `test -f 'priv/guest_arm_toIR.c' || echo './'`priv/guest_arm_toIR.c
+ mv -f .deps/libvex_s390x_linux_a-ir_opt.Tpo .deps/libvex_s390x_linux_a-ir_opt.Po
+ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_s390x=1 -DVGO_linux=1 -DVGP_s390x_linux=1 -DVGPV_s390x_linux_vanilla=1 -Ipriv -m64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing -Wno-long-long -Wwrite-strings -fno-stack-protector -MT libvex_s390x_linux_a-guest_s390_helpers.o -MD -MP -MF .deps/libvex_s390x_linux_a-guest_s390_helpers.Tpo -c -o libvex_s390x_linux_a-guest_s390_helpers.o `test -f 'priv/guest_s390_helpers.c' || echo './'`priv/guest_s390_helpers.c
+ priv/guest_s390_helpers.c: In function 's390_calculate_cc':
+ priv/guest_s390_helpers.c:1752:41: error: matching constraint references invalid operand number
+ priv/guest_s390_helpers.c:1745:7: error: matching constraint references invalid operand number
+ make[3]: *** [libvex_s390x_linux_a-guest_s390_helpers.o] Error 1
+ make[3]: *** Waiting for unfinished jobs....
+ mv -f .deps/libvex_s390x_linux_a-guest_arm_helpers.Tpo .deps/libvex_s390x_linux_a-guest_arm_helpers.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_x86_toIR.Tpo .deps/libvex_s390x_linux_a-guest_x86_toIR.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_ppc_toIR.Tpo .deps/libvex_s390x_linux_a-guest_ppc_toIR.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_arm_toIR.Tpo .deps/libvex_s390x_linux_a-guest_arm_toIR.Po
+ mv -f .deps/libvex_s390x_linux_a-guest_amd64_toIR.Tpo .deps/libvex_s390x_linux_a-guest_amd64_toIR.Po
+ make[3]: Leaving directory `/home/cborntra/valgrind-nightly/valgrind-new/VEX'
+ make[2]: *** [all] Error 2
+ make[2]: Leaving directory `/home/cborntra/valgrind-nightly/valgrind-new/VEX'
+ make[1]: *** [all-recursive] Error 1
+ make[1]: Leaving directory `/home/cborntra/valgrind-nightly/valgrind-new'
+ make: *** [all] Error 2
|
|
From: Tom H. <to...@co...> - 2013-05-12 01:50:26
|
valgrind revision: 13390 VEX revision: 2719 C compiler: gcc (GCC) 4.8.0 20130507 (Red Hat 4.8.0-4) GDB: GNU gdb (GDB) Fedora (7.6-27.fc20) Assembler: GNU assembler version 2.23.2 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 20 (Rawhide) Nightly build on bristol ( x86_64, Fedora 20 ) Started at 2013-05-12 02:22:30 BST Ended at 2013-05-12 02:50:11 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 652 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/dw4 (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/hackedbz2 (stderr) |
|
From: <sv...@va...> - 2013-05-12 01:16:49
|
petarj 2013-05-12 02:16:40 +0100 (Sun, 12 May 2013)
New Revision: 13390
Log:
mips: code-style, remove some trailing spaces from MIPS header files
Non-function change, removing some trailing spaces from MIPS header files.
Modified files:
trunk/include/vki/vki-mips32-linux.h
trunk/include/vki/vki-mips64-linux.h
Modified: trunk/include/vki/vki-mips32-linux.h (+5 -5)
===================================================================
--- trunk/include/vki/vki-mips32-linux.h 2013-05-12 01:52:38 +01:00 (rev 13389)
+++ trunk/include/vki/vki-mips32-linux.h 2013-05-12 02:16:40 +01:00 (rev 13390)
@@ -39,8 +39,8 @@
#elif defined (_MIPSEB)
#define VKI_BIG_ENDIAN 1
#endif
-
+
//----------------------------------------------------------------------
// From linux-2.6.35.5/include/asm-generic/int-ll64.h
//----------------------------------------------------------------------
@@ -78,10 +78,10 @@
#define VKI_MAX_PAGE_SHIFT VKI_PAGE_SHIFT
#define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE
-//----------------------------------------------------------------------
-// From linux-2.6.35.9/arch/mips/include/bits/shm.h
-//----------------------------------------------------------------------
-
+//----------------------------------------------------------------------
+// From linux-2.6.35.9/arch/mips/include/bits/shm.h
+//----------------------------------------------------------------------
+
#define VKI_SHMLBA 0x40000
//----------------------------------------------------------------------
Modified: trunk/include/vki/vki-mips64-linux.h (+10 -10)
===================================================================
--- trunk/include/vki/vki-mips64-linux.h 2013-05-12 01:52:38 +01:00 (rev 13389)
+++ trunk/include/vki/vki-mips64-linux.h 2013-05-12 02:16:40 +01:00 (rev 13390)
@@ -146,7 +146,7 @@
#define VKI_SIGCLD VKI_SIGCHLD /* Same as SIGCHLD (System V). */
#define VKI_SIGPWR 19 /* Power failure restart (System V). */
#define VKI_SIGWINCH 20 /* Window size change (4.3 BSD, Sun). */
-#define VKI_SIGURG 21 /* Urgent condition on socket. */
+#define VKI_SIGURG 21 /* Urgent condition on socket. */
#define VKI_SIGIO 22 /* I/O now possible (4.2 BSD). */
#define VKI_SIGPOLL VKI_SIGIO /* Pollable event occurred (System V).*/
#define VKI_SIGSTOP 23 /* Stop, unblockable (POSIX). */
@@ -164,13 +164,13 @@
// [[This was (_NSIG-1) in 2.4.X... not sure if it matters.]]
#define VKI_SIGRTMAX (_VKI_NSIG - 1)
-#define VKI_SA_ONSTACK 0x08000000u
-#define VKI_SA_RESETHAND 0x80000000u
-#define VKI_SA_RESTART 0x10000000u
-#define VKI_SA_SIGINFO 0x00000008u
-#define VKI_SA_NODEFER 0x40000000u
-#define VKI_SA_NOCLDWAIT 0x00010000u
-#define VKI_SA_NOCLDSTOP 0x00000001u
+#define VKI_SA_ONSTACK 0x08000000u
+#define VKI_SA_RESETHAND 0x80000000u
+#define VKI_SA_RESTART 0x10000000u
+#define VKI_SA_SIGINFO 0x00000008u
+#define VKI_SA_NODEFER 0x40000000u
+#define VKI_SA_NOCLDWAIT 0x00010000u
+#define VKI_SA_NOCLDSTOP 0x00000001u
#define VKI_SA_NOMASK VKI_SA_NODEFER
#define VKI_SA_ONESHOT VKI_SA_RESETHAND
@@ -203,7 +203,7 @@
// [[See comment about extra 'k' above]]
unsigned int sa_flags;
__vki_sighandler_t ksa_handler;
- vki_sigset_t sa_mask; // mask last for extensibility
+ vki_sigset_t sa_mask; // mask last for extensibility
__vki_sigrestore_t sa_restorer;
};
@@ -621,7 +621,7 @@
#define VKI_TIOCSLTC 0x7475 /* set special local chars */
#define VKI_TIOCSPGRP _VKI_IOW('t', 118, int) /* set pgrp of tty */
#define VKI_TIOCGPGRP _VKI_IOR('t', 119, int) /* get pgrp of tty */
-#define VKI_TIOCCONS _VKI_IOW('t', 120, int) /* become virtual
+#define VKI_TIOCCONS _VKI_IOW('t', 120, int) /* become virtual
console */
#define VKI_FIONREAD 0x467f
|
|
From: <sv...@va...> - 2013-05-12 00:52:45
|
petarj 2013-05-12 01:52:38 +0100 (Sun, 12 May 2013)
New Revision: 13389
Log:
mips: default VKI_SHMLBA to the MIPS Linux kernel value SHMLBA
This change removes option to define shared-memory-alignment for MIPS,
instead default value (0x40000) from MIPS Linux kernel will be used.
Modified files:
trunk/configure.in
trunk/include/vki/vki-mips32-linux.h
trunk/include/vki/vki-mips64-linux.h
Modified: trunk/include/vki/vki-mips64-linux.h (+2 -2)
===================================================================
--- trunk/include/vki/vki-mips64-linux.h 2013-05-11 23:23:27 +01:00 (rev 13388)
+++ trunk/include/vki/vki-mips64-linux.h 2013-05-12 01:52:38 +01:00 (rev 13389)
@@ -88,10 +88,10 @@
#define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE
//----------------------------------------------------------------------
-// From linux-2.6.35.9/arch/mips/include/asm/shmparam.h
+// From linux-2.6.35.9/arch/mips/include/bits/shm.h
//----------------------------------------------------------------------
-#define VKI_SHMLBA VKI_PAGE_SIZE
+#define VKI_SHMLBA 0x40000
//----------------------------------------------------------------------
// From linux-2.6.35.9/include/asm-mips/signal.h
Modified: trunk/include/vki/vki-mips32-linux.h (+5 -5)
===================================================================
--- trunk/include/vki/vki-mips32-linux.h 2013-05-11 23:23:27 +01:00 (rev 13388)
+++ trunk/include/vki/vki-mips32-linux.h 2013-05-12 01:52:38 +01:00 (rev 13389)
@@ -78,12 +78,12 @@
#define VKI_MAX_PAGE_SHIFT VKI_PAGE_SHIFT
#define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE
-//----------------------------------------------------------------------
-// From linux-2.6.35.5/arch/mips/include/asm-generic/shmparam.h
-//----------------------------------------------------------------------
+//----------------------------------------------------------------------
+// From linux-2.6.35.9/arch/mips/include/bits/shm.h
+//----------------------------------------------------------------------
+
+#define VKI_SHMLBA 0x40000
-#define VKI_SHMLBA SHM_ALIGNMENT
-
//----------------------------------------------------------------------
// From linux-2.6.35.5/include/asm/signal.h
//----------------------------------------------------------------------
Modified: trunk/configure.in (+0 -30)
===================================================================
--- trunk/configure.in 2013-05-11 23:23:27 +01:00 (rev 13388)
+++ trunk/configure.in 2013-05-12 01:52:38 +01:00 (rev 13389)
@@ -740,37 +740,7 @@
fi
AC_MSG_RESULT([checking for Pagesize... ${psize}k])
-#----------------------------------------------------------------------------
-# Define shm_align for MIPS (--shared-memory-alignment)
-#----------------------------------------------------------------------------
-AC_ARG_WITH(alignment,
- [ --with-alignment= shared memory alignment for MIPS],
- [align=$withval],
- [align=-1]
-)
-mod=`expr $align % 1024`
-
-let "psz=psize*1024*2"
-
-if test "$align" = "-1"; then
- AC_DEFINE([SHM_ALIGNMENT], 2*(1UL << MIPS_PAGE_SHIFT),
- [configured memory alignment 2*PAGE_SIZE])
- AC_MSG_RESULT([checking for shared memory alignment... 2*PAGE_SIZE])
-elif test "$mod" = "0"; then
- if test $align -lt $psz;
- then
- AC_MSG_ERROR([Alignment must be >= PAGE_SIZE])
- else
- AC_DEFINE_UNQUOTED([SHM_ALIGNMENT], ${align},
- [configured memory alignment 2*PAGE_SIZE])
- AC_MSG_RESULT([checking for shared memory alignment... ${align}])
- fi
-else
- AC_MSG_ERROR([Alignment % 1024 must be zero])
-fi
-
-
#----------------------------------------------------------------------------
# Extra fine-tuning of installation directories
#----------------------------------------------------------------------------
|