mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Florian Fainelli <florian@openwrt.org>
To: openwrt-devel@lists.openwrt.org, musl@lists.openwall.com
Subject: Support for musl libc in OpenWrt
Date: Fri, 23 Nov 2012 21:10:33 +0100	[thread overview]
Message-ID: <50AFD839.9010408@openwrt.org> (raw)

Hi All,

Support for musl libc in OpenWrt has been added in revision r34314, this 
was tested against:

- X86 in VirtualBox
- X86_64 with UML
- ARM with the realview target

Note that the following issues are known:

- unable to complete libstdc++ build due to some missing declarations (WIP)
- MIPS and MIPSel ports are not functionnal (details below)
- PowerPC has not been tested at all due to lack of hardware/emulation 
target

I did not try yet to compile our entire set of packages besides the one 
pre-selected in trunk, so you will certainly encounter some breakage due 
to musl being more strict about header inclusions and declarations than 
uClibc and (e)glibc.

Have fun!
--
MIPS and MIPSel specific issues:

using qemu's binary emulation (qemu-mips[el]) against a statically 
linked binary works, a dynamic binary makes my host qemu segv. Using 
qemu-system-mips[el], the binary segfaults while being executed by the 
kernel. So far I have not had the time to debug this further.
--
Florian

             reply	other threads:[~2012-11-23 20:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 20:10 Florian Fainelli [this message]
2012-11-23 22:19 ` Szabolcs Nagy
2012-11-23 22:52   ` Florian Fainelli
2012-11-24  6:15 ` Isaac Dunham
2012-11-24 10:01   ` Szabolcs Nagy
2012-11-25 11:46   ` [musl] " Florian Fainelli
2012-11-25 13:37     ` Szabolcs Nagy
2012-11-25 18:41       ` Re: [OpenWrt-Devel] " John Spencer
2012-11-25 19:29         ` Florian Fainelli
2012-12-01  4:15           ` Rich Felker
2012-12-01  9:16             ` Florian Fainelli

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=50AFD839.9010408@openwrt.org \
    --to=florian@openwrt.org \
    --cc=musl@lists.openwall.com \
    --cc=openwrt-devel@lists.openwrt.org \
    /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).