Hi Greg and Sasha, Please consider applying the following commits to 5.19 and 6.0: 4f001a21080f ("Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5") bb1435f3f575 ("Kconfig.debug: add toolchain checks for DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT") 0a6de78cff60 ("lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5") The main change is the final one but the second patch is a prerequisite and a useful fix in its own right. The first change allows the second to apply cleanly and it is a good clean up as well. I have verified that they apply cleanly to those trees with 'patch -p1'. Attached is a manual backport for 5.15; the changes should not be necessary for older trees, as they do not have support for DWARF 5. If there are any problems or questions, please let me know. Cheers, Nathan
Attachment:
0a6de78cff60-5.15.mbox
Description: application/mbox