From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10784 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: Weekly Report of Porting musl to RISC-V Project #5 Date: Thu, 8 Dec 2016 19:39:02 -0500 Message-ID: <20161209003902.GQ1555@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1481243959 23875 195.159.176.226 (9 Dec 2016 00:39:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2016 00:39:19 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-10797-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 09 01:39:14 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cF9DW-0005S1-0G for gllmg-musl@m.gmane.org; Fri, 09 Dec 2016 01:39:14 +0100 Original-Received: (qmail 1860 invoked by uid 550); 9 Dec 2016 00:39:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1839 invoked from network); 9 Dec 2016 00:39:16 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10784 Archived-At: On Thu, Dec 08, 2016 at 10:36:44PM -0200, Alan Pillay wrote: > What is the current status of musl on RISC-V? > This was the last time I heard about it, but it has been many months since. > Regards. The student (Masanori Ogino) disappeared and hasn't been in contact since. I'd really like to follow up and see what we can salvage from the project, as this is still a big wishlist item. Rich > > Hello, > > > > Thanks to the folks, I passed the mid-term evaluation. Now it is about > > time to publish the fifth progress report on porting musl on RISC-V. > > > > Last week, the toolchain itself has been built for RISC-V and running > > on Spike, and libc-test [1] can be executed with it now. I posted the > > result of tests on [2]. The REPORT.txt file contains all error > > messages of failed tests, both run-time ones and compile-time ones. > > > > Some failures are expected since musl on x86_64 also does the same > > ones (e.g. errors in src/api/fcntl.c), but there are some unexpected > > errors too. I guess that the "warning: is > > shorter than expected" warning indicates bugs in arch-dependent part > > of I/O functions or system calls (or kernel?) and it causes syntax > > errors in the same compilation unit. > > > > Moreover, some tests triggers a "signal 11" error (segmentation fault) > > in libc. I added some logs to [2]. They are bugs in the port, > > obviously. I am working on them. > > > > The good news is, anyway, some results are *better than x86_64*, > > especially in math functions :-) > > (probably the cause is the difference in the floating-point precision, > > though. it is usual in float tests...) > > > > It takes long, long time to get but finally I have a (seems-to-be) > > working test suite for the port. I will continue to debug and fix the > > port using the result. Stay tuned! > > > > > > [1]: http://nsz.repo.hu/git/?p=libc-test > > [2]: https://gist.github.com/omasanori/ee828369aea844ac7fdfdc8362953299 > > > > -- > > Masanori Ogino