On 2018-07-23 22:36, Jonathan Wakely wrote: > On Mon, 23 Jul 2018 at 20:57, J.W. Jagersma <jwjagersma@xxxxxxxxx> wrote: >> >> After building and installing gcc 8.1 today, I get the following error >> message when compiling my code with '-flto -ggdb': >> >>> lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections >> not implemented: Invalid argument >> >> I found one bug report describing the same error, which was closed and >> marked as being fixed in 8.1: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 >> >> Should I file a new bug report? > > Yes please, it's the same error but for a different target. Maybe a > fix is needed in gcc/config/djgpp.c as well. I've submitted a report here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651