mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Cc: lowrisc-dev@lists.lowrisc.org
Subject: Re: Interest in "Porting musl libc to RISC-V" project for GSoC 2016
Date: Thu, 3 Mar 2016 23:06:42 +0100	[thread overview]
Message-ID: <20160303220641.GL29662@port70.net> (raw)
In-Reply-To: <CAA-4+jeQsQzyNkxXdr_jCjk8_m9j06bo+tPhudRxH7N5FuMBgg@mail.gmail.com>

* Masanori Ogino <masanori.ogino@gmail.com> [2016-03-03 16:43:31 +0900]:
> I'm interested in porting musl to RISC-V arch project on
> http://www.lowrisc.org/docs/gsoc-2016-ideas/ . I have read guidelines
> for GSoC students and now I'm preparing to write up my proposal.
> 
> I'd like to ask you for your advice to understand technical details
> and improve my plan. Please let me know if you have any thoughts.
> Thank you.

last time iirc musl port was considered to be
not large enough in itself for a gsoc project
(i think it should not take more than 2 months
but i don't know the current state of risc-v
qemu/linux/gcc/etc)

you might need to think additional things to work on.

for musl, one idea is to invest extra time on testing.

for risc-v i think polishing the toolchain and the docs
would be useful.


there are some basic problems with the risc-v software
eco-system:

there is no proper sysv psabi spec. (designing one would
have been better than copying obsolete nonsense from mips
as i can see in the glibc port.)

nothing is upstream yet (gcc/linux/.. ports are
maintained out of tree, working with the upstream
community is important for many reasons).

risc-v mailing lists are not public, only subscribers
can see or participate in the discussions. (this is
bad given that there are no specs, no upstreamed code
so no source of information for outsiders.)

for a musl port this means that we don't have abi
stability guarantees, the port can stop working with
the rest of the risc-v software stack.   so for a
successful port i think some scripts should be developed
to build and test the latest risc-v things against musl
(cross-toolchain, rootfs, etc) so we can keep it working.


  reply	other threads:[~2016-03-03 22:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03  7:43 Masanori Ogino
2016-03-03 22:06 ` Szabolcs Nagy [this message]
2016-03-04  0:54   ` Masanori Ogino
2016-03-04  3:02     ` Rich Felker
2016-03-04  7:05       ` Masanori Ogino

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=20160303220641.GL29662@port70.net \
    --to=nsz@port70.net \
    --cc=lowrisc-dev@lists.lowrisc.org \
    --cc=musl@lists.openwall.com \
    /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).