* [dpdk-dev] [Bug 673] build failures on Fedora 35 with gcc 11
@ 2021-04-13 13:45 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-04-13 13:45 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=673
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=debugoptimized:
"""
$ meson --werror --buildtype=debugoptimized 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=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Werror -O2 -g -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=native -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=uninitialized]
33 | #define _M_I_(x) _mm256_##x
../lib/librte_acl/acl_run_avx512_common.h:210:20: note: in expansion of macro
'_M_I_'
210 | pdata[0] = _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 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: 'idx' is used uninitialized
[-Werror=uninitialized]
33 | #define _M_I_(x) _mm256_##x
../lib/librte_acl/acl_run_avx512_common.h:214:16: note: in expansion of macro
'_M_I_'
214 | *idx = _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 uninitialized
[-Werror=uninitialized]
33 | #define _M_I_(x) _mm256_##x
../lib/librte_acl/acl_run_avx512_common.h:215:15: note: in expansion of macro
'_M_I_'
215 | *di = _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=uninitialized]
39 | #define _M_MGI_(x) _mm256_m##x
../lib/librte_acl/acl_run_avx512_common.h:120:18: note: in expansion of macro
'_M_MGI_'
120 | *tr_lo = _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 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_hi' is used
uninitialized [-Werror=uninitialized]
39 | #define _M_MGI_(x) _mm256_m##x
../lib/librte_acl/acl_run_avx512_common.h:124:18: note: in expansion of macro
'_M_MGI_'
124 | *tr_hi = _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 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: 'pdata' is used
uninitialized [-Werror=uninitialized]
33 | #define _M_I_(x) _mm512_##x
../lib/librte_acl/acl_run_avx512_common.h:210:20: note: in expansion of macro
'_M_I_'
210 | pdata[0] = _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 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: 'idx' is used uninitialized
[-Werror=uninitialized]
33 | #define _M_I_(x) _mm512_##x
../lib/librte_acl/acl_run_avx512_common.h:214:16: note: in expansion of macro
'_M_I_'
214 | *idx = _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 uninitialized
[-Werror=uninitialized]
33 | #define _M_I_(x) _mm512_##x
../lib/librte_acl/acl_run_avx512_common.h:215:15: note: in expansion of macro
'_M_I_'
215 | *di = _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=uninitialized]
39 | #define _M_MGI_(x) _mm512_##x
../lib/librte_acl/acl_run_avx512_common.h:120:18: note: in expansion of macro
'_M_MGI_'
120 | *tr_lo = _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 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_hi' is used
uninitialized [-Werror=uninitialized]
39 | #define _M_MGI_(x) _mm512_##x
../lib/librte_acl/acl_run_avx512_common.h:124:18: note: in expansion of macro
'_M_MGI_'
124 | *tr_hi = _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 here
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=release:
"""
$ meson --werror --buildtype=release 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_meter
-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=always -pipe -D_FILE_OFFSET_BITS=64 -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=native -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 'uint64_t
{aka long unsigned int}[0]' is partly outside array bounds of 'unsigned
char[7]' [-Werror=array-bounds]
64 | *tsc = 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 = 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.
"""
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-13 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 13:45 [dpdk-dev] [Bug 673] build failures on Fedora 35 with gcc 11 bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).