https://bugs.dpdk.org/show_bug.cgi?id=1141
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....@intel.com Target Milestone: --- [DPDK version] commit f99f2e55af7a49a6ee6555a5554847094086017f Author: Christian Ehrhardt <christian.ehrha...@canonical.com> Date: Mon Nov 28 11:46:00 2022 +0100 version: 19.11.14-rc1 Signed-off-by: Christian Ehrhardt <christian.ehrha...@canonical.com> [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=n$/BNX2X_PMD=y/' config/common_base sed -i -e 's/PMD_PCAP=n$/PMD_PCAP=y/' config/common_base sed -i -e 's/IGB_UIO=n$/IGB_UIO=y/' config/common_base sed -i -e 's/PMD_QAT_SYM=n$/PMD_QAT_SYM=y/' config/common_base sed -i -e 's/PMD_OPENSSL=n$/PMD_OPENSSL=y/' config/common_base sed -i -e 's/PMD_ISAL=n$/PMD_ISAL=y/' config/common_base sed -i -e 's/PMD_ZLIB=n$/PMD_ZLIB=y/' config/common_base sed -i -e 's/KNI_KMOD=y$/KNI_KMOD=n/' config/common_base gmake -j10 install T=x86_64-native-bsdapp-clang gmake -j10 install T=x86_64-native-bsdapp-gcc gmake -j10 install T=x86_64-native-bsdapp-gcc+shared gmake -j10 install T=x86_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_misc.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 <command-line>: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_net.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 <command-line>: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_misc.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/Module.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_net.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] Error 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 -- You are receiving this mail because: You are the assignee for the bug.