|
From: Wangyaohui <wan...@gm...> - 2011-11-14 13:51:37
|
Hi all, I'd like to know whether Valgrind 3.7.0 supports emulator on Android? I have tried running Valgrind on QEMU with a specific '-armv7' kernel, but it gives out the following message: ------------------ # data/local/Inst/bin/valgrind /system/bin/ls ==340== Memcheck, a memory error detector ==340== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==340== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==340== Command: /system/bin/ls ==340== vex: priv/main_main.c:374 (LibVEX_Translate): Assertion `are_valid_hwcaps(VexArchARM, vta->archinfo_host.hwcaps)' failed. vex storage: T total 0 bytes allocated vex storage: P total 0 bytes allocated valgrind: the 'impossible' happened: LibVEX called failure_exit(). ==340== at 0x380351C8: report_and_quit (m_libcassert.c:210) ==340== by 0x62332A1F: ??? sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==340== at 0xB0001000: ??? (in /system/bin/linker) ------------------ I've followed the instruction at README.android exactly. Should I change the configure command so as to support Valgrind on Android emulator? I'm new to Valgrind...really appreciate your suggestions. Thanks & Best Regards |
|
From: WAROQUIERS P. <phi...@eu...> - 2011-11-14 17:04:05
|
I have successfully compiled and run Valgrind for the Android emulator delivered with the Android SDK. However, as this emulator emulates an ARMv5 and as Valgrind does not support ARMv5, I had to put some patches to make it compiling and running on the Android SDK emulator. If you can make another emulator (or direct usage of QEMU) working with an ARMv7 emulation, I am interested to see what you have done. Philippe ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. |
|
From: Wangyaohui <wan...@gm...> - 2011-11-15 11:42:42
|
Hi Philippe, Thanks for your reply!^ Could you please tell me how to compile and run Valgrind on QEMU in more detail, and where can I got those patches you've mentioned? (btw...I have no idea how QEMU could support ARMv7 thoroughly, I've made some googling but didn't found much information...) Thanks & Best Regards |