https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825
--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- Following up on commit: 301dec8533460152c4dd61f46c8e9276e169c49a. Indeed m2 shouldn't attempt to generate target libraries when performing make all-gcc. Currently it generates build/gcc/m2/gm2-libs/SYSTSEM.def using the script gcc/m2/tools-src/makeSystem. makeSystem should exec gm2 with -S rather than -c (and other flags) to generate the list of target data types which are textually converted into SYSTEM.def.