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 670F8A0548; Mon, 26 Apr 2021 17:41:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A8B74118B; Mon, 26 Apr 2021 17:41:08 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 0806E41110 for ; Mon, 26 Apr 2021 17:41:06 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id D4231A09E4; Mon, 26 Apr 2021 17:41:06 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Mon, 26 Apr 2021 15:41:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: unspecified 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 Subject: [dpdk-dev] [Bug 691] test-pmd build failure on Fedora 35 with gcc 11 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 Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D691 Bug ID: 691 Summary: test-pmd build failure on Fedora 35 with gcc 11 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- """ $ meson --werror --buildtype=3Ddebugoptimized -Ddisable_drivers=3Dnet/ice,n= et/tap build && ninja -C build ... ... [2584/2587] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o FAILED: app/dpdk-testpmd.p/test-pmd_config.c.o ccache cc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev = -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/cmdline -I../lib/cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/bitratestats -I../lib/bitratestats -Ilib/pdump -I../lib/pdump -Ilib/latencystats -I../lib/latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/schedu= ler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/t= imer -I../lib/timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/bpf -I../lib/bpf -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid= -pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wfor= mat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=3Dnative -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -= MQ app/dpdk-testpmd.p/test-pmd_config.c.o -MF app/dpdk-testpmd.p/test-pmd_config.c.o.d -o app/dpdk-testpmd.p/test-pmd_config.c.o -c ../app/test-pmd/config.c ../app/test-pmd/config.c: In function 'port_action_handle_query': ../app/test-pmd/config.c:1680:51: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1680 | ct->last_window, ct->last_end); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1680:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1680 | ct->last_window, ct->last_end); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1679:64: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1679 | ct->last_index, ct->last_seq, ct->last_ack, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1679:50: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1679 | ct->last_index, ct->last_seq, ct->last_ack, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1679:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1679 | ct->last_index, ct->last_seq, ct->last_ack, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1678:54: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1678 | ct->max_ack_window, ct->retransmission_limit, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1678:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1678 | ct->max_ack_window, ct->retransmission_limit, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1677:52: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1677 | ct->liberal_mode, ct->state, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1677:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1677 | ct->liberal_mode, ct->state, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1676:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1676 | ct->last_direction ? "Original" : "Reply", | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1675:53: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1675 | ct->selective_ack, ct->challenge_ack_passed, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1675:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1675 | ct->selective_ack, ct->challenge_ack_passed, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1674:46: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1674 | ct->enable, ct->live_connection, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1674:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1674 | ct->enable, ct->live_connection, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1672:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1672 | ct->peer_port, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1692:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1692 | ct->original_dir.max_ack); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1691:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1691 | ct->original_dir.max_win, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1690:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1690 | ct->original_dir.reply_end, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1689:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1689 | ct->original_dir.sent_end, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1688:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1688 | ct->original_dir.data_unacked, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1687:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1687 | ct->original_dir.last_ack_seen, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1686:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1686 | ct->original_dir.close_initiated, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1685:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1685 | ct->original_dir.scale, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1702:57: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1702 | ct->reply_dir.max_win, ct->reply_dir.max_ack); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1702:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1702 | ct->reply_dir.max_win, ct->reply_dir.max_ack); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1701:58: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1701 | ct->reply_dir.sent_end, ct->reply_dir.reply_end, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1701:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1701 | ct->reply_dir.sent_end, ct->reply_dir.reply_end, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1700:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1700 | ct->reply_dir.data_unacked, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1699:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1699 | ct->reply_dir.last_ack_seen, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1698:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1698 | ct->reply_dir.close_initiated, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1697:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1= ]' {aka 'long unsigned int[1]'} [-Werror=3Darray-bounds] 1697 | ct->reply_dir.scale, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ cc1: all warnings being treated as errors """ Reproduces on v21.05-rc1. Note: The following patch applied to resolve a build failure in acl: https://patches.dpdk.org/project/dpdk/patch/20210426133519.4777-1-konstanti= n.ananyev@intel.com/ net/ice and net/tap are disabled in my command due to #678 and #690. OS: Fedora release 35 (Rawhide) gcc: 11.0.1 meson: 0.57.1 ninja-build: 1.10.2 --=20 You are receiving this mail because: You are the assignee for the bug.=