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
(32) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(32) |
2
(22) |
3
(47) |
4
(29) |
5
(18) |
6
(16) |
|
7
(21) |
8
(29) |
9
(23) |
10
(68) |
11
(20) |
12
(17) |
13
(17) |
|
14
(27) |
15
(26) |
16
(21) |
17
(13) |
18
(19) |
19
(29) |
20
(13) |
|
21
(9) |
22
(8) |
23
(29) |
24
(56) |
25
(21) |
26
(46) |
27
(33) |
|
28
(25) |
29
(41) |
30
(35) |
31
(28) |
|
|
|
|
From: <sv...@va...> - 2005-08-29 12:36:00
|
Author: sewardj Date: 2005-08-29 13:35:57 +0100 (Mon, 29 Aug 2005) New Revision: 1365 Log: Merge r1364 (Observe any externally supplied $(CC).) Modified: branches/VEX_3_0_BRANCH/Makefile Modified: branches/VEX_3_0_BRANCH/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/VEX_3_0_BRANCH/Makefile 2005-08-29 12:07:41 UTC (rev 1364) +++ branches/VEX_3_0_BRANCH/Makefile 2005-08-29 12:35:57 UTC (rev 1365) @@ -63,7 +63,9 @@ PRIV_INCLUDES =3D -Ipriv =20 =20 -CC =3D gcc +ifeq ($(CC),)=20 + CC =3D gcc=20 +endif=20 CCFLAGS =3D -g -O -Wall -Wmissing-prototypes -Wshadow -Winline \ -Wpointer-arith -Wbad-function-cast -Wcast-qual \ -Wcast-align -Wmissing-declarations \ @@ -120,7 +122,7 @@ @echo =20 pub/libvex_guest_offsets.h: - gcc -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c + $(CC) -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c ./auxprogs/genoffsets > pub/libvex_guest_offsets.h =20 =20 |
|
From: <sv...@va...> - 2005-08-29 12:11:11
|
Author: sewardj Date: 2005-08-29 13:11:06 +0100 (Mon, 29 Aug 2005) New Revision: 4559 Log: Pass $(CC) to the vex Makefile. Modified: trunk/coregrind/Makefile.am trunk/coregrind/m_dispatch/Makefile.am trunk/coregrind/m_syswrap/Makefile.am Modified: trunk/coregrind/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/Makefile.am 2005-08-29 01:27:50 UTC (rev 4558) +++ trunk/coregrind/Makefile.am 2005-08-29 12:11:06 UTC (rev 4559) @@ -202,13 +202,13 @@ || rm -f $@ =20 @VEX_DIR@/libvex.a: @VEX_DIR@/priv/main/vex_svnversion.h - $(MAKE) -C @VEX_DIR@ libvex.a EXTRA_CFLAGS=3D"@ARCH_CORE_AM_CFLAGS@ @PI= E_AM_CFLAGS@" + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) libvex.a EXTRA_CFLAGS=3D"@ARCH_CORE_AM_= CFLAGS@ @PIE_AM_CFLAGS@" =20 @VEX_DIR@/priv/main/vex_svnversion.h: $(wildcard @VEX_DIR@/.svn/entries) - $(MAKE) -C @VEX_DIR@ version + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) version =20 clean-local: - $(MAKE) -C @VEX_DIR@ clean + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) clean =20 MANUAL_DEPS =3D $(noinst_HEADERS) $(include_HEADERS) =20 Modified: trunk/coregrind/m_dispatch/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_dispatch/Makefile.am 2005-08-29 01:27:50 UTC (rev 4= 558) +++ trunk/coregrind/m_dispatch/Makefile.am 2005-08-29 12:11:06 UTC (rev 4= 559) @@ -13,4 +13,4 @@ dispatch-@VG_ARCH@.S: libvex_guest_offsets.h =20 libvex_guest_offsets.h: - $(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) pub/libvex_guest_offsets.h Modified: trunk/coregrind/m_syswrap/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_syswrap/Makefile.am 2005-08-29 01:27:50 UTC (rev 45= 58) +++ trunk/coregrind/m_syswrap/Makefile.am 2005-08-29 12:11:06 UTC (rev 45= 59) @@ -26,4 +26,4 @@ syswrap-main.c: libvex_guest_offsets.h =20 libvex_guest_offsets.h: - $(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) pub/libvex_guest_offsets.h |
|
From: <sv...@va...> - 2005-08-29 12:07:46
|
Author: sewardj Date: 2005-08-29 13:07:41 +0100 (Mon, 29 Aug 2005) New Revision: 1364 Log: Observe any externally supplied $(CC). Modified: trunk/Makefile Modified: trunk/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/Makefile 2005-08-26 18:00:31 UTC (rev 1363) +++ trunk/Makefile 2005-08-29 12:07:41 UTC (rev 1364) @@ -63,7 +63,9 @@ PRIV_INCLUDES =3D -Ipriv =20 =20 -CC =3D gcc +ifeq ($(CC),)=20 + CC =3D gcc=20 +endif=20 CCFLAGS =3D -g -O -Wall -Wmissing-prototypes -Wshadow -Winline \ -Wpointer-arith -Wbad-function-cast -Wcast-qual \ -Wcast-align -Wmissing-declarations \ @@ -120,7 +122,7 @@ @echo =20 pub/libvex_guest_offsets.h: - gcc -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c + $(CC) -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c ./auxprogs/genoffsets > pub/libvex_guest_offsets.h =20 =20 |
|
From: <sv...@va...> - 2005-08-29 08:09:12
|
Author: cerion Date: 2005-08-29 09:09:05 +0100 (Mon, 29 Aug 2005) New Revision: 183 Log: tweak Modified: trunk/devel/platforms.html Modified: trunk/devel/platforms.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/devel/platforms.html 2005-08-29 04:39:46 UTC (rev 182) +++ trunk/devel/platforms.html 2005-08-29 08:09:05 UTC (rev 183) @@ -115,7 +115,7 @@ and associated (libc) source code makes things much easier.</p> =20 <p>This message states our porting rationale and current priorities. -As ever we retain a flexible approach, and we are interested in hear=20 +As ever we retain a flexible approach, and are interested in hearing=20 your comments/porting needs if you have any.</p> =20 <p>August 27, 2005.</p> |
|
From: <sv...@va...> - 2005-08-29 04:39:50
|
Author: njn
Date: 2005-08-29 05:39:46 +0100 (Mon, 29 Aug 2005)
New Revision: 182
Log:
Add section about porting priorities.
Modified:
trunk/devel/platforms.html
Modified: trunk/devel/platforms.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/devel/platforms.html 2005-08-27 17:29:51 UTC (rev 181)
+++ trunk/devel/platforms.html 2005-08-29 04:39:46 UTC (rev 182)
@@ -10,27 +10,24 @@
<dl class=3D"spaced">
=20
<dt><b>x86</b></dt>
-
-<dd>Currently, the stable 2.4.0 release only supports=20
+<dd>The stable 2.4.0 release only supports=20
Linux running on x86 machines.</dd>
=20
+<dt><b>AMD64</b></dt>
+<dd>valgrind-3.0 supports AMD64 on Linux.</dd>
=20
+
<dt><b>PowerPC/Linux</b></dt>
-
<dd>Paul Mackerras has an experimental port of valgrind to
PowerPC/Linux which you can
<a href=3D"http://ozlabs.org/~paulus/">download
here</a>. Caveat emptor applies!
</dd>
=20
-<dd>In valgrind-3.0, support for 32-bit PowerPC on Linux is
+<dd>In the Valgrind-3.0 series, support for 32-bit PowerPC on Linux is
under development.</dd>
=20
=20
-<dt><b>AMD64</b></dt>
-
-<dd>valgrind-3.0 will support AMD64 on Linux.</dd>
-
</dl>
=20
=20
@@ -57,11 +54,70 @@
=20
<dt><b>FreeBSD</b></dt>
=20
- <dd>Doug Rabson and others haved done a fairly complete port. Snapshot=
s of
- the work in progress are at <a
+ <dd>Doug Rabson and others haved done a fairly complete port for x86.
+ Snapshots of the work in progress are at <a
href=3D"http://www.freebsd.org/cgi/ports.cgi?query=3Dvalgrind">this F=
reeBSD
page</a>. We hope to integrate this support into Valgrind at some
point.</dd>
=20
</dl>
=20
+
+<div class=3D"hr_brown"><hr/></div>
+
+<a name=3D"porting_plans"></a><h2>Porting Plans</h2>
+
+<p>Valgrind 3.X has the infrastructure to support multiple platforms. A
+platform is a specific (CPU,OS) pairing, such as x86/Linux or
+AMD64/Linux. Support for each platform involves some CPU-specific code,
+some OS-specific code, and some platform-specific code.</p>
+
+<p>Maintaining each port takes a lot of effort, more so than for most
+other programs. Valgrind is fragile due to the low-level nature of what
+it does. Also each platform port has CPU-specific code, OS-specific
+code and platform-specific code, and testing all the combinations is
+difficult.</p>
+
+<p>Because of this, we can only justify supporting platforms that are
+widely used. Unlike NetBSD or GCC, we are not interested in having
+Valgrind work on every platform in the known universe: the maintenance
+burden is too high. Therefore, porting Valgrind to different platforms
+is not simply a technical exercise: you also need to make a convincing
+case that the effort will be worth it, and that the port will be
+supported properly, at least in the forseeable future. The following
+table summarises our current porting priorities.</p>
+
+<table class=3D"form" width=3D"100%" cellspacing=3D"0" cellpadding=3D"3"=
border=3D"1">
+<tr><th> </th> <th>Linux</th> <th>*BSD</th> <th>Darwin</th> <th>Sola=
ris</th></tr>
+<tr><td>x86 </td> <td>done </td> <td>low</td> <td>high</td> <td>l=
ow</td></tr>
+<tr><td>amd64</td> <td>done </td> <td>low</td> <td>eventually?</td=
> <td></td></tr>
+<tr><td>ppc32</td> <td>in progress</td> <td></td> <td>high</td> <td></td=
></tr>
+<tr><td>arm </td> <td>low </td> <td></td> <td></td> <td></td></t=
r>
+<tr><td>mips </td> <td>low </td> <td></td> <td></td> <td></td></t=
r>
+</table>
+
+<p>There are experimental ppc32/darwin and x86/FreeBSD ports for Valgrin=
d 2.X.
+They could be made to work with 3.x with some effort. A (much less matu=
re)
+port for x86/Solaris is also being worked on.</p>
+
+<p>ppc32/darwin is a high priority; it would be great to have Valgrind =
running
+on Apple machines. Once x86/darwin machines become available, that too
+will become a high priority. amd64/darwin will presumably eventually be=
come
+important. Of the other table entries Arm/Linux or MIPS/Linux might be
+useful for embedded developers. x86/BSD, amd64/BSD and x86/Solaris are
+lower priorities.</p>
+
+<p>There are many platforms not mentioned here. Some are of little inte=
rest
+(eg. SPARC/*, */AIX). Some would be technically difficult (eg. IA64/*).
+In particular Windows is not under consideration here because porting to=
it
+would require so many changes it would almost be a separate project. Al=
so,
+non-open-source OSes are difficult to deal with; being able to see the =
OS
+and associated (libc) source code makes things much easier.</p>
+
+<p>This message states our porting rationale and current priorities.
+As ever we retain a flexible approach, and we are interested in hear=20
+your comments/porting needs if you have any.</p>
+
+<p>August 27, 2005.</p>
+
+
|
|
From: <js...@ac...> - 2005-08-29 02:56:22
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-08-29 03:30:00 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 185 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: <js...@ac...> - 2005-08-29 02:44:52
|
Nightly build on g5 ( YDL 4.0, ppc970 ) started at 2005-08-29 04:40:01 CEST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 158 tests, 18 stderr failures, 1 stdout failure ================= memcheck/tests/badjump (stderr) memcheck/tests/badjump2 (stderr) memcheck/tests/fprw (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigaltstack (stderr) memcheck/tests/supp1 (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) cachegrind/tests/chdir (stderr) cachegrind/tests/dlclose (stdout) cachegrind/tests/dlclose (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/fdleak_ipv4 (stderr) |
|
From: Tom H. <to...@co...> - 2005-08-29 02:41:05
|
Nightly build on dunsmere ( athlon, Fedora Core 4 ) started at 2005-08-29 03:30:04 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 == 187 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/leak-tree (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:27:43
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-08-29 03:15:03 BST 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 == 186 tests, 14 stderr failures, 0 stdout failures ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (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 == 186 tests, 14 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) none/tests/x86/yield (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Aug 29 03:21:26 2005 --- new.short Mon Aug 29 03:27:39 2005 *************** *** 8,10 **** ! == 186 tests, 14 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) --- 8,10 ---- ! == 186 tests, 14 stderr failures, 0 stdout failures ================= memcheck/tests/addressable (stderr) *************** *** 23,25 **** none/tests/x86/int (stderr) - none/tests/x86/yield (stdout) --- 23,24 ---- |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:25:03
|
Nightly build on ginetta ( i686, Red Hat 8.0 ) started at 2005-08-29 03:10:06 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 == 186 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:20:14
|
Nightly build on dellow ( x86_64, Fedora Core 4 ) started at 2005-08-29 03:10:06 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 == 164 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:16:58
|
Nightly build on aston ( x86_64, Fedora Core 3 ) started at 2005-08-29 03:05:13 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 == 164 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:12:21
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2005-08-29 03:00:03 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 == 164 tests, 7 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) |
|
From: <sv...@va...> - 2005-08-29 01:27:53
|
Author: njn
Date: 2005-08-29 02:27:50 +0100 (Mon, 29 Aug 2005)
New Revision: 4558
Log:
Add a newline to the failure message.
Modified:
branches/ASPACEM/coregrind/m_launcher.c
Modified: branches/ASPACEM/coregrind/m_launcher.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_launcher.c 2005-08-29 01:22:54 UTC (rev =
4557)
+++ branches/ASPACEM/coregrind/m_launcher.c 2005-08-29 01:27:50 UTC (rev =
4558)
@@ -103,7 +103,8 @@
=20
execve(toolfile, argv, envp);
=20
- fprintf(stderr, "valgrind: failed to start %s: %s", toolname, strerro=
r(errno));
+ fprintf(stderr, "valgrind: failed to start %s: %s\n",
+ toolname, strerror(errno));
=20
exit(1);
}
|
|
From: <sv...@va...> - 2005-08-29 01:22:56
|
Author: njn Date: 2005-08-29 02:22:54 +0100 (Mon, 29 Aug 2005) New Revision: 4557 Log: Fixed the hacky method of building libcoregrind.so. Also, we don't need to play --whole-archive games with libreplacemalloc_core.a now. Modified: branches/ASPACEM/Makefile.tool.am branches/ASPACEM/cachegrind/Makefile.am branches/ASPACEM/coregrind/Makefile.am branches/ASPACEM/lackey/Makefile.am branches/ASPACEM/massif/Makefile.am branches/ASPACEM/memcheck/Makefile.am branches/ASPACEM/none/Makefile.am Modified: branches/ASPACEM/Makefile.tool.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/ASPACEM/Makefile.tool.am 2005-08-29 01:15:13 UTC (rev 4556) +++ branches/ASPACEM/Makefile.tool.am 2005-08-29 01:22:54 UTC (rev 4557) @@ -7,3 +7,26 @@ =20 LIBREPLACEMALLOC =3D $(top_builddir)/coregrind/m_replacemalloc/libreplac= emalloc_toolpreload.a =20 +## Nb: libscheduler.a must precede libdispatch.a in this list. +COREGRIND_LIBS =3D \ + $(top_builddir)/coregrind/libcoregrind_singles.a \ + $(top_builddir)/coregrind/m_aspacemgr/libaspacemgr.a \ + $(top_builddir)/coregrind/m_debuginfo/libdebuginfo.a \ + $(top_builddir)/coregrind/m_demangle/libdemangle.a \ + $(top_builddir)/coregrind/m_scheduler/libscheduler.a \ + $(top_builddir)/coregrind/m_dispatch/libdispatch.a \ + $(top_builddir)/coregrind/m_replacemalloc/libreplacemalloc_core.a \ + $(top_builddir)/coregrind/m_sigframe/libsigframe.a \ + $(top_builddir)/coregrind/m_syswrap/libsyswrap.a \ + @VEX_DIR@/libvex.a + + +## Nb: do not call this variables "TOOL_LINKADD" and "TOOL_LDFLAGS" -- t= hat +## makes automake think we are building something called "TOOLS". +TOOL_LINKADD =3D $(COREGRIND_LIBS) -lgcc +TOOL_LINKFLAGS =3D \ + -static \ + -Wl,-defsym,valt_load_address=3D@VALT_LOAD_ADDRESS@ \ + -Wl,-T,$(top_srcdir)/valt_load_address.lds \ + -nodefaultlibs -nostartfiles + Modified: branches/ASPACEM/cachegrind/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/ASPACEM/cachegrind/Makefile.am 2005-08-29 01:15:13 UTC (rev = 4556) +++ branches/ASPACEM/cachegrind/Makefile.am 2005-08-29 01:22:54 UTC (rev = 4557) @@ -11,13 +11,7 @@ =20 val_PROGRAMS =3D cachegrind =20 -cachegrind_DEPENDENCIES =3D $(top_srcdir)/coregrind/libcoregrind.a -cachegrind_SOURCES =3D \ - cg_main.c \ - cg-@VG_ARCH@.c -cachegrind_LDFLAGS =3D \ - -static \ - $(top_srcdir)/coregrind/libcoregrind.a \ - -Wl,-defsym,valt_load_address=3D@VALT_LOAD_ADDRESS@ \ - -Wl,-T,$(top_srcdir)/valt_load_address.lds \ - -nodefaultlibs -lgcc -nostartfiles +cachegrind_SOURCES =3D cg_main.c cg-@VG_ARCH@.c +cachegrind_DEPENDENCIES =3D $(COREGRIND_LIBS) +cachegrind_LDADD =3D $(TOOL_LINKADD) +cachegrind_LDFLAGS =3D $(TOOL_LINKFLAGS) Modified: branches/ASPACEM/coregrind/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/ASPACEM/coregrind/Makefile.am 2005-08-29 01:15:13 UTC (rev 4= 556) +++ branches/ASPACEM/coregrind/Makefile.am 2005-08-29 01:22:54 UTC (rev 4= 557) @@ -23,15 +23,7 @@ =20 default.supp: $(SUPP_FILES) =20 -## XXXXXXXXXXXXX JRS 8 Aug 05: the next three lines constitute an -## appalling hack. Although we purportedly create a .a file, in fact -## it is really a .o (relocatable ELF object) file. The root reason -## is that some of the inputs to libcoregrind.a are themselves .a files, -## and I don't know how to get /usr/bin/ar to accept .a files as inputs. -noinst_LIBRARIES =3D libcoregrind.a -libcoregrind_a_AR =3D $(LD) --whole-archive -r -o -RANLIB =3D echo "Not really ranlib-ing" -## end of hack +noinst_LIBRARIES =3D libcoregrind_singles.a =20 bin_PROGRAMS =3D \ valgrind @@ -98,7 +90,7 @@ m_commandline.c \ m_debuglog.c =20 -libcoregrind_a_SOURCES =3D \ +libcoregrind_singles_a_SOURCES =3D \ m_commandline.c \ m_cpuid.S \ m_debugger.c \ @@ -133,39 +125,6 @@ m_transtab.c \ m_ume.c =20 -## Nb: libscheduler.a must precede libdispatch.a in this list. -libcoregrind_a_extra=3D \ - m_debuginfo/libdebuginfo.a \ - m_demangle/libdemangle.a \ - m_scheduler/libscheduler.a \ - m_dispatch/libdispatch.a \ - m_aspacemgr/libaspacemgr.a \ - m_sigframe/libsigframe.a \ - m_syswrap/libsyswrap.a \ - @VEX_DIR@/libvex.a - -## These ones must be linked in with the --whole-archive flag, because -## they wouldn't get pulled into libcoregrind otherwise (because they -## contain symbols only referred to by tool shared objects). -libcoregrind_a_extra2 =3D \ - m_replacemalloc/libreplacemalloc_core.a - -## Nb: older versions of automake don't seem to like having +=3D within = an -## if-then-else, so we have to use these variables for the common parts. -libcoregrind_a_DEPS_common =3D \ - $(libcoregrind_a_extra) \ - $(libcoregrind_a_extra2) - -st2_LDFLAGS_common =3D \ - -Wl,--export-dynamic -g \ - -Wl,--whole-archive $(libcoregrind_a_extra2) -Wl,--no-whole-archive - -libcoregrind_a_DEPENDENCIES =3D $(libcoregrind_a_DEPS_common) -libcoregrind_a_LIBFLAGS =3D \ - $(st2_LDFLAGS_common) - -libcoregrind_a_LIBADD=3D $(libcoregrind_a_extra) $(libcoregrind_a_extra2= ) - vg_preload_core_so_SOURCES =3D vg_preloaded.c vg_preload_core_so_CFLAGS =3D $(AM_CFLAGS) -fpic vg_preload_core_so_LDADD =3D -ldl Modified: branches/ASPACEM/lackey/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/ASPACEM/lackey/Makefile.am 2005-08-29 01:15:13 UTC (rev 4556= ) +++ branches/ASPACEM/lackey/Makefile.am 2005-08-29 01:22:54 UTC (rev 4557= ) @@ -2,12 +2,7 @@ =20 val_PROGRAMS =3D lackey =20 -lackey_DEPENDENCIES =3D $(top_srcdir)/coregrind/libcoregrind.a -lackey_SOURCES =3D \ - lk_main.c -lackey_LDFLAGS =3D \ - -static \ - $(top_srcdir)/coregrind/libcoregrind.a \ - -Wl,-defsym,valt_load_address=3D@VALT_LOAD_ADDRESS@ \ - -Wl,-T,$(top_srcdir)/valt_load_address.lds \ - -nodefaultlibs -lgcc -nostartfiles +lackey_SOURCES =3D lk_main.c +lackey_DEPENDENCIES =3D $(COREGRIND_LIBS) +lackey_LDADD =3D $(TOOL_LINKADD) +lackey_LDFLAGS =3D $(TOOL_LINKFLAGS) Modified: branches/ASPACEM/massif/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/ASPACEM/massif/Makefile.am 2005-08-29 01:15:13 UTC (rev 4556= ) +++ branches/ASPACEM/massif/Makefile.am 2005-08-29 01:22:54 UTC (rev 4557= ) @@ -4,20 +4,15 @@ =20 val_PROGRAMS =3D massif vgpreload_massif.so =20 -vgpreload_massif_so_SOURCES =3D=20 -vgpreload_massif_so_DEPENDENCIES =3D \ - $(LIBREPLACEMALLOC) -vgpreload_massif_so_LDFLAGS =3D -shared -Wl,-z,interpose,-z,initfirst \ +vgpreload_massif_so_SOURCES =3D=20 +vgpreload_massif_so_DEPENDENCIES =3D $(LIBREPLACEMALLOC) +vgpreload_massif_so_LDFLAGS =3D \ + -shared -Wl,-z,interpose,-z,initfirst \ -Wl,--whole-archive \ $(LIBREPLACEMALLOC) \ -Wl,--no-whole-archive =20 -massif_DEPENDENCIES =3D $(top_srcdir)/coregrind/libcoregrind.a -massif_SOURCES =3D \ - ms_main.c -massif_LDFLAGS =3D \ - -static \ - $(top_srcdir)/coregrind/libcoregrind.a \ - -Wl,-defsym,valt_load_address=3D@VALT_LOAD_ADDRESS@ \ - -Wl,-T,$(top_srcdir)/valt_load_address.lds \ - -nodefaultlibs -lgcc -nostartfiles +massif_SOURCES =3D ms_main.c +massif_DEPENDENCIES =3D $(COREGRIND_LIBS) +massif_LDADD =3D $(TOOL_LINKADD) +massif_LDFLAGS =3D $(TOOL_LINKFLAGS) Modified: branches/ASPACEM/memcheck/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/ASPACEM/memcheck/Makefile.am 2005-08-29 01:15:13 UTC (rev 45= 56) +++ branches/ASPACEM/memcheck/Makefile.am 2005-08-29 01:22:54 UTC (rev 45= 57) @@ -5,28 +5,23 @@ =20 val_PROGRAMS =3D memcheck vgpreload_memcheck.so =20 -vgpreload_memcheck_so_SOURCES =3D \ - mac_replace_strmem.c -vgpreload_memcheck_so_DEPENDENCIES =3D \ - $(LIBREPLACEMALLOC) -vgpreload_memcheck_so_LDFLAGS =3D -shared -Wl,-z,interpose,-z,initfirst = \ +vgpreload_memcheck_so_SOURCES =3D mac_replace_strmem.c +vgpreload_memcheck_so_DEPENDENCIES =3D $(LIBREPLACEMALLOC) +vgpreload_memcheck_so_LDFLAGS =3D \ + -shared -Wl,-z,interpose,-z,initfirst \ -Wl,--whole-archive \ $(LIBREPLACEMALLOC) \ -Wl,--no-whole-archive =20 -memcheck_DEPENDENCIES =3D $(top_srcdir)/coregrind/libcoregrind.a memcheck_SOURCES =3D \ mac_leakcheck.c \ mac_malloc_wrappers.c \ mc_main.c \ mac_shared.c \ mc_translate.c -memcheck_LDFLAGS =3D \ - -static \ - $(top_srcdir)/coregrind/libcoregrind.a \ - -Wl,-defsym,valt_load_address=3D@VALT_LOAD_ADDRESS@ \ - -Wl,-T,$(top_srcdir)/valt_load_address.lds \ - -nodefaultlibs -lgcc -nostartfiles +memcheck_DEPENDENCIES =3D $(COREGRIND_LIBS) +memcheck_LDADD =3D $(TOOL_LINKADD) +memcheck_LDFLAGS =3D $(TOOL_LINKFLAGS) =20 mcincludedir =3D $(includedir)/valgrind =20 Modified: branches/ASPACEM/none/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/ASPACEM/none/Makefile.am 2005-08-29 01:15:13 UTC (rev 4556) +++ branches/ASPACEM/none/Makefile.am 2005-08-29 01:22:54 UTC (rev 4557) @@ -2,12 +2,7 @@ =20 val_PROGRAMS =3D none =20 -none_DEPENDENCIES =3D $(top_srcdir)/coregrind/libcoregrind.a -none_SOURCES =3D \ - nl_main.c -none_LDFLAGS =3D \ - -static \ - $(top_srcdir)/coregrind/libcoregrind.a \ - -Wl,-defsym,valt_load_address=3D@VALT_LOAD_ADDRESS@ \ - -Wl,-T,$(top_srcdir)/valt_load_address.lds \ - -nodefaultlibs -lgcc -nostartfiles +none_SOURCES =3D nl_main.c +none_DEPENDENCIES =3D $(COREGRIND_LIBS) +none_LDADD =3D $(TOOL_LINKADD) +none_LDFLAGS =3D $(TOOL_LINKFLAGS) |
|
From: <sv...@va...> - 2005-08-29 01:15:16
|
Author: njn
Date: 2005-08-29 02:15:13 +0100 (Mon, 29 Aug 2005)
New Revision: 4556
Log:
Mashed around and simplified main() a bit now that we don't need to
load the tool.
Modified:
branches/ASPACEM/coregrind/m_main.c
branches/ASPACEM/include/pub_tool_tooliface.h
Modified: branches/ASPACEM/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_main.c 2005-08-28 19:34:39 UTC (rev 4555=
)
+++ branches/ASPACEM/coregrind/m_main.c 2005-08-29 01:15:13 UTC (rev 4556=
)
@@ -109,7 +109,7 @@
=20
// HACK HACK HACK HACK HACK HACK HACK HACK HACK HACK HACK HACK HACK A
// temporary bootstrapping allocator, for use until such time as we
-// can get rid of the circularites in allocator dependencies at
+// can get rid of the circularities in allocator dependencies at
// startup. There is also a copy of this in m_ume.c.
#define N_HACK_BYTES 10000
static Int hack_bytes_used =3D 0;
@@ -353,38 +353,50 @@
If this needs to handle any more variables it should be hacked
into something table driven.
*/
-static HChar **fix_environment(HChar **origenv, const HChar *preload)
+static HChar **fix_environment(HChar **origenv, const HChar *toolname)
{
- static const HChar preload_core_so[] =3D "vg_preload_core.so";
- static const HChar ld_preload[] =3D "LD_PRELOAD=3D";
- static const HChar valgrind_clo[] =3D VALGRINDCLO "=3D";
- static const int ld_preload_len =3D sizeof(ld_preload)-1;
- static const int valgrind_clo_len =3D sizeof(valgrind_clo)-1;
- int ld_preload_done =3D 0;
- HChar *preload_core_path;
- int preload_core_path_len;
- int vgliblen =3D VG_(strlen)(VG_(libdir));
- HChar **cpp;
- HChar **ret;
- int envc;
- const int preloadlen =3D (preload =3D=3D NULL) ? 0 : VG_(strlen)(prel=
oad);
+ static const HChar preload_core_so[] =3D "vg_preload_core.so";
+ static const HChar ld_preload[] =3D "LD_PRELOAD=3D";
+ static const HChar valgrind_clo[] =3D VALGRINDCLO "=3D";
+ static const Int ld_preload_len =3D sizeof(ld_preload)-1;
+ static const Int valgrind_clo_len =3D sizeof(valgrind_clo)-1;
+ Bool ld_preload_done =3D False;
+ Int vgliblen =3D VG_(strlen)(VG_(libdir));
+ HChar** cpp;
+ HChar** ret;
+ HChar* preload_tool_path;;
+ Int envc;
=20
- /* Find the vg_preload_core.so; also make room for the tool preload
- library */
- preload_core_path_len =3D sizeof(preload_core_so) + vgliblen + preloa=
dlen + 16;
+ /* Alloc space for the vgpreload_core.so path and vgpreload_<tool>.so
+ paths. We might not need the space for vgpreload_<tool>.so, but i=
t
+ doesn't hurt to over-allocate briefly. The 16s are just cautious
+ slop. */
+ Int preload_core_path_len =3D vgliblen + sizeof(preload_core_so) + 16=
;
+ Int preload_tool_path_len =3D vgliblen + VG_(strlen)(toolname) + 16=
;
+ Int preload_string_len =3D preload_core_path_len + preload_tool_pa=
th_len;
/* FIXME */
- preload_core_path =3D /*VG_(malloc)*/ hack_malloc(preload_core_path_l=
en);
- vg_assert(preload_core_path);
-
- if (preload)
- VG_(snprintf)(preload_core_path, preload_core_path_len, "%s/%s:%s"=
,=20
- VG_(libdir), preload_core_so, preload);
- else
- VG_(snprintf)(preload_core_path, preload_core_path_len, "%s/%s",=20
- VG_(libdir), preload_core_so);
+ HChar* preload_string =3D /*VG_(malloc)*/ hack_malloc(preload_str=
ing_len);
+ vg_assert(preload_string);
=20
+ /* Determine if there's a vgpreload_<tool>.so file, and setup
+ preload_string. */
+ preload_tool_path =3D /*VG_(malloc)*/ hack_malloc(preload_tool_path_l=
en);
+ vg_assert(preload_tool_path);
+ VG_(snprintf)(preload_tool_path, preload_tool_path_len,
+ "%s/vgpreload_%s.so", VG_(libdir), toolname);
+ if (VG_(access)(preload_tool_path, True/*r*/, False/*w*/, False/*x*/)=
=3D=3D 0) {
+ VG_(snprintf)(preload_string, preload_string_len, "%s/%s:%s",=20
+ VG_(libdir), preload_core_so, preload_tool_path);
+ } else {
+ VG_(snprintf)(preload_string, preload_string_len, "%s/%s",=20
+ VG_(libdir), preload_core_so);
+ }
+ //FIXME VG_(free)(preload_tool);
+
+ VG_(debugLog)(1, "main", "preload_string =3D %s\n", preload_string);
+
/* Count the original size of the env */
- envc =3D 0; /* trailing NULL */
+ envc =3D 0; /* trailing NULL */
for (cpp =3D origenv; cpp && *cpp; cpp++)
envc++;
=20
@@ -402,39 +414,39 @@
/* Walk over the new environment, mashing as we go */
for (cpp =3D ret; cpp && *cpp; cpp++) {
if (VG_(memcmp)(*cpp, ld_preload, ld_preload_len) =3D=3D 0) {
- int len =3D VG_(strlen)(*cpp) + preload_core_path_len;
- HChar *cp =3D /*FIXME VG_(malloc)*/ hack_malloc(len);
+ Int len =3D VG_(strlen)(*cpp) + preload_string_len;
+ HChar *cp =3D /*FIXME VG_(malloc)*/ hack_malloc(len);
vg_assert(cp);
=20
- VG_(snprintf)(cp, len, "%s%s:%s",
- ld_preload, preload_core_path, (*cpp)+ld_preload_=
len);
+ VG_(snprintf)(cp, len, "%s%s:%s",
+ ld_preload, preload_string, (*cpp)+ld_preload_len=
);
=20
- *cpp =3D cp;
- =20
- ld_preload_done =3D 1;
+ *cpp =3D cp;
+
+ ld_preload_done =3D True;
} else if (VG_(memcmp)(*cpp, valgrind_clo, valgrind_clo_len) =3D=3D=
0) {
- *cpp =3D "";
+ *cpp =3D "";
}
}
=20
/* Add the missing bits */
if (!ld_preload_done) {
- int len =3D ld_preload_len + preload_core_path_len;
+ Int len =3D ld_preload_len + preload_string_len;
HChar *cp =3D /*FIXME VG_(malloc)*/ hack_malloc (len);
vg_assert(cp);
- =20
- VG_(snprintf)(cp, len, "%s%s", ld_preload, preload_core_path);
- =20
+
+ VG_(snprintf)(cp, len, "%s%s", ld_preload, preload_string);
+
ret[envc++] =3D cp;
}
=20
- //FIXME VG_(free)(preload_core_path);
+ //FIXME VG_(free)(preload_string);
ret[envc] =3D NULL;
=20
return ret;
}
=20
-extern char **environ; /* our environment */
+extern char **environ; /* our environment */
=20
/* Add a string onto the string table, and return its address */
static char *copy_str(char **tab, const char *str)
@@ -767,39 +779,6 @@
=20
=20
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
-/*=3D=3D=3D Loading tools =
=3D=3D=3D*/
-/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
-
-/* Return a pointer to the tool_info struct. Also looks to see if
- there's a matching vgpreload_*.so file, and returns its name in
- *preloadpath. */
-
-/* HACK required because we can't use VG_(strdup) yet -- dynamic
- memory allocation is not running. */
-static HChar load_tool__preloadpath[VKI_PATH_MAX];
-
-static void load_tool( const char *toolname,
- ToolInfo** toolinfo_out, char **preloadpath_out )
-{
- extern ToolInfo VG_(tool_info);
- *toolinfo_out =3D &VG_(tool_info);
-
- Int len =3D VG_(strlen)(VG_(libdir)) + VG_(strlen)(toolname) + 16;
- HChar buf[len];
-
- VG_(snprintf)(buf, len, "%s/vgpreload_%s.so", VG_(libdir), toolname);
- if (VG_(access)(buf, True/*r*/, False/*w*/, False/*x*/) =3D=3D 0=20
- && len < VKI_PATH_MAX-1) {
- VG_(strncpy)( load_tool__preloadpath, buf, VKI_PATH_MAX-1 );
- load_tool__preloadpath[VKI_PATH_MAX-1] =3D 0;
- *preloadpath_out =3D load_tool__preloadpath;
- } else {
- *preloadpath_out =3D NULL;
- }
-}
-
-
-/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
/*=3D=3D=3D Command line errors =
=3D=3D=3D*/
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
=20
@@ -1012,7 +991,7 @@
}
=20
static void pre_process_cmd_line_options
- ( Int* need_help, const char** tool, const char** exec )
+ ( Int* need_help, HChar** tool, HChar** exec )
{
UInt i;
=20
@@ -2052,11 +2031,9 @@
HChar** cl_argv;
HChar* tool =3D "memcheck"; // default to Memcheck
HChar* exec =3D NULL;
- HChar* preload =3D NULL; /* tool-specific LD_PRELOAD .so */
HChar** env;
Int need_help =3D 0; // 0 =3D no, 1 =3D --help, 2 =3D --help=
-debug
struct exeinfo info;
- ToolInfo* toolinfo =3D NULL;
Addr client_eip;
Addr sp_at_startup; /* client's SP at the point we
gained control. */
@@ -2133,7 +2110,7 @@
// Look for alternative libdir =20
// p: none
//--------------------------------------------------------------
- if (1) {
+ {
HChar *cp =3D VG_(getenv)(VALGRINDLIB);
if (cp !=3D NULL)
VG_(libdir) =3D cp;
@@ -2165,29 +2142,16 @@
}
=20
//=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
- // Nb: once a tool is specified, the tool.so must be loaded even if=20
- // they specified --help or didn't specify a client program.
- //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-
- //--------------------------------------------------------------
- // With client padded out, map in tool
- // p: set-libdir [for VG_(libdir)]
- // p: pre_process_cmd_line_options() [for 'tool']
- //--------------------------------------------------------------
- VG_(debugLog)(1, "main", "Loading tool '%s'\n", tool);
- load_tool(tool, &toolinfo, &preload);
-
- //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
// Can use VG_(malloc)() and VG_(arena_malloc)() only after load_tool=
()
// -- redzone size is now set. This is checked by vg_malloc2.c.
//=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=20
//--------------------------------------------------------------
// Finalise address space layout
- // p: load_tool() [for 'toolinfo']
+ // p: load_tool() [probably?]
//--------------------------------------------------------------
VG_(debugLog)(1, "main", "Laying out remaining space\n");
- layout_remaining_space( (Addr) & argc, toolinfo->shadow_ratio );
+ layout_remaining_space( (Addr) & argc, VG_(tool_info).shadow_ratio );
=20
//--------------------------------------------------------------
// Load client executable, finding in $PATH if necessary
@@ -2207,11 +2171,11 @@
=20
//--------------------------------------------------------------
// Set up client's environment
- // p: set-libdir [for VG_(libdir)]
- // p: load_tool() [for 'preload']
+ // p: set-libdir [for VG_(libdir)]
+ // p: pre_process_cmd_line_options [for tool]
//--------------------------------------------------------------
VG_(debugLog)(1, "main", "Setup client env\n");
- env =3D fix_environment(envp, preload);
+ env =3D fix_environment(envp, tool);
=20
//--------------------------------------------------------------
// Setup client stack, eip, and VG_(client_arg[cv])
@@ -2259,7 +2223,6 @@
//--------------------------------------------------------------
// Init tool: pre_clo_init, process cmd line, post_clo_init
// p: setup_client_stack() [for 'VG_(client_arg[cv]']
- // p: load_tool() [for 'toolinfo']
// p: setup_file_descriptors() [for 'VG_(fd_xxx_limit)']
// p: parse_procselfmaps [so VG segments are setup so tool c=
an
// call VG_(malloc)]
@@ -2268,7 +2231,7 @@
Char* s;
Bool ok;
VG_(debugLog)(1, "main", "Initialise the tool\n");
- (*toolinfo->tl_pre_clo_init)();
+ (VG_(tool_info).tl_pre_clo_init)();
ok =3D VG_(sanity_check_needs)( VG_(shadow_base) !=3D VG_(shadow_e=
nd), &s );
if (!ok) {
VG_(tool_panic)(s);
Modified: branches/ASPACEM/include/pub_tool_tooliface.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/include/pub_tool_tooliface.h 2005-08-28 19:34:39 UTC=
(rev 4555)
+++ branches/ASPACEM/include/pub_tool_tooliface.h 2005-08-29 01:15:13 UTC=
(rev 4556)
@@ -64,6 +64,8 @@
float shadow_ratio;
} ToolInfo;
=20
+extern const ToolInfo VG_(tool_info);
+
/* Every tool must include this macro somewhere, exactly once. */
#define VG_DETERMINE_INTERFACE_VERSION(pre_clo_init, shadow) \
const ToolInfo VG_(tool_info) =3D { \
|