From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9653 Path: news.gmane.org!not-for-mail From: Masanori Ogino Newsgroups: gmane.linux.lib.musl.general,gmane.comp.hardware.lowrisc.devel Subject: Re: [GSoC2016] A proposal on porting musl to RISC-V Date: Thu, 17 Mar 2016 20:10:02 +0900 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1458213033 14592 80.91.229.3 (17 Mar 2016 11:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2016 11:10:33 +0000 (UTC) Cc: lowrisc-dev@lists.lowrisc.org, musl@lists.openwall.com To: Alexander Monakov Original-X-From: musl-return-9666-gllmg-musl=m.gmane.org@lists.openwall.com Thu Mar 17 12:10:25 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1agVop-0005mt-0a for gllmg-musl@m.gmane.org; Thu, 17 Mar 2016 12:10:19 +0100 Original-Received: (qmail 24454 invoked by uid 550); 17 Mar 2016 11:10:15 -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 24433 invoked from network); 17 Mar 2016 11:10:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=0bNnIvENzvgxEua3qZqIansJaedIwWx7FvoBh0vxEZQ=; b=hJomJ+Zu3rByY6qo/lfiOTXgAzCohA9tC/UC992yhvSBgRQG5cNYx9tASCXpO9dh2l DxKBYzcrwRGiGEthuIyE9KZBmfjIb+3QPGgHbJHMEjTxsLn1FBca5723buKwp1KUMyhT 69Pm5RL0iwDy2u5+fPt2mM9IJ71LbgDQuh61JHaxPQOWVz1aUEkR5jPwI7F8WO6ZKkMD MneVIGjgDT5ZVVvJfOHYM95XR0WFZHdkOUrK5zI7TjDKSjCl9jsx6TYeJ2TK3OoaNDJ9 oGL0xzSHA0m2zCJvPUKlhCzPnXVCKEhw9xA6qbjNKT4Vm4qaJAGzt+xKDyVW/TQN/Kk2 /vXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=0bNnIvENzvgxEua3qZqIansJaedIwWx7FvoBh0vxEZQ=; b=UoKEU+zLHcHagPgO5NRJ3fPj49TSPITCcCesGybvRr2qes1TXECIeeziDb3V3oTaIA fLVKgLst2e3aAR2elcwunw5F8GXdKtW01lYCJQKZLGgC2eKHbLvEYiPuqAxxZYIoQm2Z DU/CpEIUdL6aKQH1+UJmV4Wb14ElvInJSWesnU88wdcUX2q+pL8j336ZalbVEFFUF6Jq evJ8e70KVzYvnsciTtEpghQO0iiWihjt+3/34smkbEMOON+4+GwzZZuH71cMqmwu6ooR NgG3LWz77Ht3xyOfKW++adNKl+ZzGHiFE78qtPoBP++kpBFniGYsI5pJRWiV1fTSBTVo R3aQ== X-Gm-Message-State: AD7BkJJpPWmBZANm6/OICkEiiU3eU0su4VqFzLexGKF0l4H3xYHLSLe2X1GPA1b6p8esPXTZNY7/SO8QIgzy2A== X-Received: by 10.202.186.67 with SMTP id k64mr5336068oif.51.1458213002408; Thu, 17 Mar 2016 04:10:02 -0700 (PDT) Original-Sender: masanoriogino@gmail.com In-Reply-To: X-Google-Sender-Auth: ah6F0HnGQUwNbrwiPXvCx8cOd6w Xref: news.gmane.org gmane.linux.lib.musl.general:9653 gmane.comp.hardware.lowrisc.devel:326 Archived-At: Thank you for reviewing! 2016-03-16 17:37 GMT+09:00 Alexander Monakov : > Hi, > > On Wed, 16 Mar 2016, Masanori Ogino wrote: >> 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. > > I think at the moment the source file (proposal.md) is a bit more informative > because it has references to source code, and, more importantly, some URLs to > relevant projects such as the simulator and libc-test. The PDF still has the > URLs, but they are typeset the same as normal text. References to the source code are comment for myself so they don't appear in the text. Is it better to put them in the text? Certainly it is inconvenient that hyperlinks are typeset normally in the PDF. I'll fix it. >> Any comment would be appreciated. Feel free to send comments on MLs or GitHub. > > It looks nice. I have two non-essential comments: > > - in week 1 tasks, you point out "Implement the startup code, function > prologue and epilogue"; the comment references musl's crt startup code, but > I don't see what the prologue/epilogue refer to; normally the compiler emits > them, unless I'm misunderstanding what you say; The "function prologue and epilogue" here refer the initialization and termination code executed before/after the entry point function, say main(). I'll reconsider the wording here to make it clearly. References: http://gcc.gnu.org/onlinedocs/gccint/Initialization.html https://blogs.oracle.com/ahl/entry/the_mysteries_of_init https://dev.gentoo.org/~vapier/crt.txt > - I think it would be nice if you could add URLs for other risc-v software > projects relevant to this work, namely the toolchain porting efforts > (riscv-gnu-toolchain?), and perhaps the kernel port if there's a single URL > for that (sorry I'm not familiar with RISC-V). OK, I'll add them. -- Masanori Ogino