|
From: <jen...@ta...> - 2010-09-24 11:01:13
|
Hi Kirill,
I tried to applied the two patches (vg-armv5.patch & vex-armv5.patch)
but got the following error, I wonder could you help me analyze what
went wrong please?
-------------------------------------------------------------------------
------------
Checked out external at revision 2041.
Checked out revision 11287.
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 1571 100 1571 0 0 1923 0 --:--:-- --:--:--
--:--:-- 324k
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 3419 100 3419 0 0 4177 0 --:--:-- --:--:--
--:--:-- 710k
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|commit 282f39d0c4672611ff6f0fe50b3bc01d039f6e52
|Author: Kirill Batuzov <bat...@is...>
|Date: Tue Aug 24 17:12:23 2010 +0400
|
| ARMv5 and v6 support
|
|diff --git a/configure.in b/configure.in
|index 7bc9034..ed94b3c 100644
|--- a/configure.in
|+++ b/configure.in
--------------------------
File to patch: vg-arm5.patch
vg-arm5.patch: No such file or directory
Skip this patch? [y] n
File to patch: /home/jennyo/valgrind/vg-armv5.patch
patching file /home/jennyo/valgrind/vg-armv5.patch
Hunk #1 FAILED at 158.
1 out of 1 hunk FAILED -- saving rejects to file
/home/jennyo/valgrind/vg-armv5.patch.rej
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/coregrind/m_scheduler/scheduler.c
b/coregrind/m_scheduler/scheduler.c
|index 9723403..b853227 100644
|--- a/coregrind/m_scheduler/scheduler.c
|+++ b/coregrind/m_scheduler/scheduler.c
--------------------------
File to patch:
-------------------------------------------------------------------------
------------------------------------------------------------
Thanks!
Jenny
-----Original Message-----
From: Kirill Batuzov <bat...@is...>
To: jen...@ta...
CC: jr...@bi...; val...@li...
Sent: Wed, 22 Sep 2010 17:53
Subject: Re: [Valgrind-developers] valgrind can not be located on
target platform
On 22.09.2010 19:04, jen...@ta... wrote:
> Thanks for coming back to me. I realised I was using a wrong
tool-chain
> for compilation. But if use the correct tool-chain for our arm-linux
> platform to compile valgrind, I got an error "Host (arm) not
supoorted".
>
> Attached is the config.log and the make file used, I wonder would
> valgrind support our the version of arm-linux we got (arm926ejs)?
Current Valgrind trunk support only ARMv7. I've made a patch some time
ago which adds ARMv5 and v6 compatibility. See
https://bugs.kde.org/show_bug.cgi?id=248998 for details.
>> Yes, the arm-linux box lacks /lib/ld-linux.so.3 for the PT_INTERP.
>> The arm-linux box has ld-linux.so.2 which is not the same;
>> note the '2' instead of '3'.
This may mean that your target platform uses OABI while your
cross-toolchain - EABI. I'm not sure if Valgrind can run on OABI
targets.
----
Kirill.
|