Build failure with rust 1.91 and CONFIG_EXTENDED_MODVERSIONS

From: Justin Forbes

Date: Fri Nov 07 2025 - 15:13:44 EST


It seems that building withe CONFIG_EXTENDED_MODVERSIONS and rust
1.91 gets us to the following error:

error: gendwarfksyms: process_module: dwarf_get_units failed: no
debugging information?
make[2]: *** [rust/Makefile:552: rust/bindings.o] Error 1
make[2]: *** Deleting file 'rust/bindings.o'

Turning off CONFIG_EXTENDED_MODVERSIONS gives us a successful build, even with:
CONFIG_BASIC_MODVERSIONS=y
# CONFIG_EXTENDED_MODVERSIONS is not set
CONFIG_MODVERSIONS=y

Justin