Bug 11761 - Building custom kernel 5.1-rc3 or later breaks on tools/objtool
Summary: Building custom kernel 5.1-rc3 or later breaks on tools/objtool
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2018.11.2
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: Yann E. MORIN
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-08 16:12 UTC by Janusz Krzysztofik
Modified: 2019-04-13 15:13 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz Krzysztofik 2019-04-08 16:12:35 UTC
The issue is related to kernel commit 056d28d135bca0b1d0908990338e00e9dadaf057 ("objtool: Query pkg-config for libelf location").  Reverting that change resolves the issue for me.  Maybe it's too early for a bug report but that must be resolved on buildroot side sooner or later, I believe.
Comment 1 Yann E. MORIN 2019-04-08 19:24:33 UTC
(In reply to Janusz Krzysztofik from comment #0)
There's already a thread on the list about this issue:
    http://lists.busybox.net/pipermail/buildroot/2019-April/246871.html

Please keep an eye on it and report there if it fixes the issue for you.
Comment 2 Arnout Vandecappelle 2019-04-13 15:13:32 UTC
Fixed by commit 615e2edc2ae8351519448d1965f0c4eec4e793b1. Please reopen if that doesn't fix it for you.