From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2132 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Loader for musl on ARM Date: Wed, 17 Oct 2012 02:26:45 -0400 Message-ID: <20121017062645.GZ254@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1350455728 5198 80.91.229.3 (17 Oct 2012 06:35:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2012 06:35:28 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2133-gllmg-musl=m.gmane.org@lists.openwall.com Wed Oct 17 08:35:34 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TONE6-0000ye-Eh for gllmg-musl@plane.gmane.org; Wed, 17 Oct 2012 08:35:34 +0200 Original-Received: (qmail 9497 invoked by uid 550); 17 Oct 2012 06:35:27 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 9481 invoked from network); 17 Oct 2012 06:35:26 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2132 Archived-At: On Wed, Oct 17, 2012 at 02:16:22PM +0800, Brian Wang wrote: > Hello all, > > I finally got time to test out musl. > I have successfully cross compiled my linux kernel and rootfs with a > musl-based toolchain after some header file problems. > > However, ld-xxx seems to be missing on my target/toolchain. busybox > can execute if built with static library, and it doesn't if built > with libc.so. > > Is there something I did wrong? I built my cross toolchain with the > handy scripts at > https://bitbucket.org/GregorR/musl-cross You should have a symlink named /lib/ld-musl-$ARCH.so.1 (replace $ARCH with i386, x86_64, arm, or mips) pointing to libc.so in order to be able to run dynamic-linked programs. Rich