|
From: Michael A. <Mic...@fs...> - 2007-09-14 06:05:27
|
Hello, Apologies if this off-topic for valgrind-developers. I can contact Bryan Meredith off list if this is the case. I was curious about omega so I downloaded the patch and applied it against the current 3.3.0 trunk. The first problem came up during autogen.sh: In omega/Makefile.am VG_X86_LINUX and its friends need to be changed to VGP_X86_LINUX After that autogen.sh finished. But the compilation fails with make[3]: Entering directory `/tmp/Work2/valgrind-3.3.0svn-r6929/omega' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../VEX/pub -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -m32 -mpreferred-stack-boundary=2 -O -g -Wmissing-prototypes -Winline -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -O2 -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -MT omega_x86_linux-o_main.o -MD -MP -MF .deps/omega_x86_linux-o_main.Tpo -c -o omega_x86_linux-o_main.o `test -f 'o_main.c' || echo './'`o_main.c o_main.c: In function o_post_clo_init: o_main.c:2567: warning: passing argument 1 of vgPlain_HT_construct makes pointer from integer without a cast o_main.c:2570: warning: passing argument 1 of vgPlain_HT_construct makes pointer from integer without a cast o_main.c:2573: warning: passing argument 1 of vgPlain_HT_construct makes pointer from integer without a cast o_main.c: At top level: o_main.c:2586: error: expected =, ,, ;, asm or __attribute__ before * token o_main.c: In function o_pre_clo_init: o_main.c:3535: error: o_instrument undeclared (first use in this function) o_main.c:3535: error: (Each undeclared identifier is reported only once o_main.c:3535: error: for each function it appears in.) make[3]: *** [omega_x86_linux-o_main.o] Error 1 make[3]: Leaving directory `/tmp/Work2/valgrind-3.3.0svn-r6929/omega' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/Work2/valgrind-3.3.0svn-r6929/omega' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/Work2/valgrind-3.3.0svn-r6929' make: *** [all] Error 2 I think this is a problem with the recently changed hash functions, but I am pretty clueless about valgrind internals, so I might be very wrong. So is there a quick fix or any pointers? I can compile against an earlier revision of trunk if that fixes the problem. But 3.2.3 doesn't work because I am valgrinding some python application (Sage) and it [silently] crashes 3.2.3. Cheers, Michael |