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

Andrew Morton akpm at linux-foundation.org
Sun Oct 16 17:28:15 PDT 2022


On Fri, 14 Oct 2022 13:42:11 -0700 Nathan Chancellor <nathan at kernel.org> 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.




More information about the linux-riscv mailing list