mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Loader for musl on ARM
Date: Wed, 17 Oct 2012 02:26:45 -0400	[thread overview]
Message-ID: <20121017062645.GZ254@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAPW=hRTQ9cJEs5e3g6WeAT0jJkMfTOG61m-h3-Ms0vpdd=O0dw@mail.gmail.com>

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


  reply	other threads:[~2012-10-17  6:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-17  6:16 Brian Wang
2012-10-17  6:26 ` Rich Felker [this message]
2012-10-17  7:00   ` Brian Wang
2012-10-17  6:55     ` Rich Felker
2012-10-17  7:19       ` Brian Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121017062645.GZ254@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).