https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117110
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'm leaning towards reversion of the r15-4290 and partial reversion of r15-4286 (Makefile.in bits and some genmatch.cc bits) and reimplementing whatever libcpp needs in genmatch.cc (diagnostic_cb) or its new helper, so partial copy of pretty-print.cc printf handling with all dependencies on diagnostic/pretty-print removed. Because I'm afraid as I did it, I'm linking the build genmatch with host libcommon.a, and even if it didn't make problems on OSes without proper intl/iconv stuff in libc, I think (though haven't tried) it breaks canadian crosses.