Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/89333 _Compilation issues_ Submitter: Wenzhuo Lu Date: 2021-03-17 06:48:38 Reply_mail: 1615963718-67428-5-git-send-email-wenzhuo.lu@intel.com DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: b16913147d6fe9de6f77e6e24130b6d0c577388e Meson Build Summary: 22 Builds Done, 18 Successful, 4 Failures, 0 Blocked +------------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +------------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | pass | pass | pass | | | pass | | RHEL83-64 | pass | | | | | | | FC33-64 | pass | pass | | | | | | CentOsStream8-64 | pass | | | | | | | UB2010-64 | pass | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | pass | | | | | | | CENTOS83-64 | pass | pass | pass | pass | pass | | | FreeBSD1201-64 | FAIL | FAIL | | FAIL | FAIL | | | SUSE15-64 | pass | pass | | | | | +------------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.6.0-050600-generic GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de] Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: RHEL83-64 Kernel Version: 4.18.0-240.el8.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896) x86_64-native-linuxapp-gcc OS: FC33-64 Kernel Version: 5.8.16-300.fc33.x86_64 GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5) Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: CentOsStream8-64 Kernel Version: 4.18.0-257.el8.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577) x86_64-native-linuxapp-gcc OS: UB2010-64 Kernel Version: 5.8.0-25-generic GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0 Clang Version: 11.0.0-2 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 Kernel Version: 5.6.0-050600-generic GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_set_rx_function': ../drivers/net/iavf/iavf_rxtx.c:2396:33: error: 'use_avx512' undeclared (first use in this function); did you mean 'use_avx2'? 2396 | if (!use_sse && !use_avx2 && !use_avx512) | ^~~~~~~~~~ | use_avx2 ../drivers/net/iavf/iavf_rxtx.c:2396:33: note: each undeclared identifier is reported only once for each function it appears in [1035/2052] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_flow.c.o [1036/2052] Generating rte_net_i40e.sym_chk with a meson_exe.py custom command [1037/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o [1038/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o [1039/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c ../drivers/net/iavf/iavf_rxtx.c:2396:33: error: use of undeclared identifier 'use_avx512'; did you mean 'use_avx2'? if (!use_sse && !use_avx2 && !use_avx512) ^~~~~~~~~~ use_avx2 ../drivers/net/iavf/iavf_rxtx.c:2372:7: note: 'use_avx2' declared here bool use_avx2 = false; ^ ../drivers/net/iavf/iavf_rxtx.c:2409:9: error: use of undeclared identifier 'use_avx512'; did you mean 'use_avx2'? if (!use_avx512) ^~~~~~~~~~ use_avx2 ../drivers/net/iavf/iavf_rxtx.c:2372:7: note: 'use_avx2' declared here bool use_avx2 = false; ^ ../drivers/net/iavf/iavf_rxtx.c:2444:9: error: use of undeclared identifier 'use_avx512'; did you mean 'use_avx2'? if (!use_avx512) ^~~~~~~~~~ use_avx2 ../drivers/net/iavf/iavf_rxtx.c:2372:7: note: 'use_avx2' declared here bool use_avx2 = false; ^ 3 errors generated. [1041/2052] Generating rte_net_hinic.pmd.c with a custom command [1042/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o [1043/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o [1044/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o [1045/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_set_rx_function': ../drivers/net/iavf/iavf_rxtx.c:2396:33: error: 'use_avx512' undeclared (first use in this function); did you mean 'use_avx2'? 2396 | if (!use_sse && !use_avx2 && !use_avx512) | ^~~~~~~~~~ | use_avx2 ../drivers/net/iavf/iavf_rxtx.c:2396:33: note: each undeclared identifier is reported only once for each function it appears in [1056/1934] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_flow.c.o [1057/1934] Generating rte_net_i40e.sym_chk with a meson_exe.py custom command [1058/1934] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o [1059/1934] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o [1060/1934] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_set_rx_function': ../drivers/net/iavf/iavf_rxtx.c:2396:33: error: 'use_avx512' undeclared (first use in this function); did you mean 'use_avx2'? 2396 | if (!use_sse && !use_avx2 && !use_avx512) | ^~~~~~~~~~ | use_avx2 ../drivers/net/iavf/iavf_rxtx.c:2396:33: note: each undeclared identifier is reported only once for each function it appears in [1035/2052] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_tx.c.o [1036/2052] Generating rte_net_i40e.sym_chk with a meson_exe.py custom command [1037/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o [1038/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o [1039/2052] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o ninja: build stopped DPDK STV team