Description of problem: .gdb_index is missing from .debug files. In older rpm releases .gdb_index was always generated and someone had to override the find-debuginfo.sh invocation to disable them. Newer rpm have a macro that can be defined or undefined to generate them just like minidebuginfo in the main ELF file (.gnu_debugdata with %_include_minidebuginfo). diff --git a/macros b/macros index fbe3186..1a29b41 100644 --- a/macros +++ b/macros @@ -20,6 +20,7 @@ %_enable_debug_packages 1 %_include_minidebuginfo 1 +%_include_gdb_index 1 #============================================================================== # ---- configure and makeinstall.
See also "Fix default setting of %_debugsource_packages and %_debuginfo_subpackages to not break testsuite" https://bugzilla.redhat.com/show_bug.cgi?id=1476735 Which can probably be fixed at the same time.