LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-14-2011, 09:25 AM   #1
ppmoore
LQ Newbie
 
Registered: Sep 2006
Posts: 25

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ and Valgrind: Can't understand "Invalid read" error Accinson Programming 16 10-04-2012 07:58 AM
Live "Educational" Distro with coding & debugging tools wanted [GCC/DDD/valgrind] etc RipClaw Linux - Distributions 2 07-14-2008 01:37 PM
"capset: Operation not permitted" error when I run valgrind. rsravi74 Linux - Newbie 1 09-02-2007 05:30 PM
"Wine" starts loading... then quits... Can't install ".exe" jabber32 Linux - Software 1 01-10-2007 06:06 AM
valgrind crashes at start up with "Killed" error message lasindi Slackware 0 04-22-2006 08:54 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration