Re: [PATCH v2 4/4] Kbuild: implement support for DWARF v5

2020-12-10 Thread Arvind Sankar
On Thu, Dec 10, 2020 at 03:18:45PM -0800, Nick Desaulniers wrote: > On Fri, Dec 4, 2020 at 9:06 AM Arvind Sankar wrote: > > > > Why? Does this actually cause any problems? > > > > It seems like the options for gcc can actually be very straightforward: > > you just need a cc-option check, and then

Re: [PATCH v2 4/4] Kbuild: implement support for DWARF v5

2020-12-10 Thread Nick Desaulniers
On Fri, Dec 4, 2020 at 9:06 AM Arvind Sankar wrote: > > On Thu, Dec 03, 2020 at 03:28:14PM -0800, Nick Desaulniers wrote: > > On Thu, Dec 3, 2020 at 3:22 PM Nick Desaulniers > > wrote: > > > > > > On Tue, Nov 24, 2020 at 9:28 AM Arvind Sankar > > > wrote: > > > > > > > > On Tue, Nov 03, 2020

Re: [PATCH v2 4/4] Kbuild: implement support for DWARF v5

2020-12-04 Thread Arvind Sankar
On Thu, Dec 03, 2020 at 03:28:14PM -0800, Nick Desaulniers wrote: > On Thu, Dec 3, 2020 at 3:22 PM Nick Desaulniers > wrote: > > > > On Tue, Nov 24, 2020 at 9:28 AM Arvind Sankar wrote: > > > > > > On Tue, Nov 03, 2020 at 04:53:43PM -0800, Nick Desaulniers wrote: > > > > DWARF v5 is the latest

Re: [PATCH v2 4/4] Kbuild: implement support for DWARF v5

2020-12-03 Thread Nick Desaulniers
On Thu, Dec 3, 2020 at 3:22 PM Nick Desaulniers wrote: > > On Tue, Nov 24, 2020 at 9:28 AM Arvind Sankar wrote: > > > > On Tue, Nov 03, 2020 at 04:53:43PM -0800, Nick Desaulniers wrote: > > > DWARF v5 is the latest standard of the DWARF debug info format. > > > > > > Feature detection of DWARF5

Re: [PATCH v2 4/4] Kbuild: implement support for DWARF v5

2020-12-03 Thread Nick Desaulniers
On Tue, Nov 24, 2020 at 9:28 AM Arvind Sankar wrote: > > On Tue, Nov 03, 2020 at 04:53:43PM -0800, Nick Desaulniers wrote: > > DWARF v5 is the latest standard of the DWARF debug info format. > > > > Feature detection of DWARF5 is onerous, especially given that we've > > removed $(AS), so we must

Re: [PATCH v2 4/4] Kbuild: implement support for DWARF v5

2020-11-30 Thread Masahiro Yamada
On Wed, Nov 4, 2020 at 9:54 AM Nick Desaulniers wrote: > > DWARF v5 is the latest standard of the DWARF debug info format. > > Feature detection of DWARF5 is onerous, especially given that we've > removed $(AS), so we must query $(CC) for DWARF5 assembler directive > support. GNU `as` only

Re: [PATCH v2 4/4] Kbuild: implement support for DWARF v5

2020-11-24 Thread Arvind Sankar
On Tue, Nov 03, 2020 at 04:53:43PM -0800, Nick Desaulniers wrote: > DWARF v5 is the latest standard of the DWARF debug info format. > > Feature detection of DWARF5 is onerous, especially given that we've > removed $(AS), so we must query $(CC) for DWARF5 assembler directive > support. GNU `as`

[PATCH v2 4/4] Kbuild: implement support for DWARF v5

2020-11-03 Thread Nick Desaulniers
DWARF v5 is the latest standard of the DWARF debug info format. Feature detection of DWARF5 is onerous, especially given that we've removed $(AS), so we must query $(CC) for DWARF5 assembler directive support. GNU `as` only recently gained support for specifying -gdwarf-5. The DWARF version of