On 20 March 2014 18:31, Ulrich Weigand wrote: > Jonathan Wakely wrote: >> On 20 March 2014 18:04, Ulrich Weigand wrote: >> > Hello, >> > >> > currently, there is no support for spu-elf in crossconfig.m4. In the past, >> > we've usually worked around this by configuring GCC with --with-newlib. >> > >> > But that has other drawbacks since it performs no link tests at all, and >> > thus assumes only a very minimal set of features available via newlib. >> > >> > This has become a problem since libgfortran switched to respecting >> > --with-newlib; now many tests fail due to supposedly unavailable >> > library features, which newlib actually would support -- on SPU. >> >> So this fixes a regression? > > Yes. Using this patch allows building without --with-newlib, which > in turn gets the Fortran test suite back into shape as it was before > this patch was applied: > http://gcc.gnu.org/ml/fortran/2013-06/msg00115.html
This is OK for mainline then, since it fixes a regression (and only affects the spu-elf target anyway). Thanks.
