ARM GCC-4.2.1 dynamically linked busybox-1.15.0 failed
Teh Kok How
khteh at smartbridges.com
Tue Sep 15 07:17:23 UTC 2009
Hi;
Sorry I did the dump on statically linked busybox. Here is the
output for dynamically linked busybox:
[khteh at khteh-pc:/usr/src/busybox-1.15.0 13]$ $DUMP -sx busybox | egrep -i
'needed|interp'
INTERP off 0x000000f4 vaddr 0x000080f4 paddr 0x000080f4 align 2**0
NEEDED libc.so.6
0 .interp 00000013 000080f4 000080f4 000000f4 2**0
Contents of section .interp:
101cd0 6f756e64 2c202564 206e6565 64656400 ound, %d needed.
[khteh at khteh-pc:/usr/src/busybox-1.15.0 14]$
[khteh at khteh-pc:/usr/src/busybox-1.15.0 14]$ l
/usr/src/rootfs_arm/lib/libc.so.6
lrwxrwxrwx 1 khteh root 13 Aug 22 10:37 /usr/src/rootfs_arm/lib/libc.so.6 ->
libc-2.3.6.so
[khteh at khteh-pc:/usr/src/busybox-1.15.0 15]$ l
/usr/src/rootfs_arm/lib/libc-2.3.6.so
-rwxrwxrwx 1 khteh root 10075081 Sep 15 04:58
/usr/src/rootfs_arm/lib/libc-2.3.6.so
[khteh at khteh-pc:/usr/src/busybox-1.15.0 16]$
Regards,
Teh
-----Original Message-----
From: busybox-bounces at busybox.net [mailto:busybox-bounces at busybox.net] On
Behalf Of Dan Fandrich
Sent: Tuesday, September 15, 2009 1:10 PM
To: busybox at busybox.net
Subject: Re: ARM GCC-4.2.1 dynamically linked busybox-1.15.0 failed
On Tue, Sep 15, 2009 at 12:52:40PM +0800, Teh Kok How wrote:
> [khteh at khteh-pc:/usr/src/rootfs_arm 11]$ $DUMP -sx sbin/init|egrep -i
> 'needed|interp'
> 188770 6f756e64 2c202564 206e6565 64656400 ound, %d needed.
> 1bbb90 73732061 206e6565 64656420 73686172 ss a needed shar
> 1bebc0 206e6565 64656420 62792025 73205b25 needed by %s [%
> 1bf800 6e656564 65642021 3d202828 766f6964 needed != ((void
If that's the output you're seeing from objdump, then your init must
be statically linked. Are you sure you have the binaries you expect
where you expect them? Are you sure your NFS root is exporting what
you think it's exporting?
>>> Dan
--
http://www.MoveAnnouncer.com The web change of address service
Let webmasters know that your web site has moved
More information about the busybox
mailing list