|
From: Avi G. <av...@ch...> - 2014-03-02 10:42:29
|
Hi, In the past it was possible to analyze 32bit applications on 64bit OS as mentioned in this post: http://sourceforge.net/p/valgrind/mailman/message/23606386/ I have a similar situation, thus I crossed compiled Valgrind to run it on a X86_64 target. It analyzes 64bit applications very well. However, when trying to analyze 32bit applications I get: valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory It appears that memcheck-x86-linux is not generated when cross compiling Valgrind 3.9.0 for X86_64. I tried to work around this by copying the relevant tools from i386 compilation to /usr/lib. Valgrind run but failed to find most of memory errors. Is there a way to analyze 32bit applications on X86_64 using Valgrind? Thanks, Avi |
|
From: Tom H. <to...@co...> - 2014-03-02 11:03:17
|
On 02/03/14 10:42, Avi Gozlan wrote: > In the past it was possible to analyze 32bit applications on 64bit OS as mentioned in this post: http://sourceforge.net/p/valgrind/mailman/message/23606386/ Still is. > I have a similar situation, thus I crossed compiled Valgrind to run it on a X86_64 target. It analyzes 64bit applications very well. However, when trying to analyze 32bit applications I get: > valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory Then it appears that it probably didn't find the 32 bit toolchain when you built it - check the output of configure to see what it says. Tom -- Tom Hughes (to...@co...) http://compton.nu/ |
|
From: Avi G. <av...@ch...> - 2014-03-02 12:56:48
|
It appears that the x86_64 cross compiler does not support 32bit: checking for 32 bit build support... no I'll try to figure this out. Thanks for your help, Avi -----Original Message----- From: Tom Hughes [mailto:to...@co...] Sent: Sunday, March 02, 2014 1:03 PM To: Avi Gozlan; val...@li... Subject: Re: Analyzing 32bit applications on X86_64 - no more supported? On 02/03/14 10:42, Avi Gozlan wrote: > In the past it was possible to analyze 32bit applications on 64bit OS > as mentioned in this post: > http://sourceforge.net/p/valgrind/mailman/message/23606386/ Still is. > I have a similar situation, thus I crossed compiled Valgrind to run it on a X86_64 target. It analyzes 64bit applications very well. However, when trying to analyze 32bit applications I get: > valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No > such file or directory Then it appears that it probably didn't find the 32 bit toolchain when you built it - check the output of configure to see what it says. Tom -- Tom Hughes (to...@co...) http://compton.nu/ Email secured by Check Point |