I cross compiled valgrind for ppc and now run valgrind on ppc
But i get the following error when i run valgrind and it throws tons of
errors for every programWARNING: Serious error when reading debug info
--28416-- When reading debug info from
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_core-ppc32-linux.so:
--28416-- Can't make sense of .sdata section mapping
--28416-- Reading syms from
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_drd-ppc32-linux.so
(0xffac000)
--28416-- WARNING: Serious error when reading debug info
--28416-- When reading debug info from
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_drd-ppc32-linux.so:
--28416-- Can't make sense of .sdata section mapping
I see these errors
Here is what it looks like for date command
../../bin/valgrind --tool=none -d -v date
--28416:1:debuglog DebugLog system started by Stage 1, level 1 logging
requested
--28416:1:launcher tool 'none' requested
--28416:1:launcher selected platform 'ppc32-linux'
--28416:1:launcher launching
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/none-ppc32-linux
--28416:1:debuglog DebugLog system started by Stage 2 (main), level 1
logging requested
--28416:1:main Welcome to Valgrind version 3.6.0.SVN debug logging
--28416:1:main Checking current stack is plausible
--28416:1:main Checking initial stack was noted
--28416:1:main Starting the address space manager
--28416:1:main Address space manager is running
--28416:1:main Starting the dynamic memory manager
--28416:1:mallocfr newSuperblock at 0x61C34000 (pszB 4194288) owner
VALGRIND/tool
--28416:1:main Dynamic memory manager is running
--28416:1:main Initialise m_debuginfo
--28416:1:main VG_(libdir) =
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind
--28416:1:main Getting launcher's name ...
--28416:1:main ...
/nobackup/akalambu/cometdev1012/linkfarm/ppc/bin/valgrind
--28416:1:main Get hardware capabilities ...
--28416:1:machine F 1 V 0 FX 1 GX 1
--28416:1:main ... arch = PPC32, hwcaps = ppc32-int-flt-FX-GX
--28416:1:main Getting the working directory at startup
--28416:1:main ...
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind
--28416:1:main Split up command line
--28416:1:main (early_) Process Valgrind's command line options
--28416:1:main Create initial image
--28416:1:initimg Loading client
--28416:1:initimg Setup client env
--28416:1:initimg Setup client stack: size will be 8388608
--28416:1:initimg Setup client data (brk) segment
--28416:1:main Setup file descriptors
--28416:1:main Create fake /proc/<pid>/cmdline
--28416:1:main Initialise the tool part 1 (pre_clo_init)
--28416:1:main Print help and quit, if requested
--28416:1:main (main_) Process Valgrind's command line options, setup
logging
--28416:1:main Print the preamble...
==28416== Nulgrind, the minimal Valgrind tool
==28416== Copyright (C) 2002-2009, and GNU GPL'd, by Nicholas Nethercote.
==28416== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright
info
==28416== Command: date
==28416==
--28416-- Valgrind options:
--28416-- --tool=none
--28416-- -d
--28416-- -v
--28416-- Contents of /proc/version:
--28416-- Linux version 2.6.24.4.36.31.k5 (gcc version 3.4.2) #2 Tue Oct
13 15:14:32 PDT 2009
--28416-- Arch and hwcaps: PPC32, ppc32-int-flt-FX-GX
--28416-- Page sizes: currently 4096, max supported 65536
--28416-- Valgrind library directory:
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind
--28416:1:main ...finished the preamble
--28416:1:main Initialise the tool part 2 (post_clo_init)
--28416:1:main Initialise TT/TC
--28416:1:main Initialise redirects
--28416:1:mallocfr newSuperblock at 0x620AF000 (pszB 1048560) owner
VALGRIND/dinfo
--28416:1:main Load initial debug info
--28416-- Reading syms from /lib/ld-2.3.4.so (0x4000000)
--28416-- Reading syms from /bin/date (0x10000000)
--28416-- Reading syms from
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/none-ppc32-linux
(0x38000000)
--28416-- object doesn't have a dynamic symbol table
--28416:1:mallocfr newSuperblock at 0x621AF000 (pszB 1048560) owner
VALGRIND/dinfo
--28416:1:mallocfr newSuperblock at 0x622AF000 (pszB 1048560) owner
VALGRIND/dinfo
--28416:1:mallocfr newSuperblock at 0x623AF000 (pszB 2052080) owner
VALGRIND/dinfo
--28416:1:redir transfer ownership V -> C of 0x38010000 .. 0x38010fff
--28416:1:main Initialise scheduler (phase 1)
--28416:1:sched sched_init_phase1
--28416:1:main Tell tool about initial permissions
--28416:1:main Initialise scheduler (phase 2)
--28416:1:sched sched_init_phase2: tid_main=1, cls_end=0xbe865fff,
cls_sz=8388608
--28416:1:main Finalise initial image
--28416:1:main Initialise signal management
--28416:1:mallocfr newSuperblock at 0x625A4000 (pszB 1048560) owner
VALGRIND/core
--28416:1:main
--28416:1:main
--28416:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client startup (30
segments, 3 segnames)
--28416:1:aspacem ( 0)
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/none-ppc32-linux
--28416:1:aspacem ( 1) /bin/date
--28416:1:aspacem ( 2) /lib/ld-2.3.4.so
--28416:1:aspacem 0: RSVN 0000000000-00000fffff 1048576 ----- SmFixed
--28416:1:aspacem 1: ANON 0000100000-0000102fff 12288 r-x--
--28416:1:aspacem 2: RSVN 0000103000-0003ffffff 62m ----- SmFixed
--28416:1:aspacem 3: file 0004000000-0004018fff 102400 r-x-- d=0x00d
i=24887591 o=0 (2)
--28416:1:aspacem 4: 0004019000-0004028fff 65536
--28416:1:aspacem 5: file 0004029000-0004029fff 4096 rwx-- d=0x00d
i=24887591 o=102400 (2)
--28416:1:aspacem 6: 000402a000-000fffffff 191m
--28416:1:aspacem 7: file 0010000000-0010009fff 40960 r-x-- d=0x00d
i=24887345 o=0 (1)
--28416:1:aspacem 8: 001000a000-0010019fff 65536
--28416:1:aspacem 9: file 001001a000-001001afff 4096 rwx-- d=0x00d
i=24887345 o=40960 (1)
--28416:1:aspacem 10: anon 001001b000-001001bfff 4096 rwx--
--28416:1:aspacem 11: RSVN 001001c000-001081afff 8384512 ----- SmLower
--28416:1:aspacem 12: 001081b000-0037ffffff 631m
--28416:1:aspacem 13: FILE 0038000000-003800ffff 65536 r-x-- d=0x00d
i=32440356 o=0 (0)
--28416:1:aspacem 14: file 0038010000-0038010fff 4096 r-x-- d=0x00d
i=32440356 o=65536 (0)
--28416:1:aspacem 15: FILE 0038011000-00381b0fff 1703936 r-x-- d=0x00d
i=32440356 o=69632 (0)
--28416:1:aspacem 16: 00381b1000-00381c0fff 65536
--28416:1:aspacem 17: FILE 00381c1000-00381c1fff 4096 rw--- d=0x00d
i=32440356 o=1773568 (0)
--28416:1:aspacem 18: ANON 00381c2000-0038a25fff 8798208 rwx--
--28416:1:aspacem 19: 0038a26000-0061c32fff 658m
--28416:1:aspacem 20: RSVN 0061c33000-0061c33fff 4096 ----- SmFixed
--28416:1:aspacem 21: ANON 0061c34000-00626a3fff 10m rwx--
--28416:1:aspacem 22: 00626a4000-00be065fff 1465m
--28416:1:aspacem 23: RSVN 00be066000-00be864fff 8384512 ----- SmUpper
--28416:1:aspacem 24: anon 00be865000-00be865fff 4096 rwx--
--28416:1:aspacem 25: 00be866000-00bf850fff 15m
--28416:1:aspacem 26: ANON 00bf851000-00bf865fff 86016 rw---
--28416:1:aspacem 27: RSVN 00bf866000-00bfffdfff 7962624 ----- SmFixed
--28416:1:aspacem 28: ANON 00bfffe000-00bfffefff 4096 r----
--28416:1:aspacem 29: RSVN 00bffff000-00ffffffff 1024m ----- SmFixed
--28416:1:aspacem >>>
--28416:1:main
--28416:1:main
--28416:1:main Running thread 1
--28416:1:syswrap- entering VG_(main_thread_wrapper_NORETURN)
--28416:1:aspacem allocated thread stack at 0x626a4000 size 262144
--28416:1:syswrap- run_a_thread_NORETURN(tid=1): pre-thread_wrapper
--28416:1:syswrap- thread_wrapper(tid=1): entry
--28416:1:transtab allocate sector 0
--28416:1:mallocfr newSuperblock at 0x63517000 (pszB 65520) owner
VALGRIND/ttaux
--28416-- Reading syms from
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_core-ppc32-linux.so
(0xffde000)
--28416-- WARNING: Serious error when reading debug info
--28416-- When reading debug info from
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_core-ppc32-linux.so:
--28416-- Can't make sense of .sdata section mapping
--28416-- Reading syms from
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_drd-ppc32-linux.so
(0xffac000)
--28416-- WARNING: Serious error when reading debug info
--28416-- When reading debug info from
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_drd-ppc32-linux.so:
--28416-- Can't make sense of .sdata section mapping
--28416:1:signals extending a stack base 0xbe865000 down by 4096
--28416-- Reading syms from /lib/libc-2.3.4.so (0xfe5f000)
--28416:1:mallocfr newSuperblock at 0x63527000 (pszB 1048560) owner
VALGRIND/dinfo
--28416:1:mallocfr newSuperblock at 0x63627000 (pszB 2052080) owner
VALGRIND/dinfo
Fri Oct 16 12:37:06 UTC 2009
--28416:1:syswrap- thread_wrapper(tid=1): exit
--28416:1:syswrap- run_a_thread_NORETURN(tid=1): post-thread_wrapper
--28416:1:syswrap- run_a_thread_NORETURN(tid=1): last one standing
--28416:1:main entering VG_(shutdown_actions_NORETURN)
--28416:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client shutdown (47
segments, 6 segnames)
--28416:1:aspacem ( 0)
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/none-ppc32-linux
--28416:1:aspacem ( 1) /bin/date
--28416:1:aspacem ( 2) /lib/ld-2.3.4.so
--28416:1:aspacem ( 3)
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_core-ppc32-linux.so
--28416:1:aspacem ( 4)
/nobackup/akalambu/cometdev1012/linkfarm/ppc/lib/valgrind/vgpreload_drd-ppc32-linux.so
--28416:1:aspacem ( 5) /lib/libc-2.3.4.so
--28416:1:aspacem 0: RSVN 0000000000-00000fffff 1048576 ----- SmFixed
--28416:1:aspacem 1: ANON 0000100000-0000102fff 12288 r-x--
--28416:1:aspacem 2: RSVN 0000103000-0003ffffff 62m ----- SmFixed
--28416:1:aspacem 3: file 0004000000-0004018fff 102400 r-xT- d=0x00d
i=24887591 o=0 (2)
--28416:1:aspacem 4: anon 0004019000-000401bfff 12288 rw---
--28416:1:aspacem 5: 000401c000-0004028fff 53248
--28416:1:aspacem 6: file 0004029000-0004029fff 4096 rwxT- d=0x00d
i=24887591 o=102400 (2)
--28416:1:aspacem 7: 000402a000-000fe5efff 190m
--28416:1:aspacem 8: file 000fe5f000-000ff8efff 1245184 r-xT- d=0x00d
i=24887593 o=0 (5)
--28416:1:aspacem 9: file 000ff8f000-000ff98fff 40960 rwxT- d=0x00d
i=24887593 o=1245184 (5)
--28416:1:aspacem 10: anon 000ff99000-000ff9bfff 12288 rwxT-
--28416:1:aspacem 11: 000ff9c000-000ffabfff 65536
--28416:1:aspacem 12: file 000ffac000-000ffbdfff 73728 r-xT- d=0x00d
i=32440375 o=0 (4)
--28416:1:aspacem 13: file 000ffbe000-000ffccfff 61440 ----- d=0x00d
i=32440375 o=73728 (4)
--28416:1:aspacem 14: file 000ffcd000-000ffcdfff 4096 rwxT- d=0x00d
i=32440375 o=69632 (4)
--28416:1:aspacem 15: 000ffce000-000ffddfff 65536
--28416:1:aspacem 16: file 000ffde000-000ffdffff 8192 r-xT- d=0x00d
i=32440325 o=0 (3)
--28416:1:aspacem 17: file 000ffe0000-000ffeefff 61440 ----- d=0x00d
i=32440325 o=8192 (3)
--28416:1:aspacem 18: file 000ffef000-000ffeffff 4096 rwxT- d=0x00d
i=32440325 o=4096 (3)
--28416:1:aspacem 19: 000fff0000-000fffffff 65536
--28416:1:aspacem 20: file 0010000000-0010009fff 40960 r-xT- d=0x00d
i=24887345 o=0 (1)
--28416:1:aspacem 21: 001000a000-0010019fff 65536
--28416:1:aspacem 22: file 001001a000-001001afff 4096 rwxT- d=0x00d
i=24887345 o=40960 (1)
--28416:1:aspacem 23: anon 001001b000-001003bfff 135168 rwx--
--28416:1:aspacem 24: RSVN 001003c000-001081afff 8253440 ----- SmLower
--28416:1:aspacem 25: 001081b000-0037ffffff 631m
--28416:1:aspacem 26: FILE 0038000000-003800ffff 65536 r-x-- d=0x00d
i=32440356 o=0 (0)
--28416:1:aspacem 27: file 0038010000-0038010fff 4096 r-x-- d=0x00d
i=32440356 o=65536 (0)
--28416:1:aspacem 28: FILE 0038011000-00381b0fff 1703936 r-x-- d=0x00d
i=32440356 o=69632 (0)
--28416:1:aspacem 29: 00381b1000-00381c0fff 65536
--28416:1:aspacem 30: FILE 00381c1000-00381c1fff 4096 rw--- d=0x00d
i=32440356 o=1773568 (0)
--28416:1:aspacem 31: ANON 00381c2000-0038a25fff 8798208 rwx--
--28416:1:aspacem 32: 0038a26000-0061c32fff 658m
--28416:1:aspacem 33: RSVN 0061c33000-0061c33fff 4096 ----- SmFixed
--28416:1:aspacem 34: ANON 0061c34000-00626a3fff 10m rwx--
--28416:1:aspacem 35: ANON 00626a4000-00626b3fff 65536 -----
--28416:1:aspacem 36: ANON 00626b4000-00626d3fff 131072 rwx--
--28416:1:aspacem 37: ANON 00626d4000-00626e3fff 65536 -----
--28416:1:aspacem 38: ANON 00626e4000-006381bfff 17m rwx--
--28416:1:aspacem 39: 006381c000-00be065fff 1448m
--28416:1:aspacem 40: RSVN 00be066000-00be863fff 8380416 ----- SmUpper
--28416:1:aspacem 41: anon 00be864000-00be865fff 8192 rwx--
--28416:1:aspacem 42: 00be866000-00bf850fff 15m
--28416:1:aspacem 43: ANON 00bf851000-00bf865fff 86016 rw---
--28416:1:aspacem 44: RSVN 00bf866000-00bfffdfff 7962624 ----- SmFixed
--28416:1:aspacem 45: ANON 00bfffe000-00bfffefff 4096 r----
--28416:1:aspacem 46: RSVN 00bffff000-00ffffffff 1024m ----- SmFixed
--28416:1:aspacem >>>
==28416==
--28416:1:core_os VG_(terminate_NORETURN)(tid=1)
--
Ajay Kalambur
Phone: 408 221 1141(mobile)
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users