RFC fix kernel build failure for 5.1.0-rc3
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | package/pkgconf: add host link to pkg-configlinux/ linux/ package/ | +19 | 8 replies | |
| 1/1 | linux: use host pkg-config when host libelf is setlinux/ package/ | +14 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Yann E. MORIN |
|---|---|
| 1/1 | R-b |
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Buildroot] [PATCH 0/1] [RFC] fix kernel build failure for 5.1.0-rc3
This is my first time posting here, and I'm looking for feedback. Our team is attempting to build with a kernel revision above 5.1.0-rc3. I noticed in this build, the integration with buildroot is failing. I was able to pinpoint this down to a patch to the kernel which now uses pkg-config to find the libelf package to support non-default paths for libelf.
I was trying to quickly patch buildroot to work around this rather than changing the kernel itself. I noticed that pkgconf in buildroot creates a symbolic link in the target from pkgconf to pkg-config, but not in the host directory. I have a patch which adds this link to the host directory as well, but I quickly noticed this seems to open a can of worms with packages, at least the ones we have enabled in our configuration (graphics focused), down the toolchain now failing dependencies in configuration and build, after attempting to work through a few of the configuration dependency issues.
I wanted to reach out to the community for feedback on the approach I have here, and what might be the best path forward on this. I would prefer not to do a complete overhaul of the buildroot packages which depend on a host-based pkg-config, as I don't have a way to properly test these changes.
Thoughts?
Here's the commit in the kernel:
commit 056d28d135bca0b1d0908990338e00e9dadaf057
Author: Rolf Eike Beer <[email protected]> Date: Tue Mar 26 12:48:39 2019 -0500
objtool: Query pkg-config for libelf location
If it is not in the default location, compilation fails at several points.
Thanks in advance!
Stuart Summers (1):
package/pkgconf: add host link to pkg-config
linux/Config.in | 8 ++++++++ linux/linux.mk | 4 ++++ package/pkgconf/pkgconf.mk | 8 +++++++- 3 files changed, 19 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1