https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65559
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- Ok, the ld invocation still looks correct. For some reason we don't see the debug output from lto-wrapper or the linker plugin. Ah - it looks for '-v', so can you try with -Wl,-debug -Wl,-v? Debugging the linker-plugin should work by debugging the ld.exe invocation. >From that gdb should be able to follow forks(?)