Hello valgrind team,

I want to run valgrind on a ARM platform (Cortex A9) that is running Linaro. I 
managed to cross-compile valgrind for ARM:

root$valgrind --version
valgrind-3.10.1

Also, I succesfully compiled a program on this platform:

root$gcc -g basicmath_large.c rad2deg.c cubic.c isqrt.c -o basic -lm

Problem is, that when I try to use valgrind I get an error:

root$valgrind --tool=callgrind ./basic > out.txt
==2405== Callgrind, a call-graph generating cache profiler
==2405== Copyright (C) 2002-2013, and GNU GPL'd, by Josef Weidendorfer et al.
==2405== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==2405== Command: ./basic
==2405==
==2405== For interactive control, run 'callgrind_control -h'.
--2405-- WARNING: Serious error when reading debug info
--2405-- When reading debug info from 
/opt/valgrind/lib/valgrind/callgrind-arm-linux:
--2405-- Missing or invalid ELF Section Header Table
==2405==
==2405== Events    : Ir
==2405== Collected : 9239
==2405==
==2405== I   refs:      9,239
root$

According the the forums, this could be because "No symbols get loaded". Is 
there any way to solve this issue? is there a workaround for this?  Same 
procedure do works for me on a x86 platform running ubuntu.

Raul.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to