[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm
Subject: Re: problem booting kernel with xscale tool-chain-3.3.3
From: Dimitry Andric <dimitry () andric ! com>
Date: 2004-04-26 20:49:53
Message-ID: 1242066578.20040426224953 () andric ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On 2004-04-26 at 17:10:34 ramprasad wrote:
> Kernel boots off if i compile busybox and tinylogin
> statically.If i compile busybox and tinylogin for dynamic linking it
> says *libc.so.6 no such file or directory*.
I've downloaded and checked out this toolkit, and the problem is
caused by the original toolkit builder's configure settings. He
configured glibc with --prefix="/usr/local/xscale/3.3.3", which causes
all references to the dynamic linker in produced executables to point
to
/usr/local/xscale/3.3.3/lib/ld-linux.so.2
instead of
/lib/ld-linux.so.2
Therefore, any dynamically linked executable will be unable to find
the linker, and thus the shared libraries it needs. You might be able
to hack around this by placing a symlink from /usr/local/xscale/3.3.3
to the root of your filesystem, but that's quite "unclean". :)
In any case, this toolkit should be recompiled in the proper manner,
preferably with crosstool <http://kegel.com/crosstool/>. If I have
some time I might be able to put up a good copy somewhere...
[Attachment #5 (application/pgp-signature)]
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic