From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2133 Path: news.gmane.org!not-for-mail From: Brian Wang Newsgroups: gmane.linux.lib.musl.general Subject: Re: Loader for musl on ARM Date: Wed, 17 Oct 2012 15:00:39 +0800 Message-ID: References: <20121017062645.GZ254@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1350457256 16229 80.91.229.3 (17 Oct 2012 07:00:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2012 07:00:56 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2134-gllmg-musl=m.gmane.org@lists.openwall.com Wed Oct 17 09:01:02 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 1TONcj-0004vz-7v for gllmg-musl@plane.gmane.org; Wed, 17 Oct 2012 09:01:01 +0200 Original-Received: (qmail 1599 invoked by uid 550); 17 Oct 2012 07:00:52 -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 1588 invoked from network); 17 Oct 2012 07:00:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5+L/a5odhHP2z7sYG/r1q2N1uy5rQGz40Tz8aB8yQOU=; b=lws8HisMgZT11U3RiJStkOP/6eAfIjfT0T3k9NchyzJm3d1GFCR1OvJu23y/bln0Nr kv+tlhqUV4mF0vkPaOX2zlxJNboecpsRUtmqmT87l7b53n35C15bSeNRIr8Z0i6IBBxG 6QDyl6kNF3PQlk76sw+SnWdhtIOYWxtQtyMy5SjnTttHryQstmf0HuZVlEV0zayBmj0g iU2uPHIhwlijMZz61lRNkNWVHDao0t5Ryikb9iIkTwRhqlSOYhabtO9LlAri3j1VGVyM Rr8efCFOtux/IqdbA2YQVPtd77q3eixx6YqZ5MAvH3+Vfm6i44X61LWYd/AgqFM0myxK 3rbw== In-Reply-To: <20121017062645.GZ254@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:2133 Archived-At: On Wed, Oct 17, 2012 at 2:26 PM, Rich Felker wrote: > 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. I could not find one (ld-*so*) within the toolchain installation directory or the build directory. What should I do to get this file? Thank you. Brian > > Rich -- brian ------------------ Cool-Karaoke - The smallest recording studio, in your palm, open-sourced http://cool-idea.com.tw/ iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe