On 09/24/2015 12:02 PM, David Edelsohn wrote:
> If the assembler and linker pass the sections with the additional numbers 
> through and older DBX doesn't know about the sections, it doesn't matter.

Agreed.  In that case we simply emit the data all the time and let capable
debuggers pick it up.

> If the assembler and linker generate errors, it further
> delays deployment in GCC.

If the assembler generates errors, then surely it's easy to error out at
configure time, printing a note about the service pack.

So, assuming this is true, when configuring for aix7.1,

 * configure --without-dwarf2 disables support for dwarf2 entirely,
   avoiding problems with any missing SP.  Presumably by *not* including
   config/rs6000/aix71.h.

 * configure checks as/ld as required, erroring out if the SP isn't present;
   dwarf2out always emits all of the usual dwarf data.

Sound good?


r~

Reply via email to