https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66029
--- Comment #9 from JD <t at sharklasers dot com> --- I reconfigured and recompiled binutils 2.25 with the --enable-plugins and --enable-lto flags. But I'm afraid I must be missing something: Linking with the newly compiled ld 2.25 works fine without lto but using it with lto produces undefined reference errors.