Hi
I tried the following 3 things :
1. I used Code Sourcery tool chain (arm-none-linux-gnueabi-gcc) and changed
$CC, $CPP, $CXX etc . Then I did
./configure --target=arm-none-linux-gnueabi --host=armv7-none-linux-gnueabi
--prefix=<installation-path> CFLAGS=-static
 make
make install
Then I copied the installation directory to pandaboard. When I type
"valgrind --tool=cachegrind " I get "failed to start tool cachegrind for
platform 'arm-linux': permission denied."

2. I have ubuntu 11.10 installed on the pandaboard. I used gcc toolchain to
compile and install valgrind on pandaboard directly and when I try to run
it, i get the same error message.

3. In all the Makefiles I changed options to cortex-a9. The original
switches are -marm -mcpu=cortex-a8.
I changed everything to -march=armv7 -mcpu=cortex-a9 -mfpu=neon. Then on
the PANDABOARD, I used gcc toolchain to compile and make.
./configure --prefix=<installation-path>
 make
During make I get a number of warnings "m-libassert.c warning : switch
-mcpu=cortex-a9 conflicts with -march=armv7 switch [eabled by default] "
Then make exited with an error (an assembler message)

Could you please tell me what mistake I am making ?

On Sun, Mar 3, 2013 at 10:40 AM, Dan Kegel <d...@kegel.com> wrote:

> On Sun, Mar 3, 2013 at 7:21 AM, nandhini chandramoorthy
> <nandhini....@gmail.com> wrote:
> > I am trying to use valgrind to observe memory access patterns of certain
> > benchmarks on ARM core. I have a pandaboard with arm-cortexA9. On my x86
> > machine, i have sourcery codebench cross compilation tools installed. I
> > cross compiled valgrind  --
> > ./configure --target=arm-none-linux-gnueabi
> --host=armv7-none-linux-gnueabi
> > --prefix=<installation-path> CFLAGS=-static
> > make
> > make install
> >
> > Everything was fine. Then I copied the installation folder to my
> pandaboard.
> > When i try to run valgrind, i only get "cannot execute binary executable
> ".
>
> Which toolchain?
> (You're compiling the benchmarks and valgrind with the same toolchain,
> right?)
> What does 'file' say about the bad binary, and about good ones?
> - Dan
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to