https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto CC| |rguenth at gcc dot gnu.org Component|lto |target --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- This needs a fix similar to how darwin and mingw have fixed this issue, by temporarily disabling debuginfo around asm_lto_{start,end}. Not sure where msdosdjgpp target specific hooks reside. Alternatively libiberty needs simple-object debug object-copy implemented for whatever file format msdosdjgpp uses ([pe]coff?). SVN r258123 might be a recipie to copy. I guess config/i386/djgpp.[ch] is the correct place to add the hooks. If you can produce a patch and verify if it works that would be nice.