https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66521
--- Comment #5 from Eric Gallager <egall at gwmail dot gwu.edu> --- (In reply to ctice from comment #4) > Created attachment 36082 [details] > Tentative patch to fix this issue. > > I believe the attached patch will fix this problem. I would appreciate it > if Eric would confirm that. > Well, I can confirm that it gets the build past the point of failure that I originally mentioned... now I'm seeing a different failure in libstdc++-v3/src/filesystem/dir.cc though, but I think it's unrelated to this one; I think I had to pass the '--disable-libstdcxx-filesystem-ts' flag to configure last time to get past it... I'll open a new PR about it. (Your patch should be good enough to close this one, though.)