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 753E4A0548; Mon, 26 Apr 2021 17:37:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5469A4118B; Mon, 26 Apr 2021 17:37:29 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 65F8241110 for ; Mon, 26 Apr 2021 17:37:27 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 4E41FA09E4; Mon, 26 Apr 2021 17:37:27 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Mon, 26 Apr 2021 15:37:27 +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: 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 690] tap build failures 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=3D690 Bug ID: 690 Summary: tap build failures on Fedora 35 with gcc 11 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- """ $ meson --werror --buildtype=3Ddebugoptimized -Ddisable_drivers=3Dnet/ice b= uild && ninja -C build ... ... [1803/2603] Compiling C object drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o FAILED: drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o ccache cc -Idrivers/libtmp_rte_net_tap.a.p -Idrivers -I../drivers -Idrivers/net/tap -I../drivers/net/tap -Idrivers/bus/vdev -I../drivers/bus/= vdev -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/gso -I../lib/gso -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempo= ol -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/= hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_co= nfig.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-secu= rity -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-align= ed -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DTAP_MAX_QUEUES=3D16 -MD -MQ drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o -MF drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o.d -o drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o -c ../drivers/net/tap/tap_flow.c In file included from ../drivers/net/tap/tap_flow.c:13: In function 'rte_jhash_2hashes', inlined from 'rte_jhash' at ../lib/hash/rte_jhash.h:284:2, inlined from 'tap_flow_set_handle' at ../drivers/net/tap/tap_flow.c:1306:12, inlined from 'rss_enable' at ../drivers/net/tap/tap_flow.c:1909:3, inlined from 'priv_flow_process' at ../drivers/net/tap/tap_flow.c:1228:= 11: ../lib/hash/rte_jhash.h:238:9: error: 'flow' may be used uninitialized [-Werror=3Dmaybe-uninitialized] 238 | __rte_jhash_2hashes(key, length, pc, pb, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/tap_flow.c: In function 'priv_flow_process': ../lib/hash/rte_jhash.h:81:1: note: by argument 1 of type 'const void *' to '__rte_jhash_2hashes.constprop' declared here 81 | __rte_jhash_2hashes(const void *key, uint32_t length, uint32_t *pc, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/tap_flow.c:1028:1: note: 'flow' declared here 1028 | priv_flow_process(struct pmd_internals *pmd, | ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/tap/tap_flow.c:13: In function 'rte_jhash_2hashes', inlined from 'rte_jhash' at ../lib/hash/rte_jhash.h:284:2, inlined from 'tap_flow_set_handle' at ../drivers/net/tap/tap_flow.c:1306:12, inlined from 'tap_flow_create' at ../drivers/net/tap/tap_flow.c:1393:2: ../lib/hash/rte_jhash.h:238:9: error: 'flow' may be used uninitialized [-Werror=3Dmaybe-uninitialized] 238 | __rte_jhash_2hashes(key, length, pc, pb, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/tap_flow.c: In function 'tap_flow_create': ../lib/hash/rte_jhash.h:81:1: note: by argument 1 of type 'const void *' to '__rte_jhash_2hashes.constprop' declared here 81 | __rte_jhash_2hashes(const void *key, uint32_t length, uint32_t *pc, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/tap_flow.c:1354:1: note: 'flow' declared here 1354 | tap_flow_create(struct rte_eth_dev *dev, | ^~~~~~~~~~~~~~~ In file included from ../drivers/net/tap/tap_flow.c:13: In function 'rte_jhash_2hashes', inlined from 'rte_jhash' at ../lib/hash/rte_jhash.h:284:2, inlined from 'tap_flow_set_handle' at ../drivers/net/tap/tap_flow.c:1306:12, inlined from 'tap_flow_create' at ../drivers/net/tap/tap_flow.c:1432:3: ../lib/hash/rte_jhash.h:238:9: error: 'flow' may be used uninitialized [-Werror=3Dmaybe-uninitialized] 238 | __rte_jhash_2hashes(key, length, pc, pb, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/tap_flow.c: In function 'tap_flow_create': ../lib/hash/rte_jhash.h:81:1: note: by argument 1 of type 'const void *' to '__rte_jhash_2hashes.constprop' declared here 81 | __rte_jhash_2hashes(const void *key, uint32_t length, uint32_t *pc, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/tap_flow.c:1354:1: note: 'flow' declared here 1354 | tap_flow_create(struct rte_eth_dev *dev, | ^~~~~~~~~~~~~~~ In file included from ../drivers/net/tap/tap_flow.c:13: In function 'rte_jhash_2hashes', inlined from 'rte_jhash' at ../lib/hash/rte_jhash.h:284:2, inlined from 'tap_flow_set_handle' at ../drivers/net/tap/tap_flow.c:1306:12, inlined from 'tap_flow_implicit_create' at ../drivers/net/tap/tap_flow.c:1736:3: ../lib/hash/rte_jhash.h:238:9: error: 'flow' may be used uninitialized [-Werror=3Dmaybe-uninitialized] 238 | __rte_jhash_2hashes(key, length, pc, pb, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/tap_flow.c: In function 'tap_flow_implicit_create': ../lib/hash/rte_jhash.h:81:1: note: by argument 1 of type 'const void *' to '__rte_jhash_2hashes.constprop' declared here 81 | __rte_jhash_2hashes(const void *key, uint32_t length, uint32_t *pc, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/tap_flow.c:1668:5: note: 'flow' declared here 1668 | int tap_flow_implicit_create(struct pmd_internals *pmd, | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1836/2603] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped: subcommand failed. """ 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/ ice/net is disabled in my command due to #678. 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.=