|
From: <jen...@ta...> - 2010-09-22 15:04:44
|
Hi John,
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)?
Deeply appreciate your help!
Regards
Jenny
-----Original Message-----
From: John Reiser <jr...@bi...>
To: jen...@ta...
CC: val...@li...
Sent: Wed, 22 Sep 2010 13:57
Subject: Re: [Valgrind-developers] valgrind can not be located on
target platform
> jennyo@curium 09:02:07 valgrind $ readelf --segments
./coregrind/valgrind
> INTERP 0x000134 0x00008134 0x00008134 0x00013 0x00013 R 0x1
> [Requesting program interpreter: /lib/ld-linux.so.3]
> And then I checked on our arm-linux box, under \lib directory as the
> following:
>
> camera # cd /lib
> camera # ls -lh
> total 7.2M
> -rwxr-xr-x 1 root root 28K Jan 1 1970 klibc-0.so
> -rwxr-xr-x 1 root root 127K Jan 1 1970 ld-2.3.5.so
> lrwxrwxrwx 1 root root 16 Jan 1 1970 ld-linux.so.2 ->
/lib/ld-2.3.5.so
> I wonder is there something missiing on our arm-linux box?
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'.
--
|