http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55902
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #6 from Kai Tietz <ktietz at gcc dot gnu.org> --- Gold isn't available for pe-coff targets. Gold is ELF only. You might want to check if you have same issues with HJ's *special* ld version. HJ's patched variant never got into upstream (AFAIK), but resolves a lot of such issues. Biggest problem here is mainly that LTO doesn't handle object-files proper in linker. By this crt-objects (startup and co) might cause issues. I learned that in some cases it was helpful to build mingw-w64's startup-libraries with enabled -flto.