Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/118982 _Compilation issues_ Submitter: Mingjin Ye Date: 2022-10-24 16:24:38 Reply_mail: <20221024162438.358978-2-mingjinx.ye@intel.com> DPDK git baseline: Repo:dpdk, CommitID: 269f027453ae7a9ac1bf0d6786388f598a139314 Meson Build Summary: 24 Builds Done, 23 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | pass | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | RHEL90-64 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | fail | | CentOS79-64 | pass | | | | | | | | RHEL86-64Rt | pass | 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-gcc 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.14.21-150400.22-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: RHEL90-64 Kernel Version: 5.14.0-70.13.1.el9_0.x86_64 GCC Version: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Clang Version: 13.0.1 (Red Hat 13.0.1-1.el9) x86_64-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 OS: RHEL86-64Rt Kernel Version: 4.18.0-372.9.1.rt7.166.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 *Build Failed #1: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o gcc -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -Wno-zero-length-bounds -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o -c ../drivers/net/ice/ice_rxtx_vec_sse.c ../drivers/net/ice/ice_rxtx_vec_sse.c: In function ‘_ice_recv_raw_pkts_vec’: ../drivers/net/ice/ice_rxtx_vec_sse.c:450:46: error: variable ‘sterr_tmp2’ set but not used [-Werror=unused-but-set-variable] 450 | __m128i staterr, sterr_tmp1, sterr_tmp2; | ^~~~~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:450:34: error: variable ‘sterr_tmp1’ set but not used [-Werror=unused-but-set-variable] 450 | __m128i staterr, sterr_tmp1, sterr_tmp2; | ^~~~~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:450:25: error: unused variable ‘staterr’ [-Werror=unused-variable] 450 | __m128i staterr, sterr_tmp1, sterr_tmp2; | ^~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:598:17: error: ‘staterr’ undeclared (first use in this function); did you mean ‘stderr’? 598 | staterr = _mm_unpacklo_epi32(sterr_tmp1, sterr_tmp2); | ^~~~~~~ | stderr ../drivers/net/ice/ice_rxtx_vec_sse.c:598:17: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ice/ice_rxtx_vec_sse.c:598:46: error: ‘sterr_tmp1’ undeclared (first use in this function) 598 | staterr = _mm_unpacklo_epi32(sterr_tmp1, sterr_tmp2); | ^~~~~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:598:58: error: ‘sterr_tmp2’ undeclared (first use in this function) 598 | staterr = _mm_unpacklo_epi32(sterr_tmp1, sterr_tmp2); | ^~~~~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:603:26: error: ‘pkt_mb3’ undeclared (first use in this function) 603 | pkt_mb3); | ^~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:606:26: error: ‘pkt_mb2’ undeclared (first use in this function) 606 | pkt_mb2); | ^~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:630:26: error: ‘pkt_mb1’ undeclared (first use in this function) 630 | pkt_mb1); | ^~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:632:34: error: ‘pkt_mb0’ undeclared (first use in this function) 632 | pkt_mb0); | ^~~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:633:40: error: ‘descs’ undeclared (first use in this function) 633 | ice_rx_desc_to_ptype_v(descs, &rx_pkts[pos], ptype_tbl); | ^~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:638:25: error: break statement not within loop or switch 638 | break; | ^~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c: At top level: ../drivers/net/ice/ice_rxtx_vec_sse.c:642:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 642 | rxq->rx_tail = (uint16_t)(rxq->rx_tail + nb_pkts_recd); | ^~ ../drivers/net/ice/ice_rxtx_vec_sse.c:643:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 643 | rxq->rx_tail = (uint16_t)(rxq->rx_tail & (rxq->nb_rx_desc - 1)); | ^~ ../drivers/net/ice/ice_rxtx_vec_sse.c:644:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 644 | rxq->rxrearm_nb = (uint16_t)(rxq->rxrearm_nb + nb_pkts_recd); | ^~ ../drivers/net/ice/ice_rxtx_vec_sse.c:646:9: error: expected identifier or ‘(’ before ‘return’ 646 | return nb_pkts_recd; | ^~~~~~ ../drivers/net/ice/ice_rxtx_vec_sse.c:647:1: error: expected identifier or ‘(’ before ‘}’ token 647 | } | ^ ../drivers/net/ice/ice_rxtx_vec_sse.c: In function ‘_ice_recv_raw_pkts_vec’: ../drivers/net/ice/ice_rxtx_vec_sse.c:639:9: error: control reaches end of non-void function [-Werror=return-type] 639 | } | ^ cc1: all warnings being treated as errors [1766/3638] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_tm.c.o [1767/3638] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_vf_representor.c.o [1768/3638] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1769/3638] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o [1770/3638] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_ethdev.c.o [1771/3638] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1772/3638] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1773/3638] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1774/3638] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped DPDK STV team