https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751
--- Comment #6 from Zbigniew <zbigniew2011 at gmail dot com> --- Indeed I confirm 'gm2 -fiso coex.mod -o coex' works in case of GCC 14.2.0. Yes, the error message could be a bit more specific, if it's feasible. In case of 12.2.0 there's still an error (below) — but I assume it's exactly what has been fixed in later versions: gm2 -fiso coex.mod -o coex /usr/bin/ld: /tmp/ccGZZwij.a(coex_m2.o): in function `init(int, char**)': coex_m2.cpp:(.text+0xd2): undefined reference to `_M2_CoEx_init' /usr/bin/ld: /tmp/ccGZZwij.a(coex_m2.o): in function `finish()': coex_m2.cpp:(.text+0x100): undefined reference to `_M2_CoEx_finish'