I did something similar. However, "valgrind ls -l" does nothing. It never completes this instruction. So I did not use any media instructions to test the valgrind build. I can not figure out why vagrind does not execute this simple instruction. My first thought was it can not run on ARM1176. Based on what you said, it should do basic instructions, like "valgrind -h".
Did I do something wrong in the steps below? Here are the steps I did: 1. I fixed configure.in http://old.nabble.com/building-for-arm-td29791500.html#a29791500 2. I used: . ./mybuild.sh ./configure --host=armv7-unknown-linux-gnu --prefix=/exports/Valgrind make make install mybuild.sh file is: ----------------------- #!/bin/bash LIBRARY_BASE=/home/platform/lib export CROSS_COMPILE=arm-wrs-linux-gnueabi-armv6jel-glibc_small- export CC=${CROSS_COMPILE}gcc export CPP=${CROSS_COMPILE}cpp export CXX=${CROSS_COMPILE}g++ export LD=${CROSS_COMPILE}ld export AR=${CRPSS_COMPILE}ar #export OSTYPE=linux echo "LIBRARY_BASE = " $LIBRARY_BASE export LIBRARY_BASE unset _WIND_BASE PATH=/bin PATH=$PATH:/usr/local/sbin PATH=$PATH:/usr/local/bin PATH=$PATH:/usr/sbin PATH=$PATH:/usr/bin PATH=$PATH:/sbin PATH=$PATH:/bin PATH=$PATH:/opt/Klocwork8.2/bin PATH=$PATH:$LIBRARY_BASE/bcom/x86-linux2 PATH=$PATH:$LIBRARY_BASE/bcom/x86-linux2/bin -----Original Message----- From: John Reiser [mailto:jrei...@bitwagon.com] Sent: Wednesday, July 20, 2011 1:19 PM To: valgrind-users@lists.sourceforge.net Subject: Re: [Valgrind-users] Valgrind for ARM 1176 for linux > From the Valgrind site > (http://www.valgrind.org/docs/manual/manual-core.html#manual-core.whatdoes ), > it looks like Valgrind can be used on ARMv6 with some limitations. > > *2.11. Limitations * > > "On ARM, essentially the entire ARMv7-A instruction set is supported, in both > ARM and Thumb mode. ThumbEE and Jazelle are not supported. NEON and VFPv3 > support is fairly complete. ARMv6 media instruction support is mostly done > but not yet complete." > From this comment, I understood Vaglrind can be compiled for ARMv6. If yes, > how? Follow the directions in the top-level README file of the source tree: $ ./autogen.sh ## if using raw SVN sources; omit otherwise $ ./configure --prefix=/where/you/want/it/installed $ make $ make install Valgrind itself runs under Linux or Android on most ARM (except possibly ancient ARMv4), and can supervise the execution of many programs running on almost any ARM chip. The question is whether valgrind understands all the opcodes that are used by the particular program being supervised. In the case of ARMv6 architecture, then the "media instructions" are not yet complete, so a program which uses those instructions won't run [yet] under valgrind. It would help to produce an explicit list, and/or characterize, the "most important" instructions which valgrind should implement first. -- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users