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
(5) |
2
(15) |
3
(20) |
|
4
(4) |
5
(11) |
6
(8) |
7
(36) |
8
(23) |
9
(6) |
10
(4) |
|
11
(4) |
12
(19) |
13
(17) |
14
(33) |
15
(16) |
16
(17) |
17
(4) |
|
18
(4) |
19
(30) |
20
(22) |
21
(23) |
22
(29) |
23
(20) |
24
(12) |
|
25
(7) |
26
(33) |
27
(10) |
28
(12) |
29
(19) |
30
(15) |
31
(8) |
|
From: Julian S. <js...@ac...> - 2009-01-12 20:14:56
|
> By this time I have attached a patch that implements SIGFPE catching > to the mentioned bug item > (https://bugs.kde.org/attachment.cgi?id=30135). This patch was > reported to work on the 440EPX CPU. Is it OK if I commit this patch on > the trunk ? Yes, pls commit. J |
|
From: Bart V. A. <bar...@gm...> - 2009-01-12 17:39:20
|
On Wed, Jan 7, 2009 at 5:56 PM, Julian Seward <js...@ac...> wrote: > > On Wednesday 07 January 2009, Bart Van Assche wrote: > > On Mon, Dec 22, 2008 at 10:57 PM, Paul Mackerras <pa...@sa...> wrote: > > > Another way to find out what the hardware can do is to look at the > > > AT_HWCAP and AT_PLATFORM entries in the ELF auxiliary table. > > > > Thanks a lot for this information. Can anyone tell me whether there is > > already support present in Valgrind for accessing the ELF auxiliary > > table, or where I should start looking ? > > At least for fixing http://bugs.kde.org/show_bug.cgi?id=176926, I would > prefer to continue using the SIGILL scheme, unless there's a good reason > to move the using the ELF auxiliary table. At least superficially, > #176926 looks quite simple to fix -- catch SIGFPE as well as SIGILL in > the relevant piece of detection code. By this time I have attached a patch that implements SIGFPE catching to the mentioned bug item (https://bugs.kde.org/attachment.cgi?id=30135). This patch was reported to work on the 440EPX CPU. Is it OK if I commit this patch on the trunk ? Bart. |
|
From: <sv...@va...> - 2009-01-12 15:27:08
|
Author: tom
Date: 2009-01-12 15:26:59 +0000 (Mon, 12 Jan 2009)
New Revision: 8942
Log:
SSE3 and SSSE3 are two different things, so add a proper SSSE3 feature
test and use that to guard the SSSE3 tests.
Modified:
trunk/none/tests/amd64/insn_ssse3.vgtest
trunk/none/tests/amd64/ssse3_misaligned.vgtest
trunk/none/tests/x86/insn_ssse3.vgtest
trunk/none/tests/x86/ssse3_misaligned.vgtest
trunk/tests/cputest.c
Modified: trunk/none/tests/amd64/insn_ssse3.vgtest
===================================================================
--- trunk/none/tests/amd64/insn_ssse3.vgtest 2009-01-12 13:06:47 UTC (rev 8941)
+++ trunk/none/tests/amd64/insn_ssse3.vgtest 2009-01-12 15:26:59 UTC (rev 8942)
@@ -1,3 +1,3 @@
prog: ../../../none/tests/amd64/insn_ssse3
-prereq: ../../../tests/cputest amd64-sse3
+prereq: ../../../tests/cputest amd64-ssse3
vgopts: -q
Modified: trunk/none/tests/amd64/ssse3_misaligned.vgtest
===================================================================
--- trunk/none/tests/amd64/ssse3_misaligned.vgtest 2009-01-12 13:06:47 UTC (rev 8941)
+++ trunk/none/tests/amd64/ssse3_misaligned.vgtest 2009-01-12 15:26:59 UTC (rev 8942)
@@ -1,3 +1,3 @@
prog: ssse3_misaligned
-prereq: ../../../tests/cputest amd64-sse3
+prereq: ../../../tests/cputest amd64-ssse3
vgopts: -q
Modified: trunk/none/tests/x86/insn_ssse3.vgtest
===================================================================
--- trunk/none/tests/x86/insn_ssse3.vgtest 2009-01-12 13:06:47 UTC (rev 8941)
+++ trunk/none/tests/x86/insn_ssse3.vgtest 2009-01-12 15:26:59 UTC (rev 8942)
@@ -1,3 +1,3 @@
prog: ../../../none/tests/x86/insn_ssse3
-prereq: ../../../tests/cputest x86-sse3
+prereq: ../../../tests/cputest x86-ssse3
vgopts: -q
Modified: trunk/none/tests/x86/ssse3_misaligned.vgtest
===================================================================
--- trunk/none/tests/x86/ssse3_misaligned.vgtest 2009-01-12 13:06:47 UTC (rev 8941)
+++ trunk/none/tests/x86/ssse3_misaligned.vgtest 2009-01-12 15:26:59 UTC (rev 8942)
@@ -1,3 +1,3 @@
prog: ssse3_misaligned
-prereq: ../../../tests/cputest x86-sse3
+prereq: ../../../tests/cputest x86-ssse3
vgopts: -q
Modified: trunk/tests/cputest.c
===================================================================
--- trunk/tests/cputest.c 2009-01-12 13:06:47 UTC (rev 8941)
+++ trunk/tests/cputest.c 2009-01-12 15:26:59 UTC (rev 8942)
@@ -99,12 +99,18 @@
} else if ( strcmp( cpu, "x86-sse3" ) == 0 ) {
level = 1;
cmask = 1 << 0;
+ } else if ( strcmp( cpu, "x86-ssse3" ) == 0 ) {
+ level = 1;
+ cmask = 1 << 9;
#if defined(__x86_64__)
} else if ( strcmp( cpu, "amd64" ) == 0 ) {
return True;
} else if ( strcmp( cpu, "amd64-sse3" ) == 0 ) {
level = 1;
cmask = 1 << 0;
+ } else if ( strcmp( cpu, "amd64-ssse3" ) == 0 ) {
+ level = 1;
+ cmask = 1 << 9;
#endif
} else {
return False;
|
|
From: Bart V. A. <bar...@gm...> - 2009-01-12 13:26:13
|
Nightly build on georgia-tech-cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) started at 2009-01-12 06:10:01 EST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 401 tests, 41 stderr failures, 12 stdout failures, 2 post failures == drd/tests/matinv (stdout) drd/tests/matinv (stderr) drd/tests/pth_create_chain (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) massif/tests/long-names (post) massif/tests/overloaded-new (post) memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/zeropage (stdout) none/tests/async-sigs (stdout) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 401 tests, 42 stderr failures, 12 stdout failures, 2 post failures == drd/tests/matinv (stdout) drd/tests/matinv (stderr) drd/tests/pth_create_chain (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) massif/tests/long-names (post) massif/tests/overloaded-new (post) memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/zeropage (stdout) none/tests/async-sigs (stdout) none/tests/blockfault (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Jan 12 06:57:50 2009 --- new.short Mon Jan 12 07:40:39 2009 *************** *** 8,10 **** ! == 401 tests, 42 stderr failures, 12 stdout failures, 2 post failures == drd/tests/matinv (stdout) --- 8,10 ---- ! == 401 tests, 41 stderr failures, 12 stdout failures, 2 post failures == drd/tests/matinv (stdout) *************** *** 53,55 **** none/tests/async-sigs (stdout) - none/tests/blockfault (stderr) none/tests/faultstatus (stderr) --- 53,54 ---- |
|
From: Bart V. A. <bar...@gm...> - 2009-01-12 13:26:13
|
Fedora Core release 6 (Zod) Kernel \r on an \m |
|
From: Bart V. A. <bar...@gm...> - 2009-01-12 13:26:08
|
Nightly build on georgia-tech-cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) started at 2009-01-12 06:10:01 EST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 401 tests, 41 stderr failures, 12 stdout failures, 2 post failures == drd/tests/matinv (stdout) drd/tests/matinv (stderr) drd/tests/pth_create_chain (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) massif/tests/long-names (post) massif/tests/overloaded-new (post) memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/zeropage (stdout) none/tests/async-sigs (stdout) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 401 tests, 42 stderr failures, 12 stdout failures, 2 post failures == drd/tests/matinv (stdout) drd/tests/matinv (stderr) drd/tests/pth_create_chain (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) massif/tests/long-names (post) massif/tests/overloaded-new (post) memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/zeropage (stdout) none/tests/async-sigs (stdout) none/tests/blockfault (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Jan 12 06:57:50 2009 --- new.short Mon Jan 12 07:40:39 2009 *************** *** 8,10 **** ! == 401 tests, 42 stderr failures, 12 stdout failures, 2 post failures == drd/tests/matinv (stdout) --- 8,10 ---- ! == 401 tests, 41 stderr failures, 12 stdout failures, 2 post failures == drd/tests/matinv (stdout) *************** *** 53,55 **** none/tests/async-sigs (stdout) - none/tests/blockfault (stderr) none/tests/faultstatus (stderr) --- 53,54 ---- |
|
From: Bart V. A. <bar...@gm...> - 2009-01-12 13:12:58
|
On Wed, Jan 7, 2009 at 7:23 AM, Nicholas Nethercote <n.n...@gm...> wrote: > [...] > On a related topic, the 'nightly' script uses the 'source' command to > source another file. > This is fine on bash, tcsh, csh, zsh. But sh, dash and ksh use '.'. > One possibility is to change the script to use #!/bin/bash instead of > #!/bin/sh -- Bart, would that be ok for your Georgia tech machines > that use tcsh? Or is there another way to do this? After having installed a native version of Subversion 1.4.6 and after some further hacking of the nightly script the regression tests run again on the Georgia Tech machines -- this time using native compilation instead of cross compilation. But the e-mails generated by running the nightly script do not arrive on the Valgrind Developers mailing list. I assume that SourceForge's e-mail servers refuse them because of the large attachment (on ppc the size of the diffs file is about 150 KB). Does anyone have suggestions on how I can get as much useful information about the ppc nightly build to the Valgrind developers mailing list ? Bart. |
|
From: <sv...@va...> - 2009-01-12 13:06:52
|
Author: bart
Date: 2009-01-12 13:06:47 +0000 (Mon, 12 Jan 2009)
New Revision: 8941
Log:
Changed single recipient into a list of recipients and fixed mutt subject and attachment arguments.
Modified:
trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail
Modified: trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail
===================================================================
--- trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail 2009-01-12 12:52:36 UTC (rev 8940)
+++ trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail 2009-01-12 13:06:47 UTC (rev 8941)
@@ -4,10 +4,10 @@
# Don't forget to set the from and realname variables in ~/.muttrc !
sender="bar...@gm..."
-recipient="val...@li..."
-#recipient="bar...@gm..."
+recipients="val...@li... bar...@gm..."
+#recipients="bar...@gm..."
if [ $# -ge 3 ]; then
- mutt -s -a "$3" "$1" "${recipient}" < "$2"
+ mutt -s "$1" -a "$3" ${recipients} < "$2"
else
- mutt -s "$1" "${recipient}" < "$2"
+ mutt -s "$1" ${recipients} < "$2"
fi
|
|
From: <sv...@va...> - 2009-01-12 12:52:52
|
Author: bart Date: 2009-01-12 12:52:36 +0000 (Mon, 12 Jan 2009) New Revision: 8940 Log: Added to repository. Added: trunk/nightly/conf/georgia-tech-cellbuzz-native.conf trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail Added: trunk/nightly/conf/georgia-tech-cellbuzz-native.conf =================================================================== --- trunk/nightly/conf/georgia-tech-cellbuzz-native.conf (rev 0) +++ trunk/nightly/conf/georgia-tech-cellbuzz-native.conf 2009-01-12 12:52:36 UTC (rev 8940) @@ -0,0 +1,24 @@ + +# Specifics for the Georgia Tech Cellbuzz cluster. The nodes in the cellq30 +# queue are running the SDK version 3.0 (Fedora Core release 7). +# See also http://wiki.cc.gatech.edu/cellbuzz/index.php/Main_Page. +# +# Note: please keep in mind that the default shell (a.o. used by cron) on the +# Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for +# sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1". + +ABT_DETAILS="cellbuzz, ppc64, Fedora 7, native" +ABT_EVAL="cellbuzz_eval" +ABT_JOBS=2 + +cellbuzz_eval() { + rm -f cmd-output.txt done + jobid=`echo "{ cd $PWD && eval \"$*\"; } >& $PWD/cmd-output.txt" \ + | /usr/pbs/bin/qsub -m n -q cellq30` + echo "Job ID = ${jobid}" + while [ `/usr/pbs/bin/qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] + do + sleep 10 + done + cat cmd-output.txt +} Added: trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail =================================================================== --- trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail (rev 0) +++ trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail 2009-01-12 12:52:36 UTC (rev 8940) @@ -0,0 +1,13 @@ +#!/bin/sh + +# use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach] +# Don't forget to set the from and realname variables in ~/.muttrc ! + +sender="bar...@gm..." +recipient="val...@li..." +#recipient="bar...@gm..." +if [ $# -ge 3 ]; then + mutt -s -a "$3" "$1" "${recipient}" < "$2" +else + mutt -s "$1" "${recipient}" < "$2" +fi Property changes on: trunk/nightly/conf/georgia-tech-cellbuzz-native.sendmail ___________________________________________________________________ Name: svn:executable + * |
|
From: <sv...@va...> - 2009-01-12 11:06:12
|
Author: bart
Date: 2009-01-12 11:06:05 +0000 (Mon, 12 Jan 2009)
New Revision: 8939
Log:
Made sure that all diff files are processed.
Modified:
trunk/nightly/bin/nightly
Modified: trunk/nightly/bin/nightly
===================================================================
--- trunk/nightly/bin/nightly 2009-01-12 11:04:42 UTC (rev 8938)
+++ trunk/nightly/bin/nightly 2009-01-12 11:06:05 UTC (rev 8939)
@@ -169,7 +169,7 @@
# single file.
MAX_LINES=100
rm -f diffs
-diff_files=`find . -name '*.diff' | sort`
+diff_files=`find . -name '*.diff*' | sort`
if [ z"$diff_files" = z ] ; then
echo "Congratulations, all tests passed!" >> diffs
else
|
|
From: <sv...@va...> - 2009-01-12 11:04:51
|
Author: bart Date: 2009-01-12 11:04:42 +0000 (Mon, 12 Jan 2009) New Revision: 8938 Log: Updated machine details. Modified: trunk/nightly/conf/georgia-tech-cellbuzz-cross.conf Modified: trunk/nightly/conf/georgia-tech-cellbuzz-cross.conf =================================================================== --- trunk/nightly/conf/georgia-tech-cellbuzz-cross.conf 2009-01-12 08:23:15 UTC (rev 8937) +++ trunk/nightly/conf/georgia-tech-cellbuzz-cross.conf 2009-01-12 11:04:42 UTC (rev 8938) @@ -7,7 +7,7 @@ # Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for # sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1". -ABT_DETAILS="IBM BladeCenter QS20 (cross)" +ABT_DETAILS="cellbuzz, ppc64, Fedora 6, cross" ABT_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu --host=powerpc64-unknown-linux --target=powerpc64-unknown-linux STRIP=/opt/cell/bin/ppu-strip CC=/opt/cell/bin/ppu-gcc CPP='/opt/cell/bin/ppu-gcc -E' CXX=/opt/cell/bin/ppu-g++ RANLIB=/opt/cell/bin/ppu-ranlib CCAS=/opt/cell/bin/ppu-gcc" ABT_RUN_REGTEST="cellbuzz_run_regtest" ABT_JOBS=3 |
|
From: Tom H. <th...@cy...> - 2009-01-12 09:53:11
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2009-01-12 09:13:15 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 472 tests, 9 stderr failures, 0 stdout failures, 0 post failures == drd/tests/tc20_verifywrap (stderr) drd/tests/tc20_verifywrap2 (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) helgrind/tests/tc20_verifywrap (stderr) memcheck/tests/x86/scalar (stderr) ================================================= == 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 == 472 tests, 10 stderr failures, 0 stdout failures, 0 post failures == drd/tests/tc20_verifywrap (stderr) drd/tests/tc20_verifywrap2 (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) helgrind/tests/tc20_verifywrap (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2009-01-12 09:33:35.000000000 +0000 --- new.short 2009-01-12 09:53:02.000000000 +0000 *************** *** 8,10 **** ! == 472 tests, 10 stderr failures, 0 stdout failures, 0 post failures == drd/tests/tc20_verifywrap (stderr) --- 8,10 ---- ! == 472 tests, 9 stderr failures, 0 stdout failures, 0 post failures == drd/tests/tc20_verifywrap (stderr) *************** *** 18,20 **** memcheck/tests/x86/scalar (stderr) - none/tests/blockfault (stderr) --- 18,19 ---- |
|
From: Tom H. <th...@cy...> - 2009-01-12 09:49:48
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2009-01-12 09:22:51 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 478 tests, 37 stderr failures, 3 stdout failures, 0 post failures == drd/tests/tc09_bad_unlock (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) helgrind/tests/bar_bad (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/pth_barrier1 (stderr) helgrind/tests/pth_barrier2 (stderr) helgrind/tests/pth_barrier3 (stderr) helgrind/tests/rwlock_race (stderr) helgrind/tests/rwlock_test (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/insn_ssse3 (stdout) none/tests/amd64/insn_ssse3 (stderr) none/tests/amd64/ssse3_misaligned (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (stderr) ================================================= == 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 == 478 tests, 38 stderr failures, 3 stdout failures, 0 post failures == drd/tests/tc09_bad_unlock (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) helgrind/tests/bar_bad (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/pth_barrier1 (stderr) helgrind/tests/pth_barrier2 (stderr) helgrind/tests/pth_barrier3 (stderr) helgrind/tests/rwlock_race (stderr) helgrind/tests/rwlock_test (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/insn_ssse3 (stdout) none/tests/amd64/insn_ssse3 (stderr) none/tests/amd64/ssse3_misaligned (stderr) none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Jan 12 09:36:22 2009 --- new.short Mon Jan 12 09:49:34 2009 *************** *** 8,10 **** ! == 478 tests, 38 stderr failures, 3 stdout failures, 0 post failures == drd/tests/tc09_bad_unlock (stderr) --- 8,10 ---- ! == 478 tests, 37 stderr failures, 3 stdout failures, 0 post failures == drd/tests/tc09_bad_unlock (stderr) *************** *** 44,46 **** none/tests/amd64/ssse3_misaligned (stderr) - none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) --- 44,45 ---- |
|
From: Tom H. <th...@cy...> - 2009-01-12 09:05:46
|
Nightly build on mg ( x86_64, Fedora 9 ) started at 2009-01-12 08:43:31 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 478 tests, 7 stderr failures, 2 stdout failures, 0 post failures == drd/tests/tc20_verifywrap (stderr) drd/tests/tc20_verifywrap2 (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) memcheck/tests/linux-timerfd-syscall (stdout) memcheck/tests/x86/scalar (stderr) none/tests/mremap2 (stdout) ================================================= == 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 == 478 tests, 8 stderr failures, 2 stdout failures, 0 post failures == drd/tests/tc20_verifywrap (stderr) drd/tests/tc20_verifywrap2 (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) memcheck/tests/linux-timerfd-syscall (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2009-01-12 08:54:29.000000000 +0000 --- new.short 2009-01-12 09:05:35.000000000 +0000 *************** *** 8,10 **** ! == 478 tests, 8 stderr failures, 2 stdout failures, 0 post failures == drd/tests/tc20_verifywrap (stderr) --- 8,10 ---- ! == 478 tests, 7 stderr failures, 2 stdout failures, 0 post failures == drd/tests/tc20_verifywrap (stderr) *************** *** 17,19 **** memcheck/tests/x86/scalar (stderr) - none/tests/blockfault (stderr) none/tests/mremap2 (stdout) --- 17,18 ---- |
|
From: <sv...@va...> - 2009-01-12 08:23:24
|
Author: bart
Date: 2009-01-12 08:23:15 +0000 (Mon, 12 Jan 2009)
New Revision: 8937
Log:
Added new nightly build configuration variable: ABT_EVAL.
Modified:
trunk/nightly/README.txt
trunk/nightly/bin/nightly
Modified: trunk/nightly/README.txt
===================================================================
--- trunk/nightly/README.txt 2009-01-12 00:56:36 UTC (rev 8936)
+++ trunk/nightly/README.txt 2009-01-12 08:23:15 UTC (rev 8937)
@@ -19,6 +19,13 @@
ABT_DETAILS: describes the machine in more detail, eg. the OS. The default
is empty.
ABT_CONFIGURE_OPTIONS: gives extra configure options. The default is empty.
+ ABT_EVAL: if provided, it must be the name of a shell script that executes
+ the shell command $1 with arguments $2 .. ${$#}. Allows to compile and
+ run the Valgrind regression tests on another system than the system the
+ 'nightly' script runs on. It is assumed that the remote system shares the
+ local filesystem tree through e.g. NFS. It is the responsibility of the
+ shell script to set the remote working directory such that it matches the
+ local current directory ($PWD).
ABT_RUN_REGTEST: if provided, it must be the name of an argumentless shell
function (also specified in the tag.conf file) it's an argumentless bash
function that will be used to run the tests. If not specified, the usual
Modified: trunk/nightly/bin/nightly
===================================================================
--- trunk/nightly/bin/nightly 2009-01-12 00:56:36 UTC (rev 8936)
+++ trunk/nightly/bin/nightly 2009-01-12 08:23:15 UTC (rev 8937)
@@ -22,7 +22,7 @@
echo "$*" >> $logfile.verbose
# Run the command
- (eval "$*") >> $logfile.verbose 2>&1
+ ("${ABT_EVAL}" "$*") >> $logfile.verbose 2>&1
res=$?
# Write result to the short logfile
@@ -39,7 +39,7 @@
#----------------------------------------------------------------------------
# Startup
#----------------------------------------------------------------------------
-# Must have at two arguments
+# Must have exactly two arguments
if [ $# -ne 2 ] ; then
echo "usage: bin/night /path/to/valgrind/nightly <tag>"
exit 1
@@ -62,6 +62,9 @@
if [ "${ABT_JOBS}" = "" ]; then
ABT_JOBS=1
fi
+if [ "${ABT_EVAL}" = "" ]; then
+ ABT_EVAL="eval"
+fi
if [ "${ABT_RUN_REGTEST}" = "" ]; then
ABT_RUN_REGTEST="cd valgrind && perl tests/vg_regtest --all"
fi
|
|
From: Nicholas N. <n.n...@gm...> - 2009-01-12 06:27:29
|
Hi, We have a number of regtests in none/tests/x86 and memcheck/tests/x86 that involve assembly code. Most of these don't compile on Darwin. There are various different errors I'm getting in different cases, but in general it seems like the dialect of asm used by gcc/ld on Darwin is significantly different to that on Linux. Should I just mark these ones as being x86/Linux-specific? It's certainly the easiest thing to do... but some of the tests might be workable on Darwin with small changes (eg. cmpxchg8b required using %ecx instead of %ebx for one register, because %ebx is used for PIC code... but after that change the result didn't match the expected one so I don't know if it's right.) Nick |
|
From: Tom H. <th...@cy...> - 2009-01-12 03:48:03
|
Nightly build on vauxhall ( x86_64, Fedora 10 ) started at 2009-01-12 03:20:06 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 481 tests, 3 stderr failures, 0 stdout failures, 0 post failures == exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/preen_invars (stderr) memcheck/tests/x86/scalar (stderr) ================================================= == 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 == 481 tests, 4 stderr failures, 1 stdout failure, 0 post failures == exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/preen_invars (stderr) memcheck/tests/linux-timerfd-syscall (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Jan 12 03:34:09 2009 --- new.short Mon Jan 12 03:47:55 2009 *************** *** 8,15 **** ! == 481 tests, 4 stderr failures, 1 stdout failure, 0 post failures == exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/preen_invars (stderr) - memcheck/tests/linux-timerfd-syscall (stdout) memcheck/tests/x86/scalar (stderr) - none/tests/blockfault (stderr) --- 8,13 ---- ! == 481 tests, 3 stderr failures, 0 stdout failures, 0 post failures == exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/preen_invars (stderr) memcheck/tests/x86/scalar (stderr) |
|
From: <sv...@va...> - 2009-01-12 00:56:42
|
Author: njn
Date: 2009-01-12 00:56:36 +0000 (Mon, 12 Jan 2009)
New Revision: 8936
Log:
DARWIN/coregrind/m_libcproc.c
DARWIN/coregrind/m_debugstub/debugstub-darwin.c
Make these compile on Darwin again.
Modified:
branches/DARWIN/coregrind/m_debugstub/debugstub-darwin.c
branches/DARWIN/coregrind/m_libcproc.c
Modified: branches/DARWIN/coregrind/m_debugstub/debugstub-darwin.c
===================================================================
--- branches/DARWIN/coregrind/m_debugstub/debugstub-darwin.c 2009-01-12 00:24:11 UTC (rev 8935)
+++ branches/DARWIN/coregrind/m_debugstub/debugstub-darwin.c 2009-01-12 00:56:36 UTC (rev 8936)
@@ -1366,8 +1366,48 @@
}
}
+static void init_thread_state(thread_state_t state,
+ UWord fn, UWord arg1, UWord arg2,
+ char *stack, UWord stack_size)
+{
+#if defined(VGP_x86_darwin)
+ x86_thread_state32_t *regs = (x86_thread_state32_t *)state;
+ UWord *sp = (UWord *)(stack+stack_size-64);
+ VG_(memset)(regs, 0, sizeof(*regs));
+ // Push parameters
+ *--sp = 0;
+ *--sp = 0;
+ *--sp = arg2;
+ *--sp = arg1;
+ // Push return address
+ *--sp = 0;
+ regs->__esp = (Addr)sp;
+ regs->__eip = fn;
+#elif defined(VGP_amd64_darwin)
+ x86_thread_state64_t *regs = (x86_thread_state64_t *)state;
+ UWord *sp = (UWord *)(stack+stack_size-64);
+ VG_(memset)(regs, 0, sizeof(*regs));
+ *--sp = 0; // Push return address
+ regs->__rsp = (Addr)sp;
+ regs->__rip = fn;
+ regs->__rdi = arg1;
+ regs->__rsi = arg2;
+#else
+#error unknown architecture
+#endif
+}
+
static void start_helper_thread(void (*fn)(void))
{
+// GrP MACHINE_THREAD_STATE is useless
+#if defined(VGP_x86_darwin)
+# define NATIVE_THREAD_STATE x86_THREAD_STATE32
+# define NATIVE_THREAD_STATE_COUNT x86_THREAD_STATE32_COUNT
+#else
+# define NATIVE_THREAD_STATE x86_THREAD_STATE64
+# define NATIVE_THREAD_STATE_COUNT x86_THREAD_STATE64_COUNT
+#endif
+
# define stacksize 4096
thread_act_t helper_thread;
thread_state_data_t helper_state;
Modified: branches/DARWIN/coregrind/m_libcproc.c
===================================================================
--- branches/DARWIN/coregrind/m_libcproc.c 2009-01-12 00:24:11 UTC (rev 8935)
+++ branches/DARWIN/coregrind/m_libcproc.c 2009-01-12 00:56:36 UTC (rev 8936)
@@ -784,50 +784,6 @@
}
-#if defined(VGO_darwin)
-
-// GrP MACHINE_THREAD_STATE is useless
-#if defined(VGP_x86_darwin)
-# define NATIVE_THREAD_STATE x86_THREAD_STATE32
-# define NATIVE_THREAD_STATE_COUNT x86_THREAD_STATE32_COUNT
-#elif defined(VGP_amd64_darwin)
-# define NATIVE_THREAD_STATE x86_THREAD_STATE64
-# define NATIVE_THREAD_STATE_COUNT x86_THREAD_STATE64_COUNT
-#endif
-
-static void init_thread_state(thread_state_t state,
- UWord fn, UWord arg1, UWord arg2,
- char *stack, UWord stack_size)
-{
-#if defined(VGA_x86)
- x86_thread_state32_t *regs = (x86_thread_state32_t *)state;
- UWord *sp = (UWord *)(stack+stack_size-64);
- VG_(memset)(regs, 0, sizeof(*regs));
- // Push parameters
- *--sp = 0;
- *--sp = 0;
- *--sp = arg2;
- *--sp = arg1;
- // Push return address
- *--sp = 0;
- regs->__esp = (Addr)sp;
- regs->__eip = fn;
-#elif defined(VGA_amd64)
- x86_thread_state64_t *regs = (x86_thread_state64_t *)state;
- UWord *sp = (UWord *)(stack+stack_size-64);
- VG_(memset)(regs, 0, sizeof(*regs));
- *--sp = 0; // Push return address
- regs->__rsp = (Addr)sp;
- regs->__rip = fn;
- regs->__rdi = arg1;
- regs->__rsi = arg2;
-#else
-#error unknown architecture
-#endif
-}
-
-#endif
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
|
|
From: <sv...@va...> - 2009-01-12 00:24:18
|
Author: njn
Date: 2009-01-12 00:24:11 +0000 (Mon, 12 Jan 2009)
New Revision: 8935
Log:
Make progress towards this branch compiling on Linux.
DARWIN/include/vki/vki-linux.h
Defined socklen_t.
DARWIN/coregrind/m_ume_elf.c
Add CC args to VG_(malloc) calls.
DARWIN/coregrind/m_syswrap/priv_types_n_macros.h
- Make the SyscallArgLayout platform differences clearer. Differentiate
syscall args 7 and 8 on x86-Linux and AMD64-Linux so they can't be
used accidentally.
- Conditionally protect the Darwin-only getRES2().
DARWIN/coregrind/m_syswrap/syswrap-main.c
- Add info on x86/AMD64 syscall args on Darwin.
- Update for SyscallArgLayout changes.
- Conditionally protect several VG_DARWIN_SYSNO_PRINT calls.
- Add a comment containing some post-syscall reg marking code which got
lost on this branch.
DARWIN/coregrind/m_syscall.c
Conditionally protect the .res2 field.
DARWIN/coregrind/m_debugger.c
Add a comment.
DARWIN/coregrind/pub_core_mach.h
Don't conditionally protect VG_(mach_init), since it's defined (but
empty) on non-Darwin platforms.
DARWIN/coregrind/m_main.c
Conditionally protect the use of the debugstub module, which only Darwin
implements.
DARWIN/coregrind/m_scheduler/sema.c
DARWIN/coregrind/m_scheduler/priv_sema.h
Get the conditional compilation guards right for all platforms. And
reinstate the old vg_sema_t type for non-Darwin platforms.
DARWIN/coregrind/m_libcproc.c
Move VG_(start_helper_thread) into m_debugstub, which is a better place
for it.
DARWIN/coregrind/m_debugstub.c
DARWIN/coregrind/m_debugstub/debugstub-linux.c
DARWIN/coregrind/m_debugstub/debugstub-aix5.c
DARWIN/coregrind/m_debugstub/debugstub-darwin.c
DARWIN/coregrind/Makefile.am
Moved m_debugstub.c into a directory, with one file per OS (the Linux
and AIX ones currently abort immediately because they're not used).
DARWIN/coregrind/m_libcfile.c
Add various conditional compilation guards.
Added:
branches/DARWIN/coregrind/m_debugstub/
branches/DARWIN/coregrind/m_debugstub/debugstub-aix5.c
branches/DARWIN/coregrind/m_debugstub/debugstub-darwin.c
branches/DARWIN/coregrind/m_debugstub/debugstub-linux.c
Removed:
branches/DARWIN/coregrind/m_debugstub.c
Modified:
branches/DARWIN/coregrind/Makefile.am
branches/DARWIN/coregrind/m_debugger.c
branches/DARWIN/coregrind/m_libcfile.c
branches/DARWIN/coregrind/m_libcproc.c
branches/DARWIN/coregrind/m_main.c
branches/DARWIN/coregrind/m_scheduler/priv_sema.h
branches/DARWIN/coregrind/m_scheduler/sema.c
branches/DARWIN/coregrind/m_syscall.c
branches/DARWIN/coregrind/m_syswrap/priv_types_n_macros.h
branches/DARWIN/coregrind/m_syswrap/syswrap-main.c
branches/DARWIN/coregrind/m_ume_elf.c
branches/DARWIN/coregrind/pub_core_mach.h
branches/DARWIN/include/vki/vki-linux.h
[... diff too large to include ...]
|