This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] PR libstdc++/78870 support std::filesystem on Windows
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: Jonathan Wakely <jwakely at redhat dot com>, "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 16 Jun 2018 14:06:03 +0100
- Subject: Re: [PATCH] PR libstdc++/78870 support std::filesystem on Windows
- References: <20180531191942.GA12356@redhat.com> <27473b1a-41bc-eb54-ef00-075daa91932f@codesourcery.com>
On Sat, 16 Jun 2018 at 02:04, Sandra Loosemore <sandra@codesourcery.com>
wrote:
> On 05/31/2018 01:19 PM, Jonathan Wakely wrote:
> > This adds incomplete but functional support for std::filesystem and
> > std::experimental::filesystem on MinGW. In theory there should be no
> > changes to the existing behaviour for POSIX targets from this patch,
> > as all the various bugs I found while working on this have already
> > been fixed in separate patches.
> >
> > Tested powerpc64le-linux, and x86_64-w64-mingw32 (with a few expected
> > FAILures on mingw-w64). Committed to trunk.
>
> As noted in the issue (comment #16) 2 weeks ago already, this patch
> breaks libstdc++ configure on bare-metal targets.
>
> configure:80055: checking for link
> configure:80055: error: Link tests are not allowed after
> GCC_NO_EXECUTABLES.
>
> Please fix? It's blocking other people from testing unrelated patches
> on mainline.
>
>
I'm not the only person able to make changes to autoconf files (and already
said I didn't know how to fix this).
I have a patch to replace the AC_CHECK_FUNCS line with
GLIBCXX_COMPILE_OR_LINK tests inside GLIBCXX_CHECK_FILESYSTEM_DEPS which
should work, I'll finish testing it when I get home this evening.
> -Sandra
>