https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109121
--- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> --- That looks more a bug in the software you are building. It appears to be using a custom link command that fails to link against libgcc. The errors about the incompatible architecture are due to invalid mixture of object files built with different -march or -mcpu options.