https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108119
--- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- Here is a work in progress patch which will by default disable the m2 plugin. The plugin can be enabled via --enable-m2plugin if required. The patch also checks HAVE_PLUGIN and short circuits some of the testsuite regressions. I've only tested it on m2 and amd64 currently and so will proceed to check all languages full bootstrap.