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 - build new libbpf with latest fixes
Summary: build new libbpf with latest fixes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libbpf
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.2
Assignee: Jiri Olsa
QA Contact: Jean-Tsung Hsiao
URL:
Whiteboard:
Depends On:
Blocks: 1710951 1846820 1919345
TreeView+ depends on / blocked
 
Reported: 2020-03-04 07:17 UTC by Jiri Olsa
Modified: 2022-05-02 00:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1846820 (view as bug list)
Environment:
Last Closed: 2020-04-28 17:01:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-38694 0 None None None 2022-05-02 00:02:26 UTC
Red Hat Product Errata RHBA-2020:1894 0 None None None 2020-04-28 17:01:16 UTC

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


Note You need to log in before you can comment on or make changes to this bug.