https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017
--- Comment #23 from cqwrteur <unlvsur at live dot com> --- (In reply to Jonathan Wakely from comment #22) > *** Bug 101060 has been marked as a duplicate of this bug. *** I can confirm Yujie Yang's patch works. Just add -nostdinc++ to configure and configure.ac in gcc root repository (not in gcc subdirectory nor libstdc++-v3 subdirectory) Yes. So it is very easy to fix.