https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64499
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The problem is in ASM_FINAL_SPEC in gcc.c: #ifndef ASM_FINAL_SPEC #define ASM_FINAL_SPEC \ "%{gsplit-dwarf: \n\ objcopy --extract-dwo \ %{c:%{o*:%*}%{!o*:%w%b%O}}%{!c:%U%O} \ %b.dwo \n\ objcopy --strip-dwo \ %{c:%{o*:%*}%{!o*:%w%b%O}}%{!c:%U%O} \ }" #endif But this was changed r11-627, so it might have been fixed. I will test this in a bit.