Hi List, I've compiled Valgrind/Helgrind r11212 for PowerPC which works fine, exept that Helgrind is not able to read any symbols of my test application ("racy_static"), which has been compiled with: ${CXX} -Wall -Werror -pthread -o racy_static racy_static.cpp -ggdb
Of course the file is not stripped. file says: racy_static: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.3, not stripped Valgrind has been compiled with: ./configure --host=powerpc-linux --prefix=/home/cmuellner/valgrind make make install Here is what Helgrind says: ... ==14308== Helgrind, a thread error detector ==14308== Copyright (C) 2007-2010, and GNU GPL'd, by OpenWorks LLP et al. ==14308== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info ==14308== Command: ./racy_static ==14308== Parent PID: 3029 ==14308== --14308-- --14308-- Valgrind options: --14308-- --tool=helgrind --14308-- --read-var-info=yes --14308-- --log-file=valgrind.log --14308-- -v --14308-- Contents of /proc/version: --14308-- Linux version 2.6.21-4022-TX (-...@---) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #17 Fri Jun 11 12:23:35 CEST 2010 --14308-- Arch and hwcaps: PPC32, ppc32-int-flt-GX --14308-- Page sizes: currently 4096, max supported 65536 --14308-- Valgrind library directory: /home/cmuellner/valgrind/lib/valgrind --14308-- Reading syms from /lib/ld-2.3.5.so (0x4000000) --14308-- object doesn't have a symbol table --14308-- Reading syms from /path/to/racy_static (0x10000000) --14308-- WARNING: Serious error when reading debug info --14308-- When reading debug info from /path/to/racy_static: --14308-- Can't make sense of .sdata section mapping ... I found a question [1] on this list regarding this problem, but no solution. My compiler is: /opt/eldk-4.1/usr/bin/ppc_4xxFP-gcc -v Reading specs from /opt/eldk-4.1/usr/bin/../lib/gcc/powerpc-linux/4.0.0/specs Target: powerpc-linux Configured with: /opt/eldk/build/ppc-2007-01-19/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-glibc-2.3.5-eldk/powerpc-linux/gcc-4.0.0/configure --target=powerpc-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.HzYZNd/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/powerpc-linux --with-headers=/var/tmp/eldk.HzYZNd/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/powerpc-linux/powerpc-linux/include --with-local-prefix=/var/tmp/eldk.HzYZNd/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/powerpc-linux/powerpc-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --enable-__cxa_atexit Thread model: posix gcc version 4.0.0 (DENX ELDK 4.1 4.0.0) Has anyone an idea how to fix this issue, without rebuilding/updating the toolchain? Thanks in advance, Christoph [1] http://article.gmane.org/gmane.comp.debugging.valgrind/9703 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users