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