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 C1D0EA0548; Wed, 21 Apr 2021 09:36:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B5234199D; Wed, 21 Apr 2021 09:36:08 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 0E3314195D for ; Wed, 21 Apr 2021 09:36:08 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id EA25BA09E4; Wed, 21 Apr 2021 09:36:07 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 21 Apr 2021 07:36:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other 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 cc 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 683] librte_pipeline build failures on CentOS 7 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=3D683 Bug ID: 683 Summary: librte_pipeline build failures on CentOS 7 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com CC: cristian.dumitrescu@intel.com Target Milestone: --- ``` $ meson --werror --buildtype=3Drelease build && ninja-build -C build [555/2604] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline.c.o FAILED: lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline.c.o ccache cc -Ilib/librte_pipeline.a.p -Ilib -I../lib -Ilib/librte_pipeline -I../lib/librte_pipeline -I. -I.. -Iconfig -I../config -Ilib/librte_eal/inc= lude -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_port -I../lib/librte_port -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mb= uf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_m= eter -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte= _rcu -I../lib/librte_rcu -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_kni -I../lib/librte_kni -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_table -I../lib/librte_table -Ilib/librte_l= pm -I../lib/librte_lpm -Ilib/librte_acl -I../lib/librte_acl -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Werror -O3 -include rte_confi= g.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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline.c.o -MF lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline.c.o.d -o lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline.c.o -c ../lib/librte_pipeline/rte_swx_pipeline.c ../lib/librte_pipeline/rte_swx_pipeline.c: In function 'instr_translate': ../lib/librte_pipeline/rte_swx_pipeline.c:4202:30: error: 'src_struct_id' m= ay be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] instr->alu.src.struct_id =3D (uint8_t)src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:4181:26: note: 'src_struct_id' was declared here uint32_t dst_struct_id, src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:4216:29: error: 'dst_struct_id' m= ay be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] instr->alu.dst.struct_id =3D (uint8_t)dst_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:4181:11: note: 'dst_struct_id' was declared here uint32_t dst_struct_id, src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3966:30: error: 'src_struct_id' m= ay be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] instr->alu.src.struct_id =3D (uint8_t)src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3945:26: note: 'src_struct_id' was declared here uint32_t dst_struct_id, src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3980:29: error: 'dst_struct_id' m= ay be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] instr->alu.dst.struct_id =3D (uint8_t)dst_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3945:11: note: 'dst_struct_id' was declared here uint32_t dst_struct_id, src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3913:30: error: 'src_struct_id' m= ay be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] instr->alu.src.struct_id =3D (uint8_t)src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3892:26: note: 'src_struct_id' was declared here uint32_t dst_struct_id, src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3927:29: error: 'dst_struct_id' m= ay be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] instr->alu.dst.struct_id =3D (uint8_t)dst_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3892:11: note: 'dst_struct_id' was declared here uint32_t dst_struct_id, src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3648:30: error: 'src_struct_id' m= ay be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] instr->mov.src.struct_id =3D (uint8_t)src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3627:26: note: 'src_struct_id' was declared here uint32_t dst_struct_id, src_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3662:29: error: 'dst_struct_id' m= ay be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] instr->mov.dst.struct_id =3D (uint8_t)dst_struct_id; ^ ../lib/librte_pipeline/rte_swx_pipeline.c:3627:11: note: 'dst_struct_id' was declared here uint32_t dst_struct_id, src_struct_id; ^ cc1: all warnings being treated as errors [588/2604] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o ninja: build stopped: subcommand failed. ``` OS: CentOS 7.9.2009 gcc: 4.8.5 meson: 0.55.1 ninja-build: 1.10.2 --=20 You are receiving this mail because: You are the assignee for the bug.=