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 228E0A0544; Mon, 20 Jun 2022 08:10:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F092427F4; Mon, 20 Jun 2022 08:10:44 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 95348427F4 for ; Mon, 20 Jun 2022 08:10:43 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 80323A0545; Mon, 20 Jun 2022 08:10:43 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1039] [dpdk 22.07-rc0] drivers/vdpa/ifc meson build failed with gcc12.1.1 on Fedora36/64 Date: Mon, 20 Jun 2022 06:10:42 +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: normal 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=3D1039 Bug ID: 1039 Summary: [dpdk 22.07-rc0] drivers/vdpa/ifc meson build failed with gcc12.1.1 on Fedora36/64 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: daxuex.gao@intel.com Target Milestone: --- [dpdk version] dpdk 22.07-rc1 commit b38db1bfb930fa27cfbc36db227b56c1c1613164 (HEAD -> main, origin/main, origin/HEAD) Author: Tomasz Duszynski Date: Sat Jun 4 18:31:57 2022 +0200 common/cnxk: allow building for generic arm64 Allow building generic arm64 target using config/arm/arm64_armv8_linux_* config which works on both cn9k and cn10k by relaxing cache line size requirements a bit. While at it move cache line checks to common place. Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob [Bad commit] This is a problem on a new os, no problem on fedora35 [OS version] Fedora Linux 36/5.17.7-300.fc36.x86_64 GCC12.1.1 [Test setup] git pw series apply 23389 --exclude=3Ddoc/** git pw series apply 23424 --exclude=3Ddoc/** git pw series apply 23574 --exclude=3Ddoc/** git pw series apply 23613 --exclude=3Ddoc/** meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples=3Dall --default-library=3Dstatic gcc-linux-app=20 ninja -C gcc-linux-app [log] [2507/3588] Compiling C object drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o FAILED: drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o cc -Idrivers/libtmp_rte_vdpa_ifc.a.p -Idrivers -I../drivers -Idrivers/vdpa/= ifc -I../drivers/vdpa/ifc -I../drivers/vdpa/ifc/base -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I.. -Iconfig -I../conf= ig -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/pci -I../lib/pci -Ilib/vhost -I../lib/vhost -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/dmadev -I../lib/dmadev -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=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-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.vdpa.ifc -MD -MQ drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o -MF drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o.d -o drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o -c ../drivers/vdpa/ifc/ifcvf_vdpa.c ../drivers/vdpa/ifc/ifcvf_vdpa.c: In function =E2=80=98vdpa_enable_vfio_int= r=E2=80=99: ../drivers/vdpa/ifc/ifcvf_vdpa.c:424:62: error: writing 4 bytes into a regi= on of size 0 [-Werror=3Dstringop-overflow=3D] 424 | fd_ptr[RTE_INTR_VEC_RXTX_OFFSET + i] =3D fd; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ../drivers/vdpa/ifc/ifcvf_vdpa.c:382:14: note: at offset 32 into destination object =E2=80=98irq_set_buf=E2=80=99 of size 32 382 | char irq_set_buf[MSIX_IRQ_SET_BUF_LEN]; | ^~~~~~~~~~~ cc1: all warnings being treated as errors [2516/3588] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o ninja: build stopped: subcommand failed. --=20 You are receiving this mail because: You are the assignee for the bug.=