This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Support spu-elf in libstdc++ crossconfig.m4
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: jwakely dot gcc at gmail dot com (Jonathan Wakely)
- Cc: gcc-patches at gcc dot gnu dot org (gcc-patches), libstdc++ at gcc dot gnu dot org (libstdc++)
- Date: Thu, 20 Mar 2014 19:31:45 +0100 (CET)
- Subject: Re: [PATCH] Support spu-elf in libstdc++ crossconfig.m4
- Authentication-results: sourceware.org; auth=none
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
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com