Skip to contentSkip to conversation

Apply 0a6de78cff60 to 5.15+

DISCUSSION Nathan Chancellor 2 participants 2 messages Oct 17, 2022 – Oct 18, 2022 Stable branch

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 12 lines · Nathan Chancellor

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.

Quoted 5 lines

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.

All now queued up, thanks.

greg k-h