https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037
--- Comment #8 from Andreas Schwab <sch...@linux-m68k.org> --- /usr/bin/ld is a ppc32 binary, thus cannot load a ppc64 plugin. Either point the build to a ppc64 ld, or use a wrapper script that filters out the -plugin and -plugin-opt options.