https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83279
--- Comment #3 from T B <ta12ba34 at gmail dot com> --- I recompiled the GCC 7.2.0 with this configuration: --enable-threads=posix --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --enable-checking=release --enable-languages=c,c++ --program-suffix=-7.2 --disable-multilib --enable-c99 --enable-libstdcxx-filesystem-ts But it does not have any effect. It seems that the libstdc++fs is corrupted. If I replace the libstdc++fs.a file with the lib-file of GCC 5.4 it works fine. Any ideas?