|
From: Mohammad A. <mh...@gm...> - 2012-02-02 12:07:32
|
Hello Everybody, Hope you're all doing good. I wanted to share a problem that I am having for the past two weeks. I compiled/configured Valgrind 3.7 for ARM processor (nexus_s as mentioned in Readme.android). I configured it on Ubuntu 11.10 (running on VBox). After configuring valgrind. I took the Inst directory (as mentioned in Readme.android) and copied it to two emulators, one running on MacOSx and the other running on Ubuntu 11.10. I created the emulator using 2.2 API (platform-8). On both the platforms while I run valgrind from the ./adb shell, kernel stops it. + Stopped (signal) and at second time when I run it. It says Illegal Instruction Kindly help me out on this issue, Thanks Mohammad Ali |
|
From: Philippe W. <phi...@sk...> - 2012-02-02 21:26:56
|
On Thu, 2012-02-02 at 17:07 +0500, Mohammad Ali wrote:
> After configuring valgrind. I took the Inst directory (as mentioned in
> Readme.android) and copied it to two emulators, one running on MacOSx
> and the other running on Ubuntu 11.10.
> I created the emulator using 2.2 API (platform-8).
>
>
> On both the platforms while I run valgrind from the ./adb shell,
> kernel stops it.
>
>
> + Stopped (signal)
>
>
> and at second time when I run it. It says
>
>
> Illegal Instruction
I am also using an Android emulator to do some (limited) Valgrind
validations.
Note however that the emulated android is a 2.3.3 API level 10.
Assuming we are speaking about the same emulator (delivered as part
of the Android SDK/NDK) : it emulates an armv5, while valgrind
needs something like an armv7.
=> I have to apply some patches which allows to compile and run
Valgrind on the emulator with armv5.
The patches are mostly found in
https://bugs.kde.org/show_bug.cgi?id=276897
(if you are interested, I have a combined patch which I am applying
on a 3.8.0 SVN)
Philippe
|