From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10783 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Pillay Newsgroups: gmane.linux.lib.musl.general,gmane.comp.hardware.lowrisc.devel Subject: Re: Weekly Report of Porting musl to RISC-V Project #5 Date: Thu, 8 Dec 2016 22:36:44 -0200 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1481243824 8889 195.159.176.226 (9 Dec 2016 00:37:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2016 00:37:04 +0000 (UTC) To: musl@lists.openwall.com, lowrisc-dev@lists.lowrisc.org Original-X-From: musl-return-10796-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 09 01:36:58 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 1cF9BH-00012Z-AX for gllmg-musl@m.gmane.org; Fri, 09 Dec 2016 01:36:55 +0100 Original-Received: (qmail 32441 invoked by uid 550); 9 Dec 2016 00:36:58 -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 32410 invoked from network); 9 Dec 2016 00:36:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=i2GW1RTLKXUbh3pneqEtrQsBiA19eDUqpzFO18s9zUI=; b=T0I9NfNUaOFvji/0bfG0epkXZs6DWMH131zJS4PeR4oxQozTO+B2TX2FW9oWdq73JD pIIfVKlLR1nk38+KnGSdVmp4EaVRx7R496qmkDQNlhHlfu6AgrWKEnW6EzHIauppbikB YIyBJpMUOowHEzNwmPLOPTiDR40FlpxvCFRmpTF40JBsUcnAn54E6OKmTjiz5mrsHkcD /0NKTWxLc5I2B5bNPIzHKP3690ioY6obx27lcM8a+4xKO/lPC5oaLNzmEJ4ajAUZMhjP 0a30z+eyN+dTGmHvUdPeSw431s/EmlZ0ljy22Br3cTHwMv5pWdwQKkrjuaGia0+paORN toOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=i2GW1RTLKXUbh3pneqEtrQsBiA19eDUqpzFO18s9zUI=; b=l3sqZQwP+EbhhAcHm+GTMmq6ObctYF7wgGb/qX67zDP+bLZB+3dTewet/N3yII1yzy 73vaW6o8cFWz6K/I+Y08WZ9u/dnEtDZH+xL+1aPbO7zdruoGbES0sdTvreLGD16vCtHg 4VgXJDPLXM5jT2QmNovOv+epIJKlsEVD1fbO2+6QtOz3XnpttJnoh9Kv1vbu1KgfW25d yQXmx3RO48X+QqC58G8DPVWZOSe8sIbyER4AyhXYgSvR/lXsHOjPAj7gSpHW4WBzqGNz 10q8ozs8/O2isu/idFKKz+ibyBmPTwv4oQl/kT3nWkA0etTZbAZJBo16T3FEBXH7QtO/ sfiw== X-Gm-Message-State: AKaTC00M6/PyGX3MlAoA9atpXhy8JzwzLoj9IkEYyOWWpvGZmn4GmWE4MUSLKLGDneF2LWcrxaWOYYfKr5vDww== X-Received: by 10.55.78.146 with SMTP id c140mr66275344qkb.55.1481243804796; Thu, 08 Dec 2016 16:36:44 -0800 (PST) Xref: news.gmane.org gmane.linux.lib.musl.general:10783 gmane.comp.hardware.lowrisc.devel:621 Archived-At: 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. > 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