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 8D77FA00C3; Wed, 7 Dec 2022 07:00:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D580410FB; Wed, 7 Dec 2022 07:00:38 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id BB080410D7 for ; Wed, 7 Dec 2022 07:00:36 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id B76D6A00C5; Wed, 7 Dec 2022 07:00:36 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1141] [19.11.14-rc1] kernel/linux/kni make build failed with gcc10.3.0 and clang11.0.1 on Opensuse15.4 Date: Wed, 07 Dec 2022 06:00:36 +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: 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=3D1141 Bug ID: 1141 Summary: [19.11.14-rc1] kernel/linux/kni make build failed with gcc10.3.0 and clang11.0.1 on Opensuse15.4 Product: DPDK Version: 19.11 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] 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] Opensuse15.4-64/5.14.21-150400.22-default GCC Version: 7.5.0 Clang Version: 11.0.1 [Bad commit] This is new os found problem, old os opensuse15.3 not found problem. [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 gmake -j10 install T=3Dx86_64-native-bsdapp-clang gmake -j10 install T=3Dx86_64-native-bsdapp-gcc gmake -j10 install T=3Dx86_64-native-bsdapp-gcc+shared gmake -j10 install T=3Dx86_64-native-bsdapp-gcc+debug [Error log] CC linux/pci.o CC linux/pci_uio.o In file included from /opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_mi= sc.c:21:0: /opt/dpdk-stable/kernel/linux/kni/compat.h:138:0: error: "HAVE_TX_TIMEOUT_TXQUEUE" redefined [-Werror] #define HAVE_TX_TIMEOUT_TXQUEUE :0:0: note: this is the location of the previous definition In file included from /opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_ne= t.c:24:0: /opt/dpdk-stable/kernel/linux/kni/compat.h:138:0: error: "HAVE_TX_TIMEOUT_TXQUEUE" redefined [-Werror] #define HAVE_TX_TIMEOUT_TXQUEUE :0:0: note: this is the location of the previous definition CC linux/vmbus_bus.o CC vdev_params.o cc1: all warnings being treated as errors make[9]: *** [/usr/src/linux-5.14.21-150400.22/scripts/Makefile.build:272: /opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_mi= sc.o] Error 1 make[9]: *** Waiting for unfinished jobs.... CC ifpga_common.o CC qbman/qbman_debug.o MODPOST /opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/Mo= dule.symvers CC linux/pci_vfio.o AR librte_bus_vdev.a INSTALL-LIB librte_bus_vdev.a cc1: all warnings being treated as errors make[9]: *** [/usr/src/linux-5.14.21-150400.22/scripts/Makefile.build:272: /opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_ne= t.o] Error 1 make[8]: *** [/usr/src/linux-5.14.21-150400.22/Makefile:1882: /opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni] Error= 2 make[7]: *** [../../../linux-5.14.21-150400.22/Makefile:220: __sub-make] Er= ror 2 make[6]: *** [/opt/dpdk-stable/mk/rte.module.mk:51: rte_kni.ko] Error 2 make[5]: *** [/opt/dpdk-stable/mk/rte.subdir.mk:37: kni] Error 2 make[5]: *** Waiting for unfinished jobs.... CC pci_params.o CC mc/dpmng.o --=20 You are receiving this mail because: You are the assignee for the bug.=