The test experimental/filesystem/operations/copy.cc fails on darwin with Assertion failed: (!ec), function test02, file /opt/gcc/work/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc, line 72.
There's no way I can debug that, someone with an OS X system will have to step through the code. The alternative, which is quite tempting, is to just disable the filesystem TS on darwin ;)
The test also fails on armv6-unknown-freebsd11.0, see https://gcc.gnu.org/ml/gcc-testresults/2016-04/msg02071.html.
Also on i386-unknown-freebsd10.3, see https://gcc.gnu.org/ml/gcc-testresults/2016-04/msg02065.html.
Ah cool, I should be able to reproduce that, thanks.
Created attachment 38327 [details] Compressed preprocessed file Note that the problems are located in the procedures test02 and test03.
Created attachment 38328 [details] Compressed preprocessed file This time with the original test. Compile it with something such as g++ -L/opt/gcc/build_w/x86_64-apple-darwin15.4.0/libstdc++-v3/src/.libs -L/opt/gcc/build_w/x86_64-apple-darwin15.4.0/libstdc++-v3/libsupc++/.libs -D_GLIBCXX_ASSERT -DLOCALEDIR="." -nostdinc++ -std=gnu++11 -lstdc++fs /opt/gcc/build_w/x86_64-apple-darwin15.4.0/libstdc++-v3/testsuite/normal1/libtestc++.a copy.ii where /opt/gcc/build_w/x86_64-apple-darwin15.4.0/libstdc++-v3/testsuite/normal1/libtestc++.a has been produced during the libstdc++ tests.
Author: redi Date: Sun Apr 24 18:06:54 2016 New Revision: 235395 URL: https://gcc.gnu.org/viewcvs?rev=235395&root=gcc&view=rev Log: libstdc++/70762 fix fallback implementation of nonexistent_path PR libstdc++/70762 * testsuite/util/testsuite_fs.h (__gnu_test::nonexistent_path): Use static counter to return a different path on every call. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/util/testsuite_fs.h
Should be fixed at r235395
Author: redi Date: Thu May 26 17:18:13 2016 New Revision: 236786 URL: https://gcc.gnu.org/viewcvs?rev=236786&root=gcc&view=rev Log: libstdc++/70762 fix fallback implementation of nonexistent_path Backport from mainline 2016-04-24 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/70762 * testsuite/util/testsuite_fs.h (__gnu_test::nonexistent_path): Use static counter to return a different path on every call. Modified: branches/gcc-6-branch/libstdc++-v3/ChangeLog branches/gcc-6-branch/libstdc++-v3/testsuite/util/testsuite_fs.h
Author: redi Date: Thu May 26 17:33:17 2016 New Revision: 236788 URL: https://gcc.gnu.org/viewcvs?rev=236788&root=gcc&view=rev Log: libstdc++/70762 fix fallback implementation of nonexistent_path Backport from mainline 2016-04-24 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/70762 * testsuite/util/testsuite_fs.h (__gnu_test::nonexistent_path): Use static counter to return a different path on every call. Modified: branches/gcc-5-branch/libstdc++-v3/ChangeLog branches/gcc-5-branch/libstdc++-v3/testsuite/util/testsuite_fs.h