GNU Tools Cauldron SFrame talk notes
Florian Weimer
fweimer@redhat.com
Thu Oct 16 08:13:48 GMT 2025
* Fangrui Song:
> The version mix-and-match problem requires a concrete solution—we cannot
> defer it. Concatenation with opt-in indexing is the only viable approach
> that handles all scenarios.
Is this exactly true? What about generating SFrame data in the linker
from the existing DWARF EH data?
This would not work automatically for kernel modules because generating
SFrame data should not be the default for relocatable links. Maybe an
--sframe-index option for ld or objcopy would be acceptable? Kernel
modules do not have the usual post-processing problems because they are
relocatable, and their build is typically controlled by the kernel's
build system.
Thanks,
Florian
More information about the Binutils
mailing list