https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
--- Comment #52 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Jonathan, Would the patch in comment 42 be acceptable? I'm suggesting it as an interim fix, limited to the known affected build triplets while get somehow get Apple to fix the APFS issue, so that GCC builds out of the box for macOS users. I confirm that it fixes the problem on darwin. Index: configure.ac =================================================================== --- configure.ac (revision 257657) +++ configure.ac (working copy) @@ -473,6 +473,12 @@ AM_CONDITIONAL(BUILD_PDF, test $ac_cv_prog_DBLATEX = "yes" && test $ac_cv_prog_PDFLATEX = "yes") +case "$build" in + *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;; + * ) glibcxx_include_dir_notparallel=no ;; +esac +AM_CONDITIONAL(INCLUDE_DIR_NOTPARALLEL, + test $glibcxx_include_dir_notparallel = "yes") # Propagate the target-specific source directories through the build chain. ATOMICITY_SRCDIR=config/${atomicity_dir} Index: include/Makefile.am =================================================================== --- include/Makefile.am (revision 257657) +++ include/Makefile.am (working copy) @@ -1479,3 +1479,7 @@ $(decimal_headers): ; @: $(ext_headers): ; @: $(experimental_headers): ; @: $(experimental_bits_headers): ; @: +if INCLUDE_DIR_NOTPARALLEL +# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 +.NOTPARALLEL: +endif