Errors ".sdata section mapping" when Valgrind starts on PowerPC platform
I've been trying to use VG v3.6.0 for the first time, on a cross-compiled PowerPC platform.
I compiled VG from the sources, and when installed I used non-stripped versions of ld-2.3.2.so and libc-2.3.2.so to avoid the well-know strlen problem,
I get the following errors when VG starts up. :
--491-- WARNING: Serious error when reading debug info
--491-- When reading debug info from /ramfs/tmp/lib/valgrind/vgpreload_core-ppc32-linux.so:
--491-- Can't make sense of .sdata section mapping
--491-- WARNING: Serious error when reading debug info
--491-- When reading debug info from /ramfs/tmp/lib/valgrind/vgpreload_memcheck-ppc32-linux.so:
--491-- Can't make sense of .sdata section mapping
--491-- WARNING: Serious error when reading debug info
--491-- When reading debug info from /lib/libgcc_s_nof.so.1:
--491-- Can't make sense of .sdata section mapping
==491== Conditional jump or move depends on uninitialised value(s)
==491== at 0xFCCEBA4: strcmp (in /lib/libc-2.3.2.so)
==491== by 0xFC6E747: setlocale (in /lib/libc-2.3.2.so)
==491== by 0xFEFCB2B: std::locale::_Impl::_Impl(unsigned int) (in /lib/libstdc++.so.6.0.0)
==491== by 0xFEFD557: ??? (in /lib/libstdc++.so.6.0.0)
==491== by 0xFEFD5FF: ??? (in /lib/libstdc++.so.6.0.0)
==491== by 0xFEFD683: std::locale::locale() (in /lib/libstdc++.so.6.0.0)
==491== by 0xFEFA7F7: std::ios_base::Init::Init() (in /lib/libstdc++.so.6.0.0)
==491== by 0x10000DFF: __static_initialization_and_destruction_0(int, int) (iostream:77)
==491== by 0x10000E8F: global constructors keyed to main (valgrind_test.cpp:63)
==491== by 0x10001223: ??? (in /ramfs/tmp/valgrind_test)
==491== by 0x10000717: ??? (in /ramfs/tmp/valgrind_test)
==491== by 0x10000F23: __libc_csu_init (in /ramfs/tmp/valgrind_test)
==491==
==491== Conditional jump or move depends on uninitialised value(s)
==491== at 0xFCCEBAC: strcmp (in /lib/libc-2.3.2.so)
==491== by 0xFC6E747: setlocale (in /lib/libc-2.3.2.so)
==491== by 0xFEFCB2B: std::locale::_Impl::_Impl(unsigned int) (in /lib/libstdc++.so.6.0.0)
==491== by 0xFEFD557: ??? (in /lib/libstdc++.so.6.0.0)
==491== by 0xFEFD5FF: ??? (in /lib/libstdc++.so.6.0.0)
==491== by 0xFEFD683: std::locale::locale() (in /lib/libstdc++.so.6.0.0)
==491== by 0xFEFA7F7: std::ios_base::Init::Init() (in /lib/libstdc++.so.6.0.0)
==491== by 0x10000DFF: __static_initialization_and_destruction_0(int, int) (iostream:77)
==491== by 0x10000E8F: global constructors keyed to main (valgrind_test.cpp:63)
==491== by 0x10001223: ??? (in /ramfs/tmp/valgrind_test)
==491== by 0x10000717: ??? (in /ramfs/tmp/valgrind_test)
==491== by 0x10000F23: __libc_csu_init (in /ramfs/tmp/valgrind_test)
Can anyone help me?
(also cross-referenced to Linux-embedded)
Paul
|