|
From: Sunil K. <sun...@gm...> - 2012-04-11 13:27:49
|
Hi Team, I am a new user of Valgrind tool. I am compiling the the valgrind for ARMv7 but facing some problem. Steps are given below: 1. Using this command to configure the system "./configure --prefix=/netd --target=armv7-unknown-linux-gnu --host=armv7-unknown-linux-gnu CC=/usr/local/netd_tools_v1/arm/bin/armv5b-softfloat-linux-gnu-gcc 2. After this I am compiling the valgrind using "make" and getting following error: ================ make[2]: Entering directory `/home/ssunil/valgrind-3.6.0/valgrind-3.6.0/coregrind' make all-am make[3]: Entering directory `/home/ssunil/valgrind-3.6.0/valgrind-3.6.0/coregrind' /usr/local/netd_tools_v1/arm/bin/armv5b-softfloat-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1 -I../coregrind -DVG_LIBDIR="\"/netd/lib/valgrind"\" -DVG_PLATFORM="\"arm-linux\"" -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -marm -Wno-long-long -MT libcoregrind_arm_linux_a-m_debuglog.o -MD -MP -MF .deps/libcoregrind_arm_linux_a-m_debuglog.Tpo -c -o libcoregrind_arm_linux_a-m_debuglog.o `test -f 'm_debuglog.c' || echo './'`m_debuglog.c /tmp/cc95FTXg.s: Assembler messages: /tmp/cc95FTXg.s:165: Error: bad instruction `svc 0x0' /tmp/cc95FTXg.s:197: Error: bad instruction `svc 0x0' make[3]: *** [libcoregrind_arm_linux_a-m_debuglog.o] Error 1 make[3]: Leaving directory `/home/ssunil/valgrind-3.6.0/valgrind-3.6.0/coregrind' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/ssunil/valgrind-3.6.0/valgrind-3.6.0/coregrind' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ssunil/valgrind-3.6.0/valgrind-3.6.0' make: *** [all] Error 2 ================ Kindly let me know what else are missing and if possible then clarify this error also? Kindly help me out to compile the same for ARMv7 processor. -- Regards Sunil Kumar Aricent Group Mob # 09953078905 |
|
From: John R. <jr...@bi...> - 2012-04-11 14:42:08
|
> make[2]: Entering directory `/home/ssunil/valgrind-3.6.0/valgrind-3.6.0/coregrind' Why aren't you using valgrind-3.7.0 which was released on 5 November 2011? http://valgrind.org/downloads/current.html -- |