https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65544 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Can you verify if the cross compiler uses a linker-plugin by specifying -fuse-linker-plugin? Without that errors like this are unfortunately expected.