From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10227 Path: news.gmane.org!not-for-mail From: Rich Felker 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 12:12:24 -0400 Message-ID: <20160626161224.GD10893@brightrain.aerifal.cx> References: <20160618163014.GU22574@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1466957565 22107 80.91.229.3 (26 Jun 2016 16:12:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2016 16:12:45 +0000 (UTC) Cc: lowrisc-dev@lists.lowrisc.org To: musl@lists.openwall.com Original-X-From: musl-return-10240-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jun 26 18:12:44 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 1bHCfq-0001eL-M7 for gllmg-musl@m.gmane.org; Sun, 26 Jun 2016 18:12:42 +0200 Original-Received: (qmail 31916 invoked by uid 550); 26 Jun 2016 16:12:38 -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 31894 invoked from network); 26 Jun 2016 16:12:38 -0000 Content-Disposition: inline In-Reply-To: <20160618163014.GU22574@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10227 gmane.comp.hardware.lowrisc.devel:405 Archived-At: 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. 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