hi -- i've just followed the instructions from the valgrind webpage to get the 
source from SVN, and it's failing with the first thing it tries to compile 
during "make" with the error pasted below. I followed exactly the instructions 
on the website, with my only modification --prefix=/ul/amosa

The only thing suspicious in the preceding steps was this summary from the 
./configure stage:
         Maximum build arch: amd64
         Primary build arch: amd64
                   Build OS: linux
       Primary build target: AMD64_LINUX
     Secondary build target: X86_LINUX
         Default supp files: exp-ptrcheck.supp xfree-3.supp xfree-4.supp 
glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.3.supp 

which is odd, because my system is not AMD, it's an Intel Dual-Core Xeon 
Processor 5100 (Woodcrest), 65nm, running CentOS 4.5 / RHEL 4... But I can't 
figure out how it drew this conclusion, or how to set it straight, assuming 
this is a problem.

Can somebody help me figure out what I'm doing wrong? Should I step back from 
the SVN and use the 3.4.1 bz2 install instead? The valgrind website doesn't 
have much to help figure out compile problems.

thanks!

Amos.






The error:

[hive]~/src/valgrind make
gcc -m32 -Wl,--verbose -nostdlib 2>&1 | sed \
        -e '1,/^=====\+$/d' \
        -e '/^=====\+$/,/.\*/d' \
        -e '/\. = \(0x[0-9A-Fa-f]\+\|SEGMENT_START("[^"]\+", 0x[0-9A-Fa-f]\+)\) 
+ SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > 
valt_load_address_x86_linux.lds \
|| rm -f valt_load_address_x86_linux.lds
gcc -m64 -Wl,--verbose -nostdlib 2>&1 | sed \
        -e '1,/^=====\+$/d' \
        -e '/^=====\+$/,/.\*/d' \
        -e '/\. = \(0x[0-9A-Fa-f]\+\|SEGMENT_START("[^"]\+", 0x[0-9A-Fa-f]\+)\) 
+ SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > 
valt_load_address_amd64_linux.lds \
|| rm -f valt_load_address_amd64_linux.lds
make  all-recursive
Making all in include
Making all in vki
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in coregrind
make  all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../VEX/pub -DVGA_x86=1 
-DVGO_linux=1 -DVGP_x86_linux=1 -I../coregrind 
-DVG_LIBDIR="\"/ul/amosa/lib/valgrind"\" -DVG_PLATFORM="\"x86-linux\""  -m32 
-O2 -g -Wmissing-prototypes -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes 
-Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing 
-Wno-long-long -Wdeclaration-after-statement -MT 
libcoregrind_x86_linux_a-m_commandline.o -MD -MP -MF 
".deps/libcoregrind_x86_linux_a-m_commandline.Tpo" -c -o 
libcoregrind_x86_linux_a-m_commandline.o `test -f 'm_commandline.c' || echo 
'./'`m_commandline.c; \
then mv -f ".deps/libcoregrind_x86_linux_a-m_commandline.Tpo" 
".deps/libcoregrind_x86_linux_a-m_commandline.Po"; else rm -f 
".deps/libcoregrind_x86_linux_a-m_commandline.Tpo"; exit 1; fi
gcc -m32 -g -Wno-long-long -c -o libcoregrind_x86_linux_a-m_cpuid.o `test -f 
'm_cpuid.S' || echo './'`m_cpuid.S
In file included from m_cpuid.S:31:
pub_core_basics_asm.h:42:33: pub_tool_basics_asm.h: No such file or directory
pub_core_basics_asm.h:45:20: config.h: No such file or directory
make[3]: *** [libcoregrind_x86_linux_a-m_cpuid.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




      

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to