mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: Masanori Ogino <masanori.ogino@gmail.com>
Cc: lowrisc-dev@lists.lowrisc.org, musl@lists.openwall.com
Subject: Re: [musl] [GSoC2016] A proposal on porting musl to RISC-V
Date: Sat, 19 Mar 2016 02:37:49 -0400	[thread overview]
Message-ID: <20160319063749.GT21636@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAA-4+jek6oUPzJbMh1pv-MspnHXr4y3U4+qLH_Q_0uwtfxm++A@mail.gmail.com>

On Wed, Mar 16, 2016 at 10:22:31AM +0900, Masanori Ogino wrote:
> Hello,
> 
> I published an early draft of my Google Summer of Code 2016 proposal.
> You can get the draft from:
> https://github.com/omasanori/gsoc2016-proposal .
> 
> Check https://github.com/omasanori/gsoc2016-proposal/releases/tag/rev1
> if you want a PDF file of this revision.
> 
> Any comment would be appreciated. Feel free to send comments on MLs or GitHub.

Looks very good! Some comments:

In regards to your schedule, do you plan to do both rv32 and rv64 (and
some 'subarch' ABI variants for both) in parallel from the beginning?
I think it might make sense to get one (whatever is easiest) to the
point where you can do some meaningful testing before working on them
all, but I'd be happy to hear your thoughts on what approach works
best for you.

One thing to keep in mind (not sure if you're aware of it yet) is that
there's an in-progress port, now linked from the lowrisc.org project
ideas page, by another student who's interested in applying. Please
don't be discouraged by that; the reason I'm mentioning it is just
that I think anyone applying should either be planning to use the work
that's already done (being careful to properly document authorship) or
have a good explanation for why they're not going to. For your
proposal, this probably means greatly reducing the number of weeks to
be spent on getting the port basically up and running and dedicating
more time to the extended deliverables.

That's actually a good thing because I don't think you've allocated as
much time for the extended deliverables as they might take. For
example, for the vdso stuff, if you plan to do the actual kernel
patches, that's going to require familiarizing yourself with kernel
hacking if you're not already. And hooking it up to GCC for the
compiler to use with -mno-atomic (rather than just having libc use it
internally) requires some GCC hacking _and_ establishing some ABI for
the GCC-generated code to get to the vdso (probably via libc).

Hope these comments help, and sorry for not getting back to you
sooner. I've had a busy week.

Rich



  parent reply	other threads:[~2016-03-19  6:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16  1:22 Masanori Ogino
2016-03-16  8:37 ` Alexander Monakov
2016-03-17 11:10   ` Masanori Ogino
2016-03-18  1:16     ` Masanori Ogino
2016-03-19  6:37 ` Rich Felker [this message]
2016-03-20  3:13   ` Masanori Ogino
2016-03-25  5:12     ` 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=20160319063749.GT21636@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=lowrisc-dev@lists.lowrisc.org \
    --cc=masanori.ogino@gmail.com \
    --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).