LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

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

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 Non-*nux -> Programming)
Paul
 
Old 02-14-2011, 05:17 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,953
Blog Entries: 54

Rep: Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733
Quote:
Originally Posted by ppmoore View Post
(also cross-referenced to Non-*nux -> Programming)
The fact you're making a habit out of this as you did back then 0) here and here and 1) here and here doesn't lend it any legitimacy it's still against the LQ Rules.

Please don't do that again and continue only at http://www.linuxquestions.org/questi...atform-862600/
 
Old 02-14-2011, 06:45 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,024
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Errors ".sdata section mapping" when Valgrind starts on PowerPC platform ppmoore Programming 0 02-14-2011 09:25 AM
"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


All times are GMT -5. The time now is 09:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration