https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64244
--- Comment #12 from janus at gcc dot gnu.org --- (In reply to Ondřej Čertík from comment #11) > So my system (RHEL6) libstdc++ library might be incompatible with the > trunk, but I don't see why gcc couldn't compile. Any ideas how to fix > this? Unfortunately I have no idea. It might possibly help to use --disable-bootstrap or --disable-multilib when configuring (just guessing here). In general, if you have trouble building GCC, you might get help from gcc-h...@gcc.gnu.org (or, for Fortran-related things: fort...@gcc.gnu.org). Note that some people offer nightly builds of the GCC trunk, see https://gcc.gnu.org/wiki/GFortranBinaries.