Bug 16358 - build-id difficulties with hand-built kernels
Summary: build-id difficulties with hand-built kernels
Status: RESOLVED WORKSFORME
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-20 19:10 UTC by Frank Ch. Eigler
Modified: 2020-10-06 00:19 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2013-12-20 19:10:12 UTC
Something's changed recently in stap / toolchain / kernel-land, which
is making the vmlinux.id file (a fedora rpm peculiarity) more needed
than before.  We're getting build-id verification errors and/or missing
build-id/debuginfo warnings when using a handbuilt kernel / -r /PATH/.
Comment 1 Mark Wielaard 2013-12-20 23:07:30 UTC
Proposed elfutils patch:
https://lists.fedorahosted.org/pipermail/elfutils-devel/2013-December/003645.html
Comment 2 Mark Wielaard 2013-12-21 16:13:41 UTC
Pushed:

commit 641a4f62f1f1940540f1202c1e1aa5ce8c508234
Author: Mark Wielaard <mjw@redhat.com>
Date:   Sat Dec 21 00:04:21 2013 +0100

    libdwfl: Correct nested asprintf result check in report_kernel_archive.
    
    Because of wrongly placed parens the result of only one asprintf call
    was checked correctly. Causing dwfl_linux_kernel_report_offline to return
    ENOMEM. Rewrite nested if unlikely check into separate if statements to
    make clear what is actually being checked and what the actual unlikely
    condition is.
    
    Reported against systemtap "build-id difficulties with hand-built kernels"
    https://sourceware.org/bugzilla/show_bug.cgi?id=16358
    
    Reported-by: Crestez Dan Leonard <lcrestez@ixiacom.com>
    Signed-off-by: Mark Wielaard <mjw@redhat.com>

https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=641a4f62f1f1940540f1202c1e1aa5ce8c508234
Comment 3 Frank Ch. Eigler 2020-10-06 00:19:09 UTC
no recent recurrence