[Bug debuginfod/26599] New: eu-readelf -n works on /boot/vmlinuz-* but debuginfod-find doesn't

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Sep 11 10:12:03 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=26599

            Bug ID: 26599
           Summary: eu-readelf -n works on /boot/vmlinuz-*  but
                    debuginfod-find doesn't
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

eu-readelf appears to unwrap the bzImage header on a vmlinuz kernel file, and
can thus extract buildids, but debuginfod-find cannot:

% eu-readelf -n  /lib/modules/5.7.15-200.fc32.x86_64/vmlinuz
[...]
  GNU                   20  GNU_BUILD_ID
    Build ID: 8820b044b7717b53bd9a9795a1fbca152d2fae63

% debuginfod-find debuginfo  /lib/modules/5.7.15-200.fc32.x86_64/vmlinuz  
Cannot extract build-id from /lib/modules/5.7.15-200.fc32.x86_64/vmlinuz:
invalid `Elf' handle


It would be handy to teach debuginfod-find how to use the elfutils entry point
that unwraps bzImage.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list