https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
--- Comment #12 from Jack Howarth <howarth.at.gcc at gmail dot com> --- Just to add in things that don't fix these failures, the following doesn't help... --- gcc-7.2.0/libstdc++-v3/include/Makefile.in.orig 2017-09-02 11:00:08.000000000 -0400 +++ gcc-7.2.0/libstdc++-v3/include/Makefile.in 2017-09-02 11:12:38.000000000 -0400 @@ -1887,16 +1887,37 @@ # developer tries to create them via make in the include build # directory. (This is more of an example of how this kind of rule can # be made.) -.PRECIOUS: $(std_headers) $(c_base_headers) $(tr1_headers) $(tr2_headers) +.PRECIOUS: $(std_headers) $(bits_headers) $(c_base_headers) $(tr1_headers) $(tr2_headers) $(decimal_headers) $(ext_headers) $(experimental_headers) - $(experimental_bits_headers) + $(experimental_bits_headers) $(bits_host_headers) $(bits_sup_headers) + $(backward_headers) $(ext_compat_headers) $(ext_host_headers) + $(experimental_filesystem_headers) $(experimental_bits_filesystem_headers) + $(c_compatibility_headers) $(debug_headers) $(parallel_headers) + $(profile_headers) $(profile_impl_headers) $(host_headers) $(thread_host_headers) $(std_headers): ; @: +$(bits_headers): ; @: +$(bits_host_headers): ; @: +$(bits_sup_headers): ; @: +$(backward_headers): ; @: $(c_base_headers): ; @: $(tr1_headers): ; @: +$(tr2_headers): ; @: $(decimal_headers): ; @: $(ext_headers): ; @: +$(ext_compat_headers): ; @: +$(ext_host_headers): ; @: $(experimental_headers): ; @: $(experimental_bits_headers): ; @: +$(experimental_filesystem_headers): ; @: +$(experimental_bits_filesystem_headers): ; @: +$(c_compatibility_headers): ; @: +$(debug_headers): ; @: +$(parallel_headers): ; @: +$(profile_headers): ; @: +$(profile_impl_headers): ; @: +$(host_headers): ; @: +$(thread_host_headers): ; @: + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.