From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10228 Path: news.gmane.org!not-for-mail From: Khem Raj Newsgroups: gmane.linux.lib.musl.general,gmane.comp.hardware.lowrisc.devel Subject: Re: [GSoC2016] Weekly Report of Porting musl to RISC-V Project #4 Date: Sun, 26 Jun 2016 15:51:50 -0700 Message-ID: References: <20160618163014.GU22574@port70.net> <20160626161224.GD10893@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c094a22ce8b9f0536363f63 X-Trace: ger.gmane.org 1467008556 14981 80.91.229.3 (27 Jun 2016 06:22:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2016 06:22:36 +0000 (UTC) Cc: lowrisc-dev@lists.lowrisc.org To: musl@lists.openwall.com Original-X-From: musl-return-10241-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jun 27 00:52:05 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 1bHIuL-00023N-Bi for gllmg-musl@m.gmane.org; Mon, 27 Jun 2016 00:52:05 +0200 Original-Received: (qmail 17863 invoked by uid 550); 26 Jun 2016 22:52:02 -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 17845 invoked from network); 26 Jun 2016 22:52:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=u6cB7ceM0Dv8OAfXata+Gq6O3vgiufBOLDe7NSw2JHE=; b=vA+2W68klZMNNa5Y2j6SyxdnkEez44zoN0ix6g8WySaXxY0vLs4F+0+EkHjZfeVgrD vWjolQRdH4LcrGRkIU92S1DQfOD+Z8cnEwhPhUbWhxK32Tk5lR65aA5j/pwEmeuUr4S7 zAlgVfE7v6ssIsKAiETkdoRvgFgh3t68aor8J/o3AihzphBl2Zn2RIXCyTEjXBmglyJ5 BsAGdF0Wj/JQ+eeubsQk/HVXV8ohXTq76hgncX7x0ei7fuEmJdjdL+dD6o/qaw7pOuzr YKWCj4jzChreS2wNkfUnk4REjw3tE0BDHVfEyVt+5GwkSsooC4tMM5oln4vncmH39iIY /blQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=u6cB7ceM0Dv8OAfXata+Gq6O3vgiufBOLDe7NSw2JHE=; b=DHrTTHJyCYU52bkH+XORyIUunmsCzmp5a4fP2ak1Gil3G4cXWwHLvXwqMhw5/oOv7c 48OBwOFkWLLvjM/vyNYFclAwcTGNED5XyE1nME/FN6MsQePoSJqaELkuNoYMVwghUE3H SFcrZLnjqXMwCHAccQlUfVCNI1NqPCovIMKcqijLDPGpuNhmO4HzsrnCR6xRfbEvWM+T YAQVm5VjczQqosgjoxD920ge1w/aHC145u4lT2zimhN0IWag/nFVtYnsCtGuQHR8SSPU Owe2JbnFEnzvJlKjT1BCatdVSOcThTvrupJkKwztO7lEnOzMdYdRlP3j0nr/97oDmYSp 48dg== X-Gm-Message-State: ALyK8tIA646lTvErByHXo8dLIrt/kWv3ym73mCVdXxcBrwNgrkQKeznx0x5qTGRjcyTZ1aDi953L7R1Yg72Y3Q== X-Received: by 10.55.39.141 with SMTP id n135mr20693230qkn.149.1466981510186; Sun, 26 Jun 2016 15:51:50 -0700 (PDT) In-Reply-To: <20160626161224.GD10893@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:10228 gmane.comp.hardware.lowrisc.devel:406 --94eb2c094a22ce8b9f0536363f63 Content-Type: text/plain; charset=UTF-8 On Jun 26, 2016 9:12 AM, "Rich Felker" wrote: > > On Sat, Jun 18, 2016 at 06:30:17PM +0200, Szabolcs Nagy wrote: > > * Masanori Ogino [2016-06-18 22:21:58 +0900]: > > > This week, I have tried to run libc-test [1] on Spike with the > > > musl-based toolchain, but not succeeded. I found a minor problem with > > > recent cpp (I will report it to the maintainer of libc-test later) but > > > > you have to s/-E/-E -P/ in the makefile > > > > i was reluctant to do this upstream as it is a non-standard flag. Just pin minimum gcc version to 5 > > If gcc isn't planning to fix this, I think we should find a good > out-of-the-box workaround in libc-test. That would probably be either > a probe for gcc needing -P, or a filter to undo whatever mangling gcc > does without -P. It seems like a fairly trivial sed script could do > the latter. > > Rich --94eb2c094a22ce8b9f0536363f63 Content-Type: text/html; charset=UTF-8

On Jun 26, 2016 9:12 AM, "Rich Felker" <dalias@libc.org> wrote:
>
> On Sat, Jun 18, 2016 at 06:30:17PM +0200, Szabolcs Nagy wrote:
> > * Masanori Ogino <masanori.ogino@gmail.com> [2016-06-18 22:21:58 +0900]:
> > > This week, I have tried to run libc-test [1] on Spike with the
> > > musl-based toolchain, but not succeeded. I found a minor problem with
> > > recent cpp (I will report it to the maintainer of libc-test later) but
> >
> > you have to s/-E/-E -P/ in the makefile
> >
> > i was reluctant to do this upstream as it is a non-standard flag.

Just pin minimum gcc version to 5

>
> If gcc isn't planning to fix this, I think we should find a good
> out-of-the-box workaround in libc-test. That would probably be either
> a probe for gcc needing -P, or a filter to undo whatever mangling gcc
> does without -P. It seems like a fairly trivial sed script could do
> the latter.
>
> Rich

--94eb2c094a22ce8b9f0536363f63--