From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 211F7A00C5; Wed, 8 Dec 2021 10:13:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A87AA410E8; Wed, 8 Dec 2021 10:13:22 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 169FF406FF for ; Wed, 8 Dec 2021 10:13:21 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id E48DEA034C; Wed, 8 Dec 2021 10:13:20 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 896] [20.11.4-rc1] net/af_xdp build failure with gcc 11 on Fedora 35 Date: Wed, 08 Dec 2021 09:13:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alialnu@nvidia.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D896 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=3Ddebugoptimized 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=3Dimplicit-function-declaration] 1065 | ret =3D 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 declarati= on of 'bpf_prog_load' [-Werror=3Dnested-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) --=20 You are receiving this mail because: You are the assignee for the bug.=