Bug 2168323

Summary: bpftool missing on i686 architecture
Product: Red Hat Enterprise Linux 9 Reporter: Toke Høiland-Jørgensen <thoiland>
Component: kernelAssignee: Yauheni Kaliuta <ykaliuta>
kernel sub component: BPF QA Contact: Red Hat Kernel QE team <kernel-qe>
Status: CLOSED NOTABUG Docs Contact:
Severity: high    
Priority: unspecified CC: jbenc, jbrouer, skozina, thoiland, ykaliuta
Version: 9.2   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-09 10:14:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Toke Høiland-Jørgensen 2023-02-08 17:37:39 UTC
Description of problem:

The bpftool package is not built on the i686 architecture. This seems to be because bpftool is only built if the kernel selftests are built, and we don't build those on i686 (if I'm reading the kernel.spec file correctly).

With xdp-tools 1.3.0 (which will be in RHEL9.2), we depend on bpftool for building, so this breaks xdp-tools on i686. Also, bpftool is a central component for interacting with BPF, so it should definitely be built on all arches.

Comment 4 Toke Høiland-Jørgensen 2023-02-09 15:36:15 UTC
Hmm, I can work around it in the build config so we keep shipping xdp-tools, but just don't compile the new utilities if bpftool is not available? The existing tools and libxdp itself don't need it...

Comment 9 Toke Høiland-Jørgensen 2023-02-09 17:28:08 UTC
It's only showing x86_64 and aarch64 for xdp-tools for me. But there's some text further down on the page that says "Repos shown are based on your active subscriptions", so I suppose it may just be because I don't have access to those?

But anyway, cool, I'll make sure we keep building what we can for i686, then...