https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- If port maintainers cannot resolve this somehow the workaround for darwin is to force -g0 at LTO link time. Unfortunately darwin doesn't support -gstabs (anymore).