valgrind error - "failed to start tool 'memcheck' for platform x86-linux" no such fil

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    valgrind error - "failed to start tool 'memcheck' for platform x86-linux" no such fil

    valgrind error - "failed to start tool 'memcheck' for platform x86-linux" no such file or dir

    copied all lib and bin files which are generated after I compiled valgrind package, when I run my exe with valgrind, I am getting above error, any idea?

    lib/
    -rw-r--r-- 1 0 0 27934 default.supp
    -rwxr-xr-x 1 0 0 4636305 cachegrind-x86-linux
    -rwxr-xr-x 1 0 0 4891451 callgrind-x86-linux
    -rwxr-xr-x 1 0 0 4857510 drd-x86-linux
    -rwxr-xr-x 1 0 0 4519362 exp-bbv-x86-linux
    -rwxr-xr-x 1 0 0 4729657 exp-ptrcheck-x86-linux
    -rwxr-xr-x 1 0 0 4837460 helgrind-x86-linux
    -rwxr-xr-x 1 0 0 4529944 lackey-x86-linux
    -rwxr-xr-x 1 0 0 4568883 massif-x86-linux
    -rwxr-xr-x 1 0 0 5040139 memcheck-x86-linux
    -rwxr-xr-x 1 0 0 4509675 none-x86-linux
    -rwxr-xr-x 1 0 0 72136 vgpreload_memch eck-x86-linux.so
    -rwxr-xr-x 1 0 0 37223 vgpreload_massi f-x86-linux.so
    -rwxr-xr-x 1 0 0 107935 vgpreload_helgr ind-x86-linux.so
    -rwxr-xr-x 1 0 0 45354 vgpreload_exp-ptrcheck-x86-linux.so
    -rwxr-xr-x 1 0 0 170657 vgpreload_drd-x86-linux.so
    -rwxr-xr-x 1 0 0 6765 vgpreload_core-x86-linux.so
    #

    bin/
    rwxr-xr-x 1 0 0 40959 callgrind_annot ate
    -rwxr-xr-x 1 0 0 13662 callgrind_contr ol
    -rwxr-xr-x 1 0 0 32064 cg_annotate
    -rwxr-xr-x 1 0 0 42942 cg_merge
    -rwxr-xr-x 1 0 0 24211 ms_print
    -rwxr-xr-x 1 0 0 8531 no_op_client_fo r_valgrind
    -rwxr-xr-x 1 0 0 30823 valgrind
    -rwxr-xr-x 1 0 0 18887 valgrind-listener
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    #2
    if I run the same executable on x86 LINUX machine, it works, my target also x86 based embedded board, there it cannot fine memcheck file, eventhough the file exists in same directory.

    Comment

    • tvnaidu
      Contributor
      • Oct 2009
      • 365

      #3
      I tried to use ldd on my embedded target, I copied ldd, but it doesn't show anything.

      Comment

      Working...