|
From: Paul P. <ppl...@gm...> - 2005-07-30 00:47:33
|
On AMD64 Red Hat Enterprise Linux AS release 3 (Taroon Update 2),
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-39)
make check fails to build:
/home/paul/valgrind-3.0.RC1/tests/cputest.c:103: undefined reference to `go=
'
collect2: ld returned 1 exit status
This is because this gcc uses -D__x86_64 rather then -D__amd64
Fix:
--- cputest.c.orig 2005-07-29 17:23:48.000000000 -0700
+++ cputest.c 2005-07-29 17:24:35.000000000 -0700
@@ -21,7 +21,7 @@
NULL
};
=20
-#ifdef __amd64
+#if defined(__amd64) || defined(__x86_64)
static Bool go(char* cpu)
{
if ( strcmp( cpu, "amd64" ) =3D=3D 0 )
Most of the tests fail:
=3D=3D 157 tests, 149 stderr failures, 2 stdout failures =3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
memcheck/tests/addressable (stderr)
memcheck/tests/badaddrvalue (stderr)
memcheck/tests/badfree-2trace (stderr)
memcheck/tests/badfree (stderr)
memcheck/tests/badjump (stderr)
memcheck/tests/badjump2 (stderr)
...
Looks like most of them are failing due to=20
Warning: zero-sized CIE/FDE but not at section end in DWARF2 CFI reading
which I reported earlier.
The 2 stdout failures are:
memcheck/tests/leakotron.stdout.diff:
*** leakotron.stdout.exp 2005-07-26 01:58:06.000000000 -0700
--- leakotron.stdout.out 2005-07-29 17:27:08.000000000 -0700
***************
*** 1 ****
! PASS
--- 1 ----
! FAILED: I freed everything, but there's still 4800 bytes reachable
none/tests/exec-sigmask.stdout.diff
*** exec-sigmask.stdout.exp 2005-07-26 01:58:34.000000000 -0700
--- exec-sigmask.stdout.out 2005-07-29 17:28:30.000000000 -0700
***************
*** 0 ****
--- 1 ----
+ full: signal 32 missing from mask
Cheers,
|