Re: [PATCH v2] lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5

From: Andrew Morton
Date: Sun Oct 16 2022 - 20:28:25 EST


On Fri, 14 Oct 2022 13:42:11 -0700 Nathan Chancellor <nathan@xxxxxxxxxx> wrote:

> When building with a RISC-V kernel with DWARF5 debug info using clang
> and the GNU assembler, several instances of the following error appear:
>
> /tmp/vgettimeofday-48aa35.s:2963: Error: non-constant .uleb128 is not supported

hm, which kernels want this?

I could merge it for 6.1, which seems suitable. If we want it
backported into earlier kernels then a Fixes: would be nice, to prevent
it from being ported back further than necessary.