From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2331 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general,gmane.comp.embedded.openwrt.devel Subject: Re: Support for musl libc in OpenWrt Date: Fri, 23 Nov 2012 22:15:33 -0800 Message-ID: <20121123221533.eb6d941c.idunham@lavabit.com> References: <50AFD839.9010408@openwrt.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353737747 21366 80.91.229.3 (24 Nov 2012 06:15:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2012 06:15:47 +0000 (UTC) Cc: Florian Fainelli , openwrt-devel@lists.openwrt.org To: musl@lists.openwall.com Original-X-From: musl-return-2332-gllmg-musl=m.gmane.org@lists.openwall.com Sat Nov 24 07:15:58 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 1Tc91y-0006z4-3A for gllmg-musl@plane.gmane.org; Sat, 24 Nov 2012 07:15:58 +0100 Original-Received: (qmail 1520 invoked by uid 550); 24 Nov 2012 06:15:47 -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 1512 invoked from network); 24 Nov 2012 06:15:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=59torj64tI+6e21gSxLeEOAnzOw7Ev8j5KkZFZcOeEKwZqIqMKxwv7rGksHmFVy7n76DHJcCnqzbS4zl4AQAsWBDzaHiyDvQGwBl35ibW2H1N0adMNpXWJvJk0k3h0Lkz4Sj/Gt7pT3xf1vgKHbQ+TxgjlEszhq5b6pkpeOWDaE=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <50AFD839.9010408@openwrt.org> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:2331 gmane.comp.embedded.openwrt.devel:16404 Archived-At: On Fri, 23 Nov 2012 21:10:33 +0100 Florian Fainelli wrote: > Hi All, > > Support for musl libc in OpenWrt has been added in revision r34314, Glad to hear it! > Note that the following issues are known: > > - unable to complete libstdc++ build due to some missing declarations (WIP) Are you using the default "linux-gnu" libstdc++, or the "generic" target? Only the latter is known to work at this point. > - MIPS and MIPSel ports are not functionnal (details below) > -- > 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. There are likely other issues, but are you using a hardfloat-compatible kernel (FPU emulation enabled)? At present, musl/mips relies on certain instructions that the kernel ordinarily emulates when they aren't supported. -- Isaac Dunham