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 C55D4A0524; Tue, 13 Apr 2021 15:45:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D18B160FB1; Tue, 13 Apr 2021 15:45:27 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 042F8160FAD for ; Tue, 13 Apr 2021 15:45:25 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id BDCC3A0562; Tue, 13 Apr 2021 15:45:25 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 13 Apr 2021 13:45:25 +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 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 673] 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=3D673 Bug ID: 673 Summary: build failures on Fedora 35 with gcc 11 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- There are 2 build failures with gcc 11.0.1 on Fedora 35 (Rawhide). One with buildtype=3Ddebugoptimized: """ $ meson --werror --buildtype=3Ddebugoptimized build && ninja -C build ... ... [208/2632] Compiling C object lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o FAILED: lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o ccache cc -Ilib/librte_acl/libavx512_tmp.a.p -Ilib/librte_acl -I../lib/librte_acl -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -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 -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 -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -mavx512f -mavx512vl -mavx512cd -mavx512bw -MD -MQ lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o -MF lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o.d -o lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o -c ../lib/librte_acl/acl_run_avx512.c In file included from ../lib/librte_acl/acl_run_avx512.c:110: In function 'start_flow_avx512x8', inlined from 'search_trie_avx512x8.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:317:2: ../lib/librte_acl/acl_run_avx512x8.h:33:25: error: 'pdata' is used uninitialized [-Werror=3Duninitialized] 33 | #define _M_I_(x) _mm256_##x ../lib/librte_acl/acl_run_avx512_common.h:210:20: note: in expansion of mac= ro '_M_I_' 210 | pdata[0] =3D _M_I_(mask_expand_epi64)(pdata[0], m[0], nd[0]= ); | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512x8.h:201, from ../lib/librte_acl/acl_run_avx512.c:110: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x8.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:39: note: 'pdata' declared he= re 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512.c:110: In function 'start_flow_avx512x8', inlined from 'search_trie_avx512x8.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:317:2: ../lib/librte_acl/acl_run_avx512x8.h:33:25: error: 'idx' is used uninitiali= zed [-Werror=3Duninitialized] 33 | #define _M_I_(x) _mm256_##x ../lib/librte_acl/acl_run_avx512_common.h:214:16: note: in expansion of mac= ro '_M_I_' 214 | *idx =3D _M_I_(mask_expand_epi32)(*idx, msk, ni); | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512x8.h:201, from ../lib/librte_acl/acl_run_avx512.c:110: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x8.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:24: note: 'idx' declared here 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~~ In file included from ../lib/librte_acl/acl_run_avx512.c:110: In function 'start_flow_avx512x8', inlined from 'search_trie_avx512x8.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:317:2: ../lib/librte_acl/acl_run_avx512x8.h:33:25: error: 'di' is used uninitializ= ed [-Werror=3Duninitialized] 33 | #define _M_I_(x) _mm256_##x ../lib/librte_acl/acl_run_avx512_common.h:215:15: note: in expansion of mac= ro '_M_I_' 215 | *di =3D _M_I_(maskz_mov_epi32)(msk ^ _SIMD_MASK_MAX_, *di); | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512x8.h:201, from ../lib/librte_acl/acl_run_avx512.c:110: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x8.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:17: note: 'di' declared here 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~ In file included from ../lib/librte_acl/acl_run_avx512.c:110: In function 'first_trans_avx512x8', inlined from 'search_trie_avx512x8.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:327:2: ../lib/librte_acl/acl_run_avx512x8.h:39:25: error: 'tr_lo' is used uninitialized [-Werror=3Duninitialized] 39 | #define _M_MGI_(x) _mm256_m##x ../lib/librte_acl/acl_run_avx512_common.h:120:18: note: in expansion of mac= ro '_M_MGI_' 120 | *tr_lo =3D _M_MGI_(mask_i32gather_epi32)(*tr_lo, msk, addr,= tr, | ^~~~~~~ In file included from ../lib/librte_acl/acl_run_avx512x8.h:201, from ../lib/librte_acl/acl_run_avx512.c:110: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x8.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:49: note: 'tr_lo' declared he= re 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512.c:110: In function 'first_trans_avx512x8', inlined from 'search_trie_avx512x8.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:327:2: ../lib/librte_acl/acl_run_avx512x8.h:39:25: error: 'tr_hi' is used uninitialized [-Werror=3Duninitialized] 39 | #define _M_MGI_(x) _mm256_m##x ../lib/librte_acl/acl_run_avx512_common.h:124:18: note: in expansion of mac= ro '_M_MGI_' 124 | *tr_hi =3D _M_MGI_(mask_i32gather_epi32)(*tr_hi, msk, addr,= (tr + 1), | ^~~~~~~ In file included from ../lib/librte_acl/acl_run_avx512x8.h:201, from ../lib/librte_acl/acl_run_avx512.c:110: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x8.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:59: note: 'tr_hi' declared he= re 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512.c:137: In function 'start_flow_avx512x16', inlined from 'search_trie_avx512x16.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:317:2: ../lib/librte_acl/acl_run_avx512x16.h:33:25: error: 'pdata' is used uninitialized [-Werror=3Duninitialized] 33 | #define _M_I_(x) _mm512_##x ../lib/librte_acl/acl_run_avx512_common.h:210:20: note: in expansion of mac= ro '_M_I_' 210 | pdata[0] =3D _M_I_(mask_expand_epi64)(pdata[0], m[0], nd[0]= ); | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512x16.h:286, from ../lib/librte_acl/acl_run_avx512.c:137: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x16.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:39: note: 'pdata' declared he= re 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512.c:137: In function 'start_flow_avx512x16', inlined from 'search_trie_avx512x16.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:317:2: ../lib/librte_acl/acl_run_avx512x16.h:33:25: error: 'idx' is used uninitial= ized [-Werror=3Duninitialized] 33 | #define _M_I_(x) _mm512_##x ../lib/librte_acl/acl_run_avx512_common.h:214:16: note: in expansion of mac= ro '_M_I_' 214 | *idx =3D _M_I_(mask_expand_epi32)(*idx, msk, ni); | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512x16.h:286, from ../lib/librte_acl/acl_run_avx512.c:137: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x16.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:24: note: 'idx' declared here 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~~ In file included from ../lib/librte_acl/acl_run_avx512.c:137: In function 'start_flow_avx512x16', inlined from 'search_trie_avx512x16.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:317:2: ../lib/librte_acl/acl_run_avx512x16.h:33:25: error: 'di' is used uninitiali= zed [-Werror=3Duninitialized] 33 | #define _M_I_(x) _mm512_##x ../lib/librte_acl/acl_run_avx512_common.h:215:15: note: in expansion of mac= ro '_M_I_' 215 | *di =3D _M_I_(maskz_mov_epi32)(msk ^ _SIMD_MASK_MAX_, *di); | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512x16.h:286, from ../lib/librte_acl/acl_run_avx512.c:137: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x16.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:17: note: 'di' declared here 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~ In file included from ../lib/librte_acl/acl_run_avx512.c:137: In function 'first_trans_avx512x16', inlined from 'search_trie_avx512x16.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:327:2: ../lib/librte_acl/acl_run_avx512x16.h:39:25: error: 'tr_lo' is used uninitialized [-Werror=3Duninitialized] 39 | #define _M_MGI_(x) _mm512_##x ../lib/librte_acl/acl_run_avx512_common.h:120:18: note: in expansion of mac= ro '_M_MGI_' 120 | *tr_lo =3D _M_MGI_(mask_i32gather_epi32)(*tr_lo, msk, addr,= tr, | ^~~~~~~ In file included from ../lib/librte_acl/acl_run_avx512x16.h:286, from ../lib/librte_acl/acl_run_avx512.c:137: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x16.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:49: note: 'tr_lo' declared he= re 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~~~~ In file included from ../lib/librte_acl/acl_run_avx512.c:137: In function 'first_trans_avx512x16', inlined from 'search_trie_avx512x16.constprop' at ../lib/librte_acl/acl_run_avx512_common.h:327:2: ../lib/librte_acl/acl_run_avx512x16.h:39:25: error: 'tr_hi' is used uninitialized [-Werror=3Duninitialized] 39 | #define _M_MGI_(x) _mm512_##x ../lib/librte_acl/acl_run_avx512_common.h:124:18: note: in expansion of mac= ro '_M_MGI_' 124 | *tr_hi =3D _M_MGI_(mask_i32gather_epi32)(*tr_hi, msk, addr,= (tr + 1), | ^~~~~~~ In file included from ../lib/librte_acl/acl_run_avx512x16.h:286, from ../lib/librte_acl/acl_run_avx512.c:137: ../lib/librte_acl/acl_run_avx512_common.h: In function 'search_trie_avx512x16.constprop': ../lib/librte_acl/acl_run_avx512_common.h:314:59: note: 'tr_hi' declared he= re 314 | _T_simd di[2], idx[2], in[2], pdata[4], tr_lo[2], tr_hi[2]; | ^~~~~ cc1: all warnings being treated as errors [241/2632] Compiling C object lib/librte_eventdev.a.p/librte_eventdev_rte_event_eth_rx_adapter.c.o ninja: build stopped: subcommand failed. """ And another with buildtype=3Drelease: """ $ meson --werror --buildtype=3Drelease build && ninja -C build ... ... ccache cc -Ilib/librte_table.a.p -Ilib -I../lib -Ilib/librte_table -I../lib/librte_table -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -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_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_port -I../lib/librte_port -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_me= ter -I../lib/librte_meter -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_lpm -I../lib/librte_lpm -Ilib/librte_acl -I../lib/librte_acl -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid= -pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -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 -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o -MF lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o.d -o lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o -c ../lib/librte_table/rte_swx_table_wm.c ../lib/librte_table/rte_swx_table_wm.c: In function 'acl_table_create': ../lib/librte_table/rte_swx_table_wm.c:64:14: error: array subscript 'uint6= 4_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned char[7]' [-Werror=3Darray-bounds] 64 | *tsc =3D rte_get_tsc_cycles(); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_table/rte_swx_table_wm.c:59:16: note: referencing an object of size 7 allocated by 'calloc' 59 | name =3D calloc(7, 1); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [437/2632] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o ninja: build stopped: subcommand failed. """ --=20 You are receiving this mail because: You are the assignee for the bug.=