The #ifdef HAS_VSX guard is wrongly placed. It makes the standard include headers not be used. Causing: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../include -I../../../coregrind -I../../../include -I../../../VEX/pub -I../../../VEX/pub -DVGA_ppc64be=1 -DVGO_linux=1 -DVGP_ppc64be_linux=1 -DVGPV_ppc64be_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -m64 -Winline -Wall -O -g -mregnames -m64 -DHAS_ALTIVEC -MT test_isa_2_06_part3-test_isa_2_06_part3.o -MD -MP -MF .deps/test_isa_2_06_part3-test_isa_2_06_part3.Tpo -c -o test_isa_2_06_part3-test_isa_2_06_part3.o `test -f 'test_isa_2_06_part3.c' || echo './'`test_isa_2_06_part3.c test_isa_2_06_part3.c: In function ‘usage’: test_isa_2_06_part3.c:1611: warning: implicit declaration of function ‘fprintf’ test_isa_2_06_part3.c:1611: warning: incompatible implicit declaration of built-in function ‘fprintf’ test_isa_2_06_part3.c:1611: error: ‘stderr’ undeclared (first use in this function) test_isa_2_06_part3.c:1611: error: (Each undeclared identifier is reported only once test_isa_2_06_part3.c:1611: error: for each function it appears in.) make[5]: *** [test_isa_2_06_part3-test_isa_2_06_part3.o] Error 1 Moving the #include HAS_VSX below the standard includes makes the tests compile.
valgrind svn r16450