![]() |
2010-11-09
, 14:56
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#2
|
Nokia-N810-43-7:~# /usr/local/bin/valgrind date ==20992== Memcheck, a memory error detector ==20992== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==20992== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info ==20992== Command: date ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100A5BC: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x4100362B: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100AA3C: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x4100362B: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100AABC: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x4100362B: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100A460: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x410039A3: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100A468: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x410039A3: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100A5BC: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x410039A3: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== Tue Nov 9 14:53:01 GMT 2010 ==20992== ==20992== HEAP SUMMARY: ==20992== in use at exit: 32 bytes in 1 blocks ==20992== total heap usage: 35 allocs, 34 frees, 3,603 bytes allocated ==20992== ==20992== LEAK SUMMARY: ==20992== definitely lost: 32 bytes in 1 blocks ==20992== indirectly lost: 0 bytes in 0 blocks ==20992== possibly lost: 0 bytes in 0 blocks ==20992== still reachable: 0 bytes in 0 blocks ==20992== suppressed: 0 bytes in 0 blocks ==20992== Rerun with --leak-check=full to see details of leaked memory ==20992== ==20992== For counts of detected and suppressed errors, rerun with: -v ==20992== Use --track-origins=yes to see where uninitialised values come from ==20992== ERROR SUMMARY: 11 errors from 6 contexts (suppressed: 0 from 0)
![]() |
2010-11-09
, 15:26
|
|
Posts: 191 |
Thanked: 46 times |
Joined on Jun 2010
@ NanJing China
|
#3
|
Success on Diablo :-)
Attaching patch (mostly from this upstream bug, plus a bunch of s/svc/swi/ to keep our older assembler happy).Code:Nokia-N810-43-7:~# /usr/local/bin/valgrind date ==20992== Memcheck, a memory error detector ==20992== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==20992== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info ==20992== Command: date ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100A5BC: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x4100362B: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100AA3C: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x4100362B: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100AABC: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x4100362B: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100A460: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x410039A3: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100A468: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x410039A3: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== ==20992== Conditional jump or move depends on uninitialised value(s) ==20992== at 0x4100A5BC: _dl_relocate_object (in /lib/ld-2.5.so) ==20992== by 0x410039A3: dl_main (in /lib/ld-2.5.so) ==20992== by 0x41012ACB: _dl_sysdep_start (in /lib/ld-2.5.so) ==20992== by 0x41000EBF: _dl_start_final (in /lib/ld-2.5.so) ==20992== by 0x410013A7: _dl_start (in /lib/ld-2.5.so) ==20992== by 0x410007DF: ??? (in /lib/ld-2.5.so) ==20992== Tue Nov 9 14:53:01 GMT 2010 ==20992== ==20992== HEAP SUMMARY: ==20992== in use at exit: 32 bytes in 1 blocks ==20992== total heap usage: 35 allocs, 34 frees, 3,603 bytes allocated ==20992== ==20992== LEAK SUMMARY: ==20992== definitely lost: 32 bytes in 1 blocks ==20992== indirectly lost: 0 bytes in 0 blocks ==20992== possibly lost: 0 bytes in 0 blocks ==20992== still reachable: 0 bytes in 0 blocks ==20992== suppressed: 0 bytes in 0 blocks ==20992== Rerun with --leak-check=full to see details of leaked memory ==20992== ==20992== For counts of detected and suppressed errors, rerun with: -v ==20992== Use --track-origins=yes to see where uninitialised values come from ==20992== ERROR SUMMARY: 11 errors from 6 contexts (suppressed: 0 from 0)
![]() |
2010-11-09
, 15:36
|
Posts: 96 |
Thanked: 55 times |
Joined on Apr 2010
@ İstanbul - Turkey
|
#4
|
![]() |
2010-11-09
, 15:51
|
|
Posts: 302 |
Thanked: 193 times |
Joined on Oct 2008
@ England
|
#5
|
![]() |
2010-11-09
, 15:56
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#6
|
Is it running only on N900, or can we use it to analyze ARM binaries on x86 too? I mean, will it be able to run on Scratchbox or MADDE?
[sbox-DIABLO_ARMEL: ~] > /usr/local/bin/valgrind /bin/date ==21020== Memcheck, a memory error detector ==21020== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==21020== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info ==21020== Command: /bin/date ==21020== valgrind: Fatal error at startup: a function redirection valgrind: which is mandatory for this platform-tool combination valgrind: cannot be set up. Details of the redirection are: valgrind: valgrind: A must-be-redirected function valgrind: whose name matches the pattern: memcpy valgrind: in an object with soname matching: ld-linux.so.3 valgrind: was not found whilst processing valgrind: symbols from the object with soname: ld-linux.so.3 valgrind: valgrind: Possible fixes: (1, short term): install glibc's debuginfo valgrind: package on this machine. (2, longer term): ask the packagers valgrind: for your Linux distribution to please in future ship a non- valgrind: stripped ld.so (or whatever the dynamic linker .so is called) valgrind: that exports the above-named function using the standard valgrind: calling conventions for this platform. valgrind: valgrind: Cannot continue -- exiting now. Sorry.
The Following User Says Thank You to lma For This Useful Post: | ||
![]() |
2010-11-09
, 16:00
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#7
|
![]() |
2010-11-12
, 04:50
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#9
|
![]() |
2010-11-13
, 21:05
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#10
|
Index: configure.in =================================================================== --- configure.in (revision 11479) +++ configure.in (working copy) @@ -158,7 +158,7 @@ esac ;; - armv7*) + arm*) AC_MSG_RESULT([ok (${host_cpu})]) ARCH_MAX="arm" ;;
Code:.... valgrind: Possible fixes: (1, short term): install glibc's debuginfo valgrind: package on this machine. ... valgrind: Cannot continue -- exiting now. Sorry.
The Following User Says Thank You to AapoRantalainen For This Useful Post: | ||