https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88386
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- OK, so simply disabling -gsplit-dwarf at link time doesn't work (on trunk). We somehow get undefined references. But I have no time and motivation to dig into this right now. It probably works OK for GCC 7.