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 7782AA00C3; Wed, 7 Dec 2022 08:10:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A37F410FB; Wed, 7 Dec 2022 08:10:57 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id E8A3F410D7 for ; Wed, 7 Dec 2022 08:10:55 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id D01D6A00C5; Wed, 7 Dec 2022 08:10:55 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1142] [19.11.14-rc1] kernel/linux/igb_uio make build failed with gcc12 on fedora37&&ubuntu22.10 Date: Wed, 07 Dec 2022 07:10:55 +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: 19.11 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=3D1142 Bug ID: 1142 Summary: [19.11.14-rc1] kernel/linux/igb_uio make build failed with gcc12 on fedora37&&ubuntu22.10 Product: DPDK Version: 19.11 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] commit f99f2e55af7a49a6ee6555a5554847094086017f Author: Christian Ehrhardt Date: Mon Nov 28 11:46:00 2022 +0100 version: 19.11.14-rc1 Signed-off-by: Christian Ehrhardt [OS version] UB22.10-64/5.19.0-21-generic GCC Version: 12.2.0 Fedora37-64/6.0.7-301.fc37.x86_64 GCC Version: 12.2.1=20 [Test Setup] sed -i -e 's/BNX2X_PMD=3Dn$/BNX2X_PMD=3Dy/' config/common_base sed -i -e 's/PMD_PCAP=3Dn$/PMD_PCAP=3Dy/' config/common_base sed -i -e 's/IGB_UIO=3Dn$/IGB_UIO=3Dy/' config/common_base sed -i -e 's/PMD_QAT_SYM=3Dn$/PMD_QAT_SYM=3Dy/' config/common_base sed -i -e 's/PMD_OPENSSL=3Dn$/PMD_OPENSSL=3Dy/' config/common_base sed -i -e 's/PMD_ISAL=3Dn$/PMD_ISAL=3Dy/' config/common_base sed -i -e 's/PMD_ZLIB=3Dn$/PMD_ZLIB=3Dy/' config/common_base sed -i -e 's/KNI_KMOD=3Dy$/KNI_KMOD=3Dn/' config/common_base make -j10 install T=3Dx86_64-native-linuxapp-gcc [Bad commit] commit 9a6f9e34878ae119598c794061f7988215b51732 Author: David Marchand Date: Thu Jun 16 16:46:50 2022 +0200 vhost/crypto: fix build with GCC 12 [ upstream commit 4414bb67010dfec2559af52efe8f479b26d55447 ] GCC 12 raises the following warning: In file included from ../lib/mempool/rte_mempool.h:46, from ../lib/mbuf/rte_mbuf.h:38, from ../lib/vhost/vhost_crypto.c:7: [Error log] =3D=3D Build drivers/common/dpaax CC octeontx_mbox.o CC cpt_pmd_ops_helper.o CC otx2_dev.o CC otx2_irq.o CC otx2_mbox.o CC otx2_common.o CC dpaax_iova_table.o CC dpaa_of.o AR librte_common_octeontx.a CC [M]=20 /opt/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.o CC [M]=20 /opt/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o CC [M] /opt/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_n= et.o INSTALL-LIB librte_common_octeontx.a CC caamflib.o AR librte_common_dpaax.a INSTALL-LIB librte_common_dpaax.a AR librte_common_cpt.a INSTALL-LIB librte_common_cpt.a AR librte_common_octeontx2.a INSTALL-LIB librte_common_octeontx2.a =3D=3D Build drivers/bus /opt/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.c: = In function =E2=80=98igbuio_pci_probe=E2=80=99: /opt/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.c:5= 01:15: error: implicit declaration of function =E2=80=98pci_set_dma_mask=E2=80=99;= did you mean =E2=80=98ipi_send_mask=E2=80=99? [-Werror=3Dimplicit-function-declaration] 501 | err =3D pci_set_dma_mask(dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ | ipi_send_mask =3D=3D Build drivers/bus/dpaa =3D=3D Build drivers/bus/pci =3D=3D Build drivers/bus/fslmc =3D=3D Build drivers/bus/vdev =3D=3D Build drivers/bus/ifpga =3D=3D Build drivers/bus/vmbus /opt/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.c:5= 07:15: error: implicit declaration of function =E2=80=98pci_set_consistent_dma_mas= k=E2=80=99 [-Werror=3Dimplicit-function-declaration] 507 | err =3D pci_set_consistent_dma_mask(dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[8]: *** [scripts/Makefile.build:249: /opt/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.o] Error 1 make[7]: *** [Makefile:1856: /opt/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio] Error 2 make[6]: *** [/opt/dpdk/mk/rte.module.mk:51: igb_uio.ko] Error 2 make[5]: *** [/opt/dpdk/mk/rte.subdir.mk:37: igb_uio] Error 2 make[5]: *** Waiting for unfinished jobs.... SYMLINK-FILE include/rte_bus_vdev.h --=20 You are receiving this mail because: You are the assignee for the bug.=