On Sat, Feb 10, 2018 at 09:26:47AM -0700, Jeff Law wrote: > > I think it makes sense to disable them by default if gas doesn't support > > them with that ability to override the auto detection by a configure > > switch (get the GCC generated ones). The patch looks too heavy for this > > stage and as you say we lack support on the consumer side anyways. We > > can revisit this patch for GCC 9 or simply document the recommendation > > of using gas 2.30 or newer.
> Seems reasonable to me as well. We should have a switch to force gcc generated .debug_line in any case, similarly how we have -fno-dwarf2-cfi-asm. E.g. only the gcc generated .debug_line can do DWARF5 .debug_line right now, gas generated one can't. Jakub