From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1270 Path: news.gmane.org!not-for-mail From: Gregor Richards Newsgroups: gmane.linux.lib.musl.general Subject: Re: initial version of mips port committed Date: Wed, 11 Jul 2012 09:08:40 -0400 Message-ID: <4FFD7AD8.9070302@purdue.edu> References: <20120711083203.GY544@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342012138 9371 80.91.229.3 (11 Jul 2012 13:08:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2012 13:08:58 +0000 (UTC) Cc: Rich Felker To: musl@lists.openwall.com Original-X-From: musl-return-1271-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 11 15:08:57 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 1Sowf2-0005pe-FI for gllmg-musl@plane.gmane.org; Wed, 11 Jul 2012 15:08:56 +0200 Original-Received: (qmail 7472 invoked by uid 550); 11 Jul 2012 13:08:55 -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 7464 invoked from network); 11 Jul 2012 13:08:54 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 In-Reply-To: <20120711083203.GY544@brightrain.aerifal.cx> X-PMX-Version: 5.5.9.388399 X-PerlMx-Virus-Scanned: Yes Xref: news.gmane.org gmane.linux.lib.musl.general:1270 Archived-At: On 07/11/2012 04:32 AM, Rich Felker wrote: > from the commit message: > > initial version of mips (o32) port, based on work by Richard > Pennington (rdp) > > basically, this version of the code was obtained by starting with > rdp's work from his ellcc source tree, adapting it to musl's build > system and coding style, auditing the bits headers for discrepencies > with kernel definitions or glibc/LSB ABI or large file issues, fixing > up incompatibility with the old binutils from aboriginal linux, and > adding some new special cases to deal with the oddities of sigaction > and pipe syscall interfaces on mips. > > at present, minimal test programs work, but some interfaces are broken > or missing. threaded programs probably will not link. > Fresh cross compiler tarball: https://bitbucket.org/GregorR/musl-cross/downloads/crossx86-mips-linux-musl-6315004f.tar.xz I'll build a new tarball when .so support works. Until then, it's safe to upgrade musl in this one for testing purposes: CC="mips-linux-musl-gcc" ./configure --prefix=/mips-linux-musl --disable-shared && make all install It works well enough to make "Hello, world!" and such happy. Threads indeed don't link. With valediction, - Gregor Richards