Hello Valgrind team,
Any comments on the issue I presented below? I am still unable to get useful data from Valgrind on ARM.
Regards,
Raul.
________________________________
From: Raul Garcia [rau...@ma...]
Sent: Thursday, February 19, 2015 9:06 PM
To: val...@li...
Subject: [Valgrind-users] ARM - WARNING: Serious error when reading debug info
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.
|