Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1809913

Summary: build new libbpf with latest fixes
Product: Red Hat Enterprise Linux 8 Reporter: Jiri Olsa <jolsa>
Component: libbpfAssignee: Jiri Olsa <jolsa>
Status: CLOSED ERRATA QA Contact: Jean-Tsung Hsiao <jhsiao>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: jhsiao, jmarchan, jshortt, skozina
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1846820 (view as bug list) Environment:
Last Closed: 2020-04-28 17:01:12 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:
Bug Depends On:    
Bug Blocks: 1710951, 1846820, 1919345    

Description Jiri Olsa 2020-03-04 07:17:35 UTC
build new libbpf with latest fixes for BZ 1802507

Comment 2 Jiri Olsa 2020-03-04 09:46:14 UTC
Jean-Tsung Hsiao, could I get a qa_ack?

thanks,
jirka

Comment 10 Jean-Tsung Hsiao 2020-03-09 15:08:27 UTC
Hi Jiri,
I am assuming libbpf-0.0.4-5.el8.x86_64 is the latest package to be verified.
But, libbpf-devel is missing.
Please advise.
Thanks!
Jean

Comment 11 Jiri Olsa 2020-03-09 16:14:41 UTC
(In reply to Jean-Tsung Hsiao from comment #10)
> Hi Jiri,
> I am assuming libbpf-0.0.4-5.el8.x86_64 is the latest package to be verified.
> But, libbpf-devel is missing.
> Please advise.
> Thanks!
> Jean

hum, I can see devel build in https://errata.devel.redhat.com/advisory/49320/builds

jirka

Comment 12 Jean-Tsung Hsiao 2020-03-09 17:25:59 UTC
(In reply to Jiri Olsa from comment #11)
> (In reply to Jean-Tsung Hsiao from comment #10)
> > Hi Jiri,
> > I am assuming libbpf-0.0.4-5.el8.x86_64 is the latest package to be verified.
> > But, libbpf-devel is missing.
> > Please advise.
> > Thanks!
> > Jean
> 
> hum, I can see devel build in
> https://errata.devel.redhat.com/advisory/49320/builds
> 
> jirka

Got it. It's in CRB.

Comment 13 Jean-Tsung Hsiao 2020-03-09 17:30:10 UTC
Ran make on xdp-tools successfully using the latest libbpf.

[root@netqe24 xdp-tools-0.0.2]# ./configure 
libbpf support: system
[root@netqe24 xdp-tools-0.0.2]# make clean
[root@netqe24 xdp-tools-0.0.2]# make

lib

  util
    CC       params.o
    CC       logging.o
    CC       util.o
In function ‘bpf_find_mntpt_single.constprop’,
    inlined from ‘bpf_find_mntpt.constprop’ at util.c:552:8,
    inlined from ‘bpf_get_work_dir’ at util.c:611:8,
    inlined from ‘get_bpf_root_dir’ at util.c:634:12:
util.c:533:3: warning: ‘strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
   strncpy(mnt, mntpt, len);
   ^~~~~~~~~~~~~~~~~~~~~~~~
    CC       stats.o

xdp-filter
    CLANG    xdpfilt_blk_udp.o
    LLC      xdpfilt_blk_udp.o
    CLANG    xdpfilt_blk_tcp.o
    LLC      xdpfilt_blk_tcp.o
    CLANG    xdpfilt_blk_ip.o
    LLC      xdpfilt_blk_ip.o
    CLANG    xdpfilt_blk_eth.o
    LLC      xdpfilt_blk_eth.o
    CLANG    xdpfilt_blk_all.o
    LLC      xdpfilt_blk_all.o
    CLANG    xdpfilt_wht_udp.o
    LLC      xdpfilt_wht_udp.o
    CLANG    xdpfilt_wht_tcp.o
    LLC      xdpfilt_wht_tcp.o
    CLANG    xdpfilt_wht_ip.o
    LLC      xdpfilt_wht_ip.o
    CLANG    xdpfilt_wht_eth.o
    LLC      xdpfilt_wht_eth.o
    CLANG    xdpfilt_wht_all.o
    LLC      xdpfilt_wht_all.o
    CC       xdp-filter
[root@netqe24 xdp-tools-0.0.2]# rpm -q libbpf
libbpf-0.0.4-5.el8.x86_64
[root@netqe24 xdp-tools-0.0.2]# uname -r
4.18.0-185.el8.x86_64
[root@netqe24 xdp-tools-0.0.2]#

Comment 15 errata-xmlrpc 2020-04-28 17:01:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1894