""" $ meson --werror -Denable_docs=true -Ddisable_drivers=*/cnxk build && ninja-build -C build [..] [937/2633] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o gcc -Ilib/librte_vhost.a.p -Ilib -Ilib -Ilib/vhost -Ilib/vhost -I. -I../../root/dpdk -Iconfig -Iconfig -Ilib/eal/include -Ilib/eal/include -Ilib/eal/linux/include -Ilib/eal/linux/include -Ilib/eal/x86/include -Ilib/eal/x86/include -Ilib/eal/common -Ilib/eal/common -Ilib/eal -Ilib/eal -Ilib/kvargs -Ilib/kvargs -Ilib/metrics -Ilib/metrics -Ilib/telemetry -Ilib/telemetry -Ilib/ethdev -Ilib/ethdev -Ilib/net -Ilib/net -Ilib/mbuf -Ilib/mbuf -Ilib/mempool -Ilib/mempool -Ilib/ring -Ilib/ring -Ilib/meter -Ilib/meter -Ilib/cryptodev -Ilib/cryptodev -Ilib/rcu -Ilib/rcu -Ilib/hash -Ilib/hash -Ilib/pci -Ilib/pci -fdiagnostics-color=always -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 -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c lib/vhost/vhost_crypto.c In file included from /usr/lib/gcc/x86_64-redhat-linux/12/include/immintrin.h:43, from /usr/lib/gcc/x86_64-redhat-linux/12/include/x86intrin.h:32, from lib/eal/x86/include/rte_vect.h:31, from lib/eal/x86/include/rte_memcpy.h:17, from lib/mempool/rte_mempool.h:50, from lib/mbuf/rte_mbuf.h:38, from lib/vhost/vhost_crypto.c:7: In function '_mm256_storeu_si256', inlined from 'rte_mov32' at lib/eal/x86/include/rte_memcpy.h:320:2, inlined from 'rte_mov128' at lib/eal/x86/include/rte_memcpy.h:343:2, inlined from 'rte_memcpy_generic' at lib/eal/x86/include/rte_memcpy.h:438:4, inlined from 'rte_memcpy' at lib/eal/x86/include/rte_memcpy.h:882:10, inlined from 'copy_data' at lib/vhost/vhost_crypto.c:588:2, inlined from 'vhost_crypto_process_one_req' at lib/vhost/vhost_crypto.c:1256:6, inlined from 'rte_vhost_crypto_fetch_requests' at lib/vhost/vhost_crypto.c:1658:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript '__m256i_u[2]' is partly outside array bounds of 'struct virtio_crypto_op_data_req[1]' [-Werror=array-bounds] 935 | *__P = __A; | ~~~~~^~~~~ lib/vhost/vhost_crypto.c: In function 'rte_vhost_crypto_fetch_requests': lib/vhost/vhost_crypto.c:1178:42: note: at offset 64 into object 'req' of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ In function '_mm256_storeu_si256', inlined from 'rte_mov32' at lib/eal/x86/include/rte_memcpy.h:320:2, inlined from 'rte_mov128' at lib/eal/x86/include/rte_memcpy.h:344:2, inlined from 'rte_memcpy_generic' at lib/eal/x86/include/rte_memcpy.h:438:4, inlined from 'rte_memcpy' at lib/eal/x86/include/rte_memcpy.h:882:10, inlined from 'copy_data' at lib/vhost/vhost_crypto.c:588:2, inlined from 'vhost_crypto_process_one_req' at lib/vhost/vhost_crypto.c:1256:6, inlined from 'rte_vhost_crypto_fetch_requests' at lib/vhost/vhost_crypto.c:1658:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript 3 is outside array bounds of 'struct virtio_crypto_op_data_req[1]' [-Werror=array-bounds] 935 | *__P = __A; | ~~~~~^~~~~ lib/vhost/vhost_crypto.c: In function 'rte_vhost_crypto_fetch_requests': lib/vhost/vhost_crypto.c:1178:42: note: at offset 96 into object 'req' of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ In function '_mm256_storeu_si256', inlined from 'rte_mov32' at lib/eal/x86/include/rte_memcpy.h:320:2, inlined from 'rte_memcpy_generic' at lib/eal/x86/include/rte_memcpy.h:450:4, inlined from 'rte_memcpy' at lib/eal/x86/include/rte_memcpy.h:882:10, inlined from 'copy_data' at lib/vhost/vhost_crypto.c:588:2, inlined from 'vhost_crypto_process_one_req' at lib/vhost/vhost_crypto.c:1256:6, inlined from 'rte_vhost_crypto_fetch_requests' at lib/vhost/vhost_crypto.c:1658:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript '__m256i_u[2]' is partly outside array bounds of 'void[72]' [-Werror=array-bounds] 935 | *__P = __A; | ~~~~~^~~~~ lib/vhost/vhost_crypto.c: In function 'rte_vhost_crypto_fetch_requests': lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object 'req' of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 72] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [128, 192] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 72] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [128, 192] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object 'req' of size 72 In function '_mm256_storeu_si256', inlined from 'rte_mov32' at lib/eal/x86/include/rte_memcpy.h:320:2, inlined from 'rte_memcpy_generic' at lib/eal/x86/include/rte_memcpy.h:451:4, inlined from 'rte_memcpy' at lib/eal/x86/include/rte_memcpy.h:882:10, inlined from 'copy_data' at lib/vhost/vhost_crypto.c:588:2, inlined from 'vhost_crypto_process_one_req' at lib/vhost/vhost_crypto.c:1256:6, inlined from 'rte_vhost_crypto_fetch_requests' at lib/vhost/vhost_crypto.c:1658:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript '__m256i_u[2]' is partly outside array bounds of 'void[72]' [-Werror=array-bounds] 935 | *__P = __A; | ~~~~~^~~~~ lib/vhost/vhost_crypto.c: In function 'rte_vhost_crypto_fetch_requests': lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object 'req' of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ lib/vhost/vhost_crypto.c:1178:42: note: at offset [2, 72] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [129, 193] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [2, 72] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [129, 193] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object 'req' of size 72 In function '_mm256_storeu_si256', inlined from 'rte_mov32' at lib/eal/x86/include/rte_memcpy.h:320:2, inlined from 'rte_mov128' at lib/eal/x86/include/rte_memcpy.h:343:2, inlined from 'rte_memcpy_generic' at lib/eal/x86/include/rte_memcpy.h:438:4, inlined from 'rte_memcpy' at lib/eal/x86/include/rte_memcpy.h:882:10, inlined from 'copy_data' at lib/vhost/vhost_crypto.c:588:2, inlined from 'vhost_crypto_process_one_req' at lib/vhost/vhost_crypto.c:1256:6, inlined from 'rte_vhost_crypto_fetch_requests' at lib/vhost/vhost_crypto.c:1687:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript '__m256i_u[2]' is partly outside array bounds of 'struct virtio_crypto_op_data_req[1]' [-Werror=array-bounds] 935 | *__P = __A; | ~~~~~^~~~~ lib/vhost/vhost_crypto.c: In function 'rte_vhost_crypto_fetch_requests': lib/vhost/vhost_crypto.c:1178:42: note: at offset 64 into object 'req' of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ In function '_mm256_storeu_si256', inlined from 'rte_mov32' at lib/eal/x86/include/rte_memcpy.h:320:2, inlined from 'rte_mov128' at lib/eal/x86/include/rte_memcpy.h:344:2, inlined from 'rte_memcpy_generic' at lib/eal/x86/include/rte_memcpy.h:438:4, inlined from 'rte_memcpy' at lib/eal/x86/include/rte_memcpy.h:882:10, inlined from 'copy_data' at lib/vhost/vhost_crypto.c:588:2, inlined from 'vhost_crypto_process_one_req' at lib/vhost/vhost_crypto.c:1256:6, inlined from 'rte_vhost_crypto_fetch_requests' at lib/vhost/vhost_crypto.c:1687:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript 3 is outside array bounds of 'struct virtio_crypto_op_data_req[1]' [-Werror=array-bounds] 935 | *__P = __A; | ~~~~~^~~~~ lib/vhost/vhost_crypto.c: In function 'rte_vhost_crypto_fetch_requests': lib/vhost/vhost_crypto.c:1178:42: note: at offset 96 into object 'req' of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ In function '_mm256_storeu_si256', inlined from 'rte_mov32' at lib/eal/x86/include/rte_memcpy.h:320:2, inlined from 'rte_memcpy_generic' at lib/eal/x86/include/rte_memcpy.h:450:4, inlined from 'rte_memcpy' at lib/eal/x86/include/rte_memcpy.h:882:10, inlined from 'copy_data' at lib/vhost/vhost_crypto.c:588:2, inlined from 'vhost_crypto_process_one_req' at lib/vhost/vhost_crypto.c:1256:6, inlined from 'rte_vhost_crypto_fetch_requests' at lib/vhost/vhost_crypto.c:1687:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript '__m256i_u[2]' is partly outside array bounds of 'void[72]' [-Werror=array-bounds] 935 | *__P = __A; | ~~~~~^~~~~ lib/vhost/vhost_crypto.c: In function 'rte_vhost_crypto_fetch_requests': lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object 'req' of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 72] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [128, 192] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 72] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [128, 192] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object 'req' of size 72 In function '_mm256_storeu_si256', inlined from 'rte_mov32' at lib/eal/x86/include/rte_memcpy.h:320:2, inlined from 'rte_memcpy_generic' at lib/eal/x86/include/rte_memcpy.h:451:4, inlined from 'rte_memcpy' at lib/eal/x86/include/rte_memcpy.h:882:10, inlined from 'copy_data' at lib/vhost/vhost_crypto.c:588:2, inlined from 'vhost_crypto_process_one_req' at lib/vhost/vhost_crypto.c:1256:6, inlined from 'rte_vhost_crypto_fetch_requests' at lib/vhost/vhost_crypto.c:1687:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript '__m256i_u[2]' is partly outside array bounds of 'void[72]' [-Werror=array-bounds] 935 | *__P = __A; | ~~~~~^~~~~ lib/vhost/vhost_crypto.c: In function 'rte_vhost_crypto_fetch_requests': lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object 'req' of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ lib/vhost/vhost_crypto.c:1178:42: note: at offset [2, 72] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [129, 193] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [2, 72] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [129, 193] into object 'req' of size 72 lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object 'req' of size 72 cc1: all warnings being treated as errors [970/2633] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output ninja: build stopped: subcommand failed. """ Meson: 0.60.3 OS: Fedora 36 gcc: 12.0.1 20220118 (Red Hat 12.0.1-0)
Possibly a duplicate of https://bugs.dpdk.org/show_bug.cgi?id=751?
(In reply to Ali Alnubani from comment #1) > Possibly a duplicate of https://bugs.dpdk.org/show_bug.cgi?id=751? Seem yes. but these two defects still have no fix....
Same dup: https://bugs.dpdk.org/show_bug.cgi?id=1011
Duplicate of https://bugs.dpdk.org/show_bug.cgi?id=751 *** This bug has been marked as a duplicate of bug 751 ***