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 EE51FA0032; Sun, 3 Apr 2022 13:54:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 992444068A; Sun, 3 Apr 2022 13:54:23 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 50A1240041 for ; Sun, 3 Apr 2022 13:54:22 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 32588A00BE; Sun, 3 Apr 2022 13:54:22 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 991] [19.11] net/ena build failure with gcc 12 Date: Sun, 03 Apr 2022 11:54:21 +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: 19.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=3D991 Bug ID: 991 Summary: [19.11] net/ena build failure with gcc 12 Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- """ $ meson --werror -Dc_args=3D'-DRTE_ENABLE_ASSERT' --buildtype=3Ddebug build= && ninja-build -C build [..] FAILED: drivers/libtmp_rte_pmd_ena.a.p/net_ena_ena_ethdev.c.o gcc -Idrivers/libtmp_rte_pmd_ena.a.p -Idrivers -I../../root/dpdk/drivers -Idrivers/net/ena -I../../root/dpdk/drivers/net/ena -I../../root/dpdk/drivers/net/ena/base -I../../root/dpdk/drivers/net/ena/base/ena_defs -Ilib/librte_ethdev -I../../root/dpdk/lib/librte_ethdev -I. -I../../root/dpdk -Iconfig -I../../root/dpdk/config -Ilib/librte_eal/common/include -I../../root/dpdk/lib/librte_eal/common/include -I../../root/dpdk/lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../../root/dpdk/lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../../root/dpdk/lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../../root/dpdk/lib/librte_eal -Ilib/librte_kvargs -I../../root/dpdk/lib/librte_kvargs -Ilib/librte_net -I../../root/dpdk/lib/librte_net -Ilib/librte_mbuf -I../../root/dpdk/lib/librte_mbuf -Ilib/librte_mempool -I../../root/dpdk/lib/librte_mempool -Ilib/librte_ring -I../../root/dpdk/lib/librte_ring -Ilib/librte_meter -I../../root/dpdk/lib/librte_meter -Idrivers/bus/pci -I../../root/dpdk/drivers/bus/pci -I../../root/dpdk/drivers/bus/pci/linux -Ilib/librte_pci -I../../root/dpdk/lib/librte_pci -Idrivers/bus/vdev -I../../root/dpdk/drivers/bus/vdev -Ilib/librte_timer -I../../root/dpdk/lib/librte_timer -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -Werror -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-exte= rns -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-align= ed -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -DRTE_ENABLE_ASSERT -DRTE_LIBRTE_MLX4_DEBUG -DRTE_LIBRTE_MLX5_DEBUG -fPIC -march=3Dnative -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ drivers/libtmp_rte_pmd_ena.a.p/net_ena_ena_ethdev.c.o -MF drivers/libtmp_rte_pmd_ena.a.p/net_ena_ena_ethdev.c.o.d -o drivers/libtmp_rte_pmd_ena.a.p/net_ena_ena_ethdev.c.o -c ../../root/dpdk/drivers/net/ena/ena_ethdev.c ../../root/dpdk/drivers/net/ena/ena_ethdev.c: In function 'ena_rss_reta_que= ry': ../../root/dpdk/drivers/net/ena/ena_ethdev.c:605:66: error: the comparison = will always evaluate as 'false' for the pointer operand in 'reta_conf + 136' must not be NULL [-Werror=3Daddress] 605 | (reta_size > RTE_RETA_GROUP_SIZE && ((reta_conf + 1) = =3D=3D NULL))) | ^~ cc1: all warnings being treated as errors [..] """ OS: Fedora Linux 37 (Rawhide) gcc: 12.0.1 20220308 (Red Hat 12.0.1-0) --=20 You are receiving this mail because: You are the assignee for the bug.=