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 96D79A04FF; Tue, 17 May 2022 11:35:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51CCF40042; Tue, 17 May 2022 11:35:49 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id D0A6940041 for ; Tue, 17 May 2022 11:35:47 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 8519EA0501; Tue, 17 May 2022 11:35:47 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1011] [dpdk-22.07*] lib/vhost meson build failed with gcc12.1.1 on Fedora36/64 Date: Tue, 17 May 2022 09:35:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: daxuex.gao@intel.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 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 https://bugs.dpdk.org/show_bug.cgi?id=3D1011 Bug ID: 1011 Summary: [dpdk-22.07*] lib/vhost meson build failed with gcc12.1.1 on Fedora36/64 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: major Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: daxuex.gao@intel.com Target Milestone: --- [DPDK Version] dpdk latest code dpdk-next-* and dpdk branch=20=20 [OS version] Fedora Linux 36/5.17.7-300.fc36.x86_64 GCC12.1.1 [Test Setup] # meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples=3Dall --default-library=3Dstatic gcc-linux-app=20 # ninja -C gcc-linux-app [Error log] FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o=20 gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/= ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BI= TS=3D64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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-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 -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=3Dlib.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:46, from ../lib/mbuf/rte_mbuf.h:38, from ../lib/vhost/vhost_crypto.c:7: In function =E2=80=98_mm256_storeu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:320:2, inlined from =E2=80=98rte_mov128=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:343:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:438:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98copy_data=E2=80=99 at ../lib/vhost/vhost_crypto.c= :588:2, inlined from =E2=80=98vhost_crypto_process_one_req=E2=80=99 at ../lib/vhost/vhost_crypto.c:1256:6, inlined from =E2=80=98rte_vhost_crypto_fetch_requests=E2=80=99 at ../lib/vhost/vhost_crypto.c:1656:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript =E2=80=98__m256i_u[2]=E2=80=99 is partly outside array bounds of = =E2=80=98struct virtio_crypto_op_data_req[1]=E2=80=99 [-Werror=3Darray-bounds] 935 | *__P =3D __A; | ~~~~~^~~~~ ../lib/vhost/vhost_crypto.c: In function =E2=80=98rte_vhost_crypto_fetch_re= quests=E2=80=99: ../lib/vhost/vhost_crypto.c:1178:42: note: at offset 64 into object =E2=80= =98req=E2=80=99 of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ In function =E2=80=98_mm256_storeu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:320:2, inlined from =E2=80=98rte_mov128=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:344:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:438:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98copy_data=E2=80=99 at ../lib/vhost/vhost_crypto.c= :588:2, inlined from =E2=80=98vhost_crypto_process_one_req=E2=80=99 at ../lib/vhost/vhost_crypto.c:1256:6, inlined from =E2=80=98rte_vhost_crypto_fetch_requests=E2=80=99 at ../lib/vhost/vhost_crypto.c:1656:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript 3 is outside array bounds of =E2=80=98struct virtio_crypto_op_dat= a_req[1]=E2=80=99 [-Werror=3Darray-bounds] 935 | *__P =3D __A; | ~~~~~^~~~~ ../lib/vhost/vhost_crypto.c: In function =E2=80=98rte_vhost_crypto_fetch_re= quests=E2=80=99: ../lib/vhost/vhost_crypto.c:1178:42: note: at offset 96 into object =E2=80= =98req=E2=80=99 of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ In function =E2=80=98_mm256_storeu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:320:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:450:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98copy_data=E2=80=99 at ../lib/vhost/vhost_crypto.c= :588:2, inlined from =E2=80=98vhost_crypto_process_one_req=E2=80=99 at ../lib/vhost/vhost_crypto.c:1256:6, inlined from =E2=80=98rte_vhost_crypto_fetch_requests=E2=80=99 at ../lib/vhost/vhost_crypto.c:1656:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript =E2=80=98__m256i_u[2]=E2=80=99 is partly outside array bounds of = =E2=80=98void[72]=E2=80=99 [-Werror=3Darray-bounds] 935 | *__P =3D __A; | ~~~~~^~~~~ ../lib/vhost/vhost_crypto.c: In function =E2=80=98rte_vhost_crypto_fetch_re= quests=E2=80=99: ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object = =E2=80=98req=E2=80=99 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 = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [128, 192] into object =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 72] into object = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [128, 192] into object =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object = =E2=80=98req=E2=80=99 of size 72 In function =E2=80=98_mm256_storeu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:320:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:451:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98copy_data=E2=80=99 at ../lib/vhost/vhost_crypto.c= :588:2, inlined from =E2=80=98vhost_crypto_process_one_req=E2=80=99 at ../lib/vhost/vhost_crypto.c:1256:6, inlined from =E2=80=98rte_vhost_crypto_fetch_requests=E2=80=99 at ../lib/vhost/vhost_crypto.c:1656:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript =E2=80=98__m256i_u[2]=E2=80=99 is partly outside array bounds of = =E2=80=98void[72]=E2=80=99 [-Werror=3Darray-bounds] 935 | *__P =3D __A; | ~~~~~^~~~~ ../lib/vhost/vhost_crypto.c: In function =E2=80=98rte_vhost_crypto_fetch_re= quests=E2=80=99: ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object = =E2=80=98req=E2=80=99 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 = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [129, 193] into object =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [2, 72] into object = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [129, 193] into object =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object = =E2=80=98req=E2=80=99 of size 72 In function =E2=80=98_mm256_storeu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:320:2, inlined from =E2=80=98rte_mov128=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:343:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:438:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98copy_data=E2=80=99 at ../lib/vhost/vhost_crypto.c= :588:2, inlined from =E2=80=98vhost_crypto_process_one_req=E2=80=99 at ../lib/vhost/vhost_crypto.c:1256:6, inlined from =E2=80=98rte_vhost_crypto_fetch_requests=E2=80=99 at ../lib/vhost/vhost_crypto.c:1685:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript =E2=80=98__m256i_u[2]=E2=80=99 is partly outside array bounds of = =E2=80=98struct virtio_crypto_op_data_req[1]=E2=80=99 [-Werror=3Darray-bounds] 935 | *__P =3D __A; | ~~~~~^~~~~ ../lib/vhost/vhost_crypto.c: In function =E2=80=98rte_vhost_crypto_fetch_re= quests=E2=80=99: ../lib/vhost/vhost_crypto.c:1178:42: note: at offset 64 into object =E2=80= =98req=E2=80=99 of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ In function =E2=80=98_mm256_storeu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:320:2, inlined from =E2=80=98rte_mov128=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:344:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:438:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98copy_data=E2=80=99 at ../lib/vhost/vhost_crypto.c= :588:2, inlined from =E2=80=98vhost_crypto_process_one_req=E2=80=99 at ../lib/vhost/vhost_crypto.c:1256:6, inlined from =E2=80=98rte_vhost_crypto_fetch_requests=E2=80=99 at ../lib/vhost/vhost_crypto.c:1685:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript 3 is outside array bounds of =E2=80=98struct virtio_crypto_op_dat= a_req[1]=E2=80=99 [-Werror=3Darray-bounds] 935 | *__P =3D __A; | ~~~~~^~~~~ ../lib/vhost/vhost_crypto.c: In function =E2=80=98rte_vhost_crypto_fetch_re= quests=E2=80=99: ../lib/vhost/vhost_crypto.c:1178:42: note: at offset 96 into object =E2=80= =98req=E2=80=99 of size 72 1178 | struct virtio_crypto_op_data_req req; | ^~~ In function =E2=80=98_mm256_storeu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:320:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:450:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98copy_data=E2=80=99 at ../lib/vhost/vhost_crypto.c= :588:2, inlined from =E2=80=98vhost_crypto_process_one_req=E2=80=99 at ../lib/vhost/vhost_crypto.c:1256:6, inlined from =E2=80=98rte_vhost_crypto_fetch_requests=E2=80=99 at ../lib/vhost/vhost_crypto.c:1685:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript =E2=80=98__m256i_u[2]=E2=80=99 is partly outside array bounds of = =E2=80=98void[72]=E2=80=99 [-Werror=3Darray-bounds] 935 | *__P =3D __A; | ~~~~~^~~~~ ../lib/vhost/vhost_crypto.c: In function =E2=80=98rte_vhost_crypto_fetch_re= quests=E2=80=99: ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object = =E2=80=98req=E2=80=99 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 = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [128, 192] into object =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 72] into object = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [128, 192] into object =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [0, 64] into object = =E2=80=98req=E2=80=99 of size 72 In function =E2=80=98_mm256_storeu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:320:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:451:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98copy_data=E2=80=99 at ../lib/vhost/vhost_crypto.c= :588:2, inlined from =E2=80=98vhost_crypto_process_one_req=E2=80=99 at ../lib/vhost/vhost_crypto.c:1256:6, inlined from =E2=80=98rte_vhost_crypto_fetch_requests=E2=80=99 at ../lib/vhost/vhost_crypto.c:1685:8: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: array subscript =E2=80=98__m256i_u[2]=E2=80=99 is partly outside array bounds of = =E2=80=98void[72]=E2=80=99 [-Werror=3Darray-bounds] 935 | *__P =3D __A; | ~~~~~^~~~~ ../lib/vhost/vhost_crypto.c: In function =E2=80=98rte_vhost_crypto_fetch_re= quests=E2=80=99: ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object = =E2=80=98req=E2=80=99 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 = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [129, 193] into object =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [2, 72] into object = =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [129, 193] into object =E2=80=98req=E2=80=99 of size 72 ../lib/vhost/vhost_crypto.c:1178:42: note: at offset [1, 65] into object = =E2=80=98req=E2=80=99 of size 72 cc1: all warnings being treated as errors [670/3545] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_qman_driver.c.o [671/3545] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_fslmc_bus.c.o [672/3545] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_portal_dpaa2_hw_dpbp.c.o [673/3545] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_fslmc_vfio.c.o [674/3545] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_portal_dpaa2_hw_dpci.c.o [675/3545] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_portal_dpaa2_hw_dpio.c.o [676/3545] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_portal_dpaa2_hw_dprc.c.o [677/3545] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_qman.c.o [678/3545] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped: subcommand failed. [Bad commit] I can't find bad commit --=20 You are receiving this mail because: You are the assignee for the bug.=