* [Bug 896] [20.11.4-rc1] net/af_xdp build failure with gcc 11 on Fedora 35
@ 2021-12-08 9:13 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-12-08 9:13 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=896
Bug ID: 896
Summary: [20.11.4-rc1] net/af_xdp build failure with gcc 11 on
Fedora 35
Product: DPDK
Version: 20.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: alialnu@nvidia.com
Target Milestone: ---
I can reproduce the following build error on 20.11.4-rc1:
"""
$ meson --werror --buildtype=debugoptimized build && ninja-build -C build
[..]
drivers/net/af_xdp/rte_eth_af_xdp.c: In function 'load_custom_xdp_prog':
drivers/net/af_xdp/rte_eth_af_xdp.c:1065:15: error: implicit declaration of
function 'bpf_prog_load'; did you mean 'bpf_program__load'?
[-Werror=implicit-function-declaration]
1065 | ret = bpf_prog_load(prog_path, BPF_PROG_TYPE_XDP, &obj,
&prog_fd);
| ^~~~~~~~~~~~~
| bpf_program__load
drivers/net/af_xdp/rte_eth_af_xdp.c:1065:15: error: nested extern declaration
of 'bpf_prog_load' [-Werror=nested-externs]
cc1: all warnings being treated as errors
"""
OS: Fedora Linux 35 (Container Image)
gcc: 11.2.1 20210728 (Red Hat 11.2.1-1)
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-08 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-08 9:13 [Bug 896] [20.11.4-rc1] net/af_xdp build failure with gcc 11 on Fedora 35 bugzilla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.