Re: [Valgrind-users] valgrind on pandaboard

2016-01-16 Thread Alina
nandhini chandramoorthy  gmail.com> writes:

> 
> 
> HiI 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= CFLAGS=-static
>  make
> make installThen 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= makeDuring 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  kegel.com> wrote:
> On Sun, Mar 3, 2013 at 7:21 AM, nandhini chandramoorthy
>  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= 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
> 

Hi,

How did you solve it? I have same issue.

Thank you!
Alina
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users


[Valgrind-users] valgrind on pandaboard

2013-03-03 Thread nandhini chandramoorthy
Hi

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 . Am I doing something wrong here ? I tried changing options
from -marm -mcpu=cortex-a8  to  -march=armv7 -mcpu=cortex-a9. it does not
work. Coud you please help ? I really need to get this working as quickly
as possible.
thanks,

Nandhini
--
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


Re: [Valgrind-users] valgrind on pandaboard

2013-03-03 Thread Dan Kegel
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


Re: [Valgrind-users] valgrind on pandaboard

2013-03-03 Thread nandhini chandramoorthy
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