Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/112542 _Compilation issues_ Submitter: Andrew Rybchenko Date: 2022-06-08 11:13:59 Reply_mail: <20220608111359.1234110-3-andrew.rybchenko@oktetlabs.ru> DPDK git baseline: Repo:dpdk-next-net, CommitID: 5096c51d17b4ad005ca88bd077340ce6ab014099 Meson Build Summary: 21 Builds Done, 15 Successful, 6 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | | fail | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | fail | | | | | | | | UB2204-64 | fail | fail | | | | fail | fail | | CentOS79-64 | pass | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc *Build Failed #1: OS: FC36-64 Target: x86_64-native-linuxapp-clang FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.17.7-300.fc36.x86_64/build M=/root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni src=/root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -DHAVE_ARG_TX_QUEUE -include /root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/config/rte_config.h -I/root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/lib/eal/include -I/root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/lib/kni -I/root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang -I/root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/kernels/5.17.7-300.fc36.x86_64' CC [M] /root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_misc.o CC [M] /root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o /root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni/kni_net.c: In function ‘kni_net_set_mac’: /root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: error: ‘net_dev’ undeclared (first use in this function); did you mean ‘netdev’? 787 | eth_hw_addr_set(net_dev, addr->sa_data); | ^~~~~~~ | netdev /root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [scripts/Makefile.build:288: /root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1841: /root/FC36-64_K5.14.17_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/kernels/5.17.7-300.fc36.x86_64' ninja: build stopped *Build Failed #2: OS: UB2204-32 Target: i686-native-linuxapp-gcc FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.15.0-25-generic/build M=/root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni src=/root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -include /root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/config/rte_config.h -I/root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/lib/eal/include -I/root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/lib/kni -I/root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/i686-native-linuxapp-gcc -I/root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/linux-headers-5.15.0-25-generic' CC [M] /root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o CC [M] /root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni/kni_net.o /root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni/kni_net.c: In function ‘kni_net_set_mac’: /root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: error: ‘net_dev’ undeclared (first use in this function); did you mean ‘netdev’? 787 | eth_hw_addr_set(net_dev, addr->sa_data); | ^~~~~~~ | netdev /root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [scripts/Makefile.build:285: /root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni/kni_net.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1875: /root/UB2204-32_K5.15.0_GCC10.2.0/i686-native-linuxapp-gcc/23412/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/linux-headers-5.15.0-25-generic' [2391/2391] Linking target examples/dpdk-vhost ninja: build stopped *Build Failed #3: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.15.0-25-generic/build M=/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/x86_64-native-linuxapp-gcc+16byte/kernel/linux/kni src=/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -include /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/config/rte_config.h -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/lib/eal/include -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/lib/kni -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/x86_64-native-linuxapp-gcc+16byte -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/linux-headers-5.15.0-25-generic' CC [M] /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/x86_64-native-linuxapp-gcc+16byte/kernel/linux/kni/kni_misc.o CC [M] /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/x86_64-native-linuxapp-gcc+16byte/kernel/linux/kni/kni_net.o /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/kernel/linux/kni/kni_net.c: In function ‘kni_net_set_mac’: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: error: ‘net_dev’ undeclared (first use in this function); did you mean ‘netdev’? 787 | eth_hw_addr_set(net_dev, addr->sa_data); | ^~~~~~~ | netdev /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [scripts/Makefile.build:285: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/x86_64-native-linuxapp-gcc+16byte/kernel/linux/kni/kni_net.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1875: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc+16byte/23412/dpdk/x86_64-native-linuxapp-gcc+16byte/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/linux-headers-5.15.0-25-generic' ninja: build stopped *Build Failed #4: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.15.0-25-generic/build M=/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni src=/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -include /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/config/rte_config.h -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/lib/eal/include -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/lib/kni -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/x86_64-native-linuxapp-gcc -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/linux-headers-5.15.0-25-generic' CC [M] /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o CC [M] /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni/kni_net.c: In function ‘kni_net_set_mac’: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: error: ‘net_dev’ undeclared (first use in this function); did you mean ‘netdev’? 787 | eth_hw_addr_set(net_dev, addr->sa_data); | ^~~~~~~ | netdev /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [scripts/Makefile.build:285: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1875: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-gcc/23412/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/linux-headers-5.15.0-25-generic' ninja: build stopped *Build Failed #5: OS: UB2204-64 Target: x86_64-native-linuxapp-clang FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.15.0-25-generic/build M=/root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni src=/root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -include /root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/config/rte_config.h -I/root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/lib/eal/include -I/root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/lib/kni -I/root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang -I/root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/linux-headers-5.15.0-25-generic' CC [M] /root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_misc.o CC [M] /root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o /root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni/kni_net.c: In function ‘kni_net_set_mac’: /root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: error: ‘net_dev’ undeclared (first use in this function); did you mean ‘netdev’? 787 | eth_hw_addr_set(net_dev, addr->sa_data); | ^~~~~~~ | netdev /root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [scripts/Makefile.build:285: /root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1875: /root/UB2204-64_K5.15.0_Clang14.0.0/x86_64-native-linuxapp-clang/23412/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/linux-headers-5.15.0-25-generic' [3621/3622] Linking target examples/dpdk-vhost_blk [3622/3622] Linking target examples/dpdk-vhost ninja: build stopped *Build Failed #6: OS: UB2204-64 Target: x86_64-native-linuxapp-doc FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.15.0-25-generic/build M=/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni src=/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -include /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/config/rte_config.h -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/lib/eal/include -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/lib/kni -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/x86_64-native-linuxapp-doc -I/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/linux-headers-5.15.0-25-generic' CC [M] /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_misc.o CC [M] /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_net.o /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/kernel/linux/kni/kni_net.c: In function ‘kni_net_set_mac’: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: error: ‘net_dev’ undeclared (first use in this function); did you mean ‘netdev’? 787 | eth_hw_addr_set(net_dev, addr->sa_data); | ^~~~~~~ | netdev /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/kernel/linux/kni/kni_net.c:787:25: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [scripts/Makefile.build:285: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_net.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1875: /root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/23412/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/linux-headers-5.15.0-25-generic' [3464/3468] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o [3465/3468] Compiling C object app/test/dpdk-test.p/test_ring.c.o [3466/3468] Generating doc/api/doxygen with a custom command [3467/3468] Generating doc/guides/html_guides with a custom command ninja: build stopped DPDK STV team