Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/149503 _Compilation issues_ Submitter: Andre Muezerie Date: 2024-12-28 00:45:57 Reply_mail: <1735346757-14891-4-git-send-email-andremue@linux.microsoft.com> DPDK git baseline: Repo:dpdk, CommitID: fd51012de5369679e807be1d6a81d63ef15015ce Meson Build Summary: 23 Builds Done, 15 Successful, 8 Failures, 0 Blocked +------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.9-64 | pass | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL94-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | AzureLinux3.0-64 | pass | | | | | | | | UB2404-32 | pass | | | | | | | | RHEL8.10-64 | pass | | | | | | | | UB2404-64 | fail | fail | | | | fail | fail | | RHEL94-64Rt | pass | | | | | | | | UB2410-64 | fail | | | | | | | | FC40-64 | fail | fail | | | | | | | UB2404-64Rt | fail | | | | | | | +------------------+------------+--------------+------------+------------+-----------+----------+------------+ 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: OpenAnolis8.9-64 Kernel Version: 5.10.134-16.2.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1) Clang Version: 15.0.7 (Anolis 15.0.7-1.0.3.module+an8.8.0+11135+e398acfc) x86_64-native-linuxapp-gcc OS: FreeBSD14-64 Kernel Version: 14.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 13.2.0 Clang Version: 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL94-64 Kernel Version: 5.14.0-427.13.1.el9_4.x86_64 GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3) Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9) 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: 6.4.0-150600.21-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 17.0.6 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: AzureLinux3.0-64 Kernel Version: 6.6.47.1-1.azl3 GCC Version: gcc (GCC) 13.2.0 Clang Version: 18.1.2 x86_64-native-linuxapp-gcc OS: UB2404-32 Kernel Version: 6.8.0-41-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL8.10-64 Kernel Version: 4.18.0-553.el8_10.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-21) Clang Version: 17.0.6 (Red Hat 17.0.6-1.module+el8.10.0+20808+e12784c0) x86_64-native-linuxapp-gcc OS: UB2404-64 Kernel Version: 6.8.0-41-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: NA x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: RHEL94-64Rt Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3) Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9) x86_64-native-linuxapp-gcc OS: UB2410-64 Kernel Version: 6.11.0-8-generic GCC Version: gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC40-64 Kernel Version: 6.8.5-301.fc40.x86_64 GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0) Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2404-64Rt Kernel Version: 6.8.0-rt8 GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: NA x86_64-native-linuxapp-gcc *Build Failed #1: OS: UB2404-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: drivers/net/i40e/libi40e_avx2_lib.a.p/i40e_rxtx_vec_avx2.c.o gcc -Idrivers/net/i40e/libi40e_avx2_lib.a.p -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -mavx2 -MD -MQ drivers/net/i40e/libi40e_avx2_lib.a.p/i40e_rxtx_vec_avx2.c.o -MF drivers/net/i40e/libi40e_avx2_lib.a.p/i40e_rxtx_vec_avx2.c.o.d -o drivers/net/i40e/libi40e_avx2_lib.a.p/i40e_rxtx_vec_avx2.c.o -c ../drivers/net/i40e/i40e_rxtx_vec_avx2.c In file included from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:14: ../drivers/net/i40e/i40e_rxtx_common_avx.h: In function ‘i40e_rxq_rearm_common’: ../drivers/net/i40e/i40e_rxtx_common_avx.h:195:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 195 | _mm256_store_si256((__m256i *)&rxdp->read, dma_addr0_1); | ^ ../drivers/net/i40e/i40e_rxtx_common_avx.h:196:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 196 | _mm256_store_si256((__m256i *)&(rxdp + 2)->read, dma_addr2_3); | ^ cc1: all warnings being treated as errors [1591/3393] Compiling C object drivers/librte_net_hns3.a.p/meson-generated_.._rte_net_hns3.pmd.c.o [1592/3393] Compiling C object drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o FAILED: drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o gcc -Idrivers/net/i40e/libi40e_avx512_lib.a.p -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DCC_AVX512_SUPPORT -mavx512f -mavx512vl -mavx512dq -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o -MF drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o.d -o drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o -c ../drivers/net/i40e/i40e_rxtx_vec_avx512.c In file included from ../drivers/net/i40e/i40e_rxtx_vec_avx512.c:14: ../drivers/net/i40e/i40e_rxtx_common_avx.h: In function ‘i40e_rxq_rearm_common’: ../drivers/net/i40e/i40e_rxtx_common_avx.h:149:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 149 | _mm512_store_si512((__m512i *)&rxdp->read, dma_addr0_3); | ^ ../drivers/net/i40e/i40e_rxtx_common_avx.h:150:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 150 | _mm512_store_si512((__m512i *)&(rxdp + 4)->read, dma_addr4_7); | ^ ../drivers/net/i40e/i40e_rxtx_common_avx.h:195:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 195 | _mm256_store_si256((__m256i *)&rxdp->read, dma_addr0_1); | ^ ../drivers/net/i40e/i40e_rxtx_common_avx.h:196:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 196 | _mm256_store_si256((__m256i *)&(rxdp + 2)->read, dma_addr2_3); | ^ cc1: all warnings being treated as errors [1593/3393] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_tm.c.o [1594/3393] Compiling C object drivers/net/i40e/base/libi40e_base.a.p/i40e_common.c.o [1595/3393] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_fdir.c.o [1596/3393] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_hash.c.o [1597/3393] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_flow.c.o [1598/3393] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o [1599/3393] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx.c.o ninja: build stopped *Build Failed #2: OS: UB2404-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -c ../drivers/net/mlx5/mlx5_rxtx_vec.c In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:27: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_decompress_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:74:47: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 74 | volatile struct mlx5_mini_cqe8 *mcq = (void *)(cq + !rxq->cqe_comp_layout); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:129:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 129 | rte_prefetch0((void *)(cq + mcqe_n)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:140:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 140 | rte_prefetch0((void *)(cq + pos + i)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:142:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 142 | mcqe1 = _mm_loadu_si128((__m128i *)&mcq[pos % 8]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:143:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 143 | mcqe2 = _mm_loadu_si128((__m128i *)&mcq[pos % 8 + 2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:354:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 354 | rte_prefetch0((void *)(cq + pos + 8)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:355:39: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 355 | mcq = (void *)(cq + pos); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:370:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 370 | mcq = (void *)cq; | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_process_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:650:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 650 | cqes[3] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:654:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 654 | cqes[2] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:662:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 662 | cqes[1] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:665:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 665 | cqes[0] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:672:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 672 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p3]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:673:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 673 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos + p2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:676:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 676 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p3].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:677:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 677 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos + p2].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:680:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 680 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p3].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:681:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 681 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos + p2].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:699:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 699 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p1]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:700:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 700 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:703:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 703 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p1].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:704:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 704 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:707:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 707 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p1].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:708:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 708 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos].rsvd4[2]); | ^ cc1: all warnings being treated as errors [1848/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_ethdev_os.c.o [1849/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_vlan_os.c.o [1850/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o [1851/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_flow_os.c.o [1852/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_context.c.o [1853/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1854/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1855/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o [1856/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o ninja: build stopped *Build Failed #3: OS: UB2404-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o clang -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -c ../drivers/net/mlx5/mlx5_rxtx_vec.c In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:27: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:74:48: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 74 | volatile struct mlx5_mini_cqe8 *mcq = (void *)(cq + !rxq->cqe_comp_layout); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:129:25: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 129 | rte_prefetch0((void *)(cq + mcqe_n)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:140:28: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 140 | rte_prefetch0((void *)(cq + pos + i)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:142:38: error: cast from 'volatile struct mlx5_mini_cqe8 *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 142 | mcqe1 = _mm_loadu_si128((__m128i *)&mcq[pos % 8]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:143:38: error: cast from 'volatile struct mlx5_mini_cqe8 *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 143 | mcqe2 = _mm_loadu_si128((__m128i *)&mcq[pos % 8 + 2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:354:28: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 354 | rte_prefetch0((void *)(cq + pos + 8)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:355:19: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 355 | mcq = (void *)(cq + pos); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:370:18: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 370 | mcq = (void *)cq; | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:651:9: error: cast from 'volatile unsigned int *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 651 | &cq[pos + p3].sop_drop_qpn); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:655:9: error: cast from 'volatile unsigned int *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 655 | &cq[pos + p2].sop_drop_qpn); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:663:9: error: cast from 'volatile unsigned int *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 663 | &cq[pos + p1].sop_drop_qpn); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:666:9: error: cast from 'volatile unsigned int *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 666 | &cq[pos].sop_drop_qpn); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:672:40: error: cast from 'volatile struct mlx5_cqe *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 672 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p3]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:673:40: error: cast from 'volatile struct mlx5_cqe *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 673 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos + p2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:676:41: error: cast from 'volatile unsigned short *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 676 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p3].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:677:41: error: cast from 'volatile unsigned short *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 677 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos + p2].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:680:41: error: cast from 'volatile unsigned char *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 680 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p3].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:681:41: error: cast from 'volatile unsigned char *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 681 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos + p2].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:699:40: error: cast from 'volatile struct mlx5_cqe *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 699 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p1]); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [1841/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_nta_split.c.o [1842/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_verbs.c.o [1843/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_socket.c.o [1844/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1845/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_verbs.c.o [1846/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o [1847/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1848/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o [1849/3389] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o ninja: build stopped *Build Failed #4: OS: UB2404-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -c ../drivers/net/mlx5/mlx5_rxtx_vec.c In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:27: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_decompress_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:74:47: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 74 | volatile struct mlx5_mini_cqe8 *mcq = (void *)(cq + !rxq->cqe_comp_layout); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:129:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 129 | rte_prefetch0((void *)(cq + mcqe_n)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:140:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 140 | rte_prefetch0((void *)(cq + pos + i)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:142:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 142 | mcqe1 = _mm_loadu_si128((__m128i *)&mcq[pos % 8]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:143:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 143 | mcqe2 = _mm_loadu_si128((__m128i *)&mcq[pos % 8 + 2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:354:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 354 | rte_prefetch0((void *)(cq + pos + 8)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:355:39: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 355 | mcq = (void *)(cq + pos); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:370:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 370 | mcq = (void *)cq; | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_process_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:650:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 650 | cqes[3] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:654:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 654 | cqes[2] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:662:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 662 | cqes[1] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:665:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 665 | cqes[0] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:672:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 672 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p3]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:673:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 673 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos + p2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:676:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 676 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p3].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:677:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 677 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos + p2].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:680:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 680 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p3].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:681:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 681 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos + p2].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:699:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 699 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p1]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:700:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 700 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:703:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 703 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p1].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:704:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 704 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:707:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 707 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p1].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:708:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 708 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos].rsvd4[2]); | ^ cc1: all warnings being treated as errors [1846/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_mp_os.c.o [1847/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_ethdev_os.c.o [1848/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o [1849/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_vlan_os.c.o [1850/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_flow_os.c.o [1851/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1852/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1853/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o [1854/3212] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o ninja: build stopped *Build Failed #5: OS: UB2410-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -c ../drivers/net/mlx5/mlx5_rxtx_vec.c In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:27: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_decompress_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:74:47: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 74 | volatile struct mlx5_mini_cqe8 *mcq = (void *)(cq + !rxq->cqe_comp_layout); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:129:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 129 | rte_prefetch0((void *)(cq + mcqe_n)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:140:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 140 | rte_prefetch0((void *)(cq + pos + i)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:142:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 142 | mcqe1 = _mm_loadu_si128((__m128i *)&mcq[pos % 8]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:143:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 143 | mcqe2 = _mm_loadu_si128((__m128i *)&mcq[pos % 8 + 2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:354:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 354 | rte_prefetch0((void *)(cq + pos + 8)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:355:39: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 355 | mcq = (void *)(cq + pos); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:370:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 370 | mcq = (void *)cq; | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_process_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:650:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 650 | cqes[3] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:654:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 654 | cqes[2] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:662:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 662 | cqes[1] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:665:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 665 | cqes[0] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:672:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 672 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p3]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:673:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 673 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos + p2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:676:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 676 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p3].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:677:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 677 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos + p2].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:680:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 680 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p3].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:681:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 681 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos + p2].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:699:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 699 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p1]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:700:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 700 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:703:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 703 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p1].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:704:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 704 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:707:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 707 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p1].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:708:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 708 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos].rsvd4[2]); | ^ cc1: all warnings being treated as errors [1844/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_verbs.c.o [1845/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_mp_os.c.o [1846/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_ethdev_os.c.o [1847/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_vlan_os.c.o [1848/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o [1849/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1850/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1851/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o [1852/3375] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o ninja: build stopped *Build Failed #6: OS: FC40-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -c ../drivers/net/mlx5/mlx5_rxtx_vec.c In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:27: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_decompress_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:74:47: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 74 | volatile struct mlx5_mini_cqe8 *mcq = (void *)(cq + !rxq->cqe_comp_layout); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:129:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 129 | rte_prefetch0((void *)(cq + mcqe_n)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:140:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 140 | rte_prefetch0((void *)(cq + pos + i)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:142:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 142 | mcqe1 = _mm_loadu_si128((__m128i *)&mcq[pos % 8]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:143:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 143 | mcqe2 = _mm_loadu_si128((__m128i *)&mcq[pos % 8 + 2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:354:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 354 | rte_prefetch0((void *)(cq + pos + 8)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:355:39: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 355 | mcq = (void *)(cq + pos); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:370:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 370 | mcq = (void *)cq; | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_process_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:650:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 650 | cqes[3] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:654:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 654 | cqes[2] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:662:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 662 | cqes[1] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:665:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 665 | cqes[0] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:672:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 672 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p3]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:673:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 673 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos + p2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:676:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 676 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p3].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:677:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 677 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos + p2].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:680:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 680 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p3].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:681:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 681 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos + p2].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:699:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 699 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p1]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:700:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 700 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:703:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 703 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p1].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:704:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 704 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:707:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 707 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p1].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:708:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 708 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos].rsvd4[2]); | ^ cc1: all warnings being treated as errors [1846/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_verbs.c.o [1847/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_mp_os.c.o [1848/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o [1849/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_vlan_os.c.o [1850/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_ethdev_os.c.o [1851/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1852/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1853/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o [1854/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o ninja: build stopped *Build Failed #7: OS: FC40-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o clang -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -c ../drivers/net/mlx5/mlx5_rxtx_vec.c In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:27: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:74:48: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 74 | volatile struct mlx5_mini_cqe8 *mcq = (void *)(cq + !rxq->cqe_comp_layout); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:129:25: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 129 | rte_prefetch0((void *)(cq + mcqe_n)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:140:28: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 140 | rte_prefetch0((void *)(cq + pos + i)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:142:38: error: cast from 'volatile struct mlx5_mini_cqe8 *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 142 | mcqe1 = _mm_loadu_si128((__m128i *)&mcq[pos % 8]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:143:38: error: cast from 'volatile struct mlx5_mini_cqe8 *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 143 | mcqe2 = _mm_loadu_si128((__m128i *)&mcq[pos % 8 + 2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:354:28: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 354 | rte_prefetch0((void *)(cq + pos + 8)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:355:19: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 355 | mcq = (void *)(cq + pos); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:370:18: error: cast from 'volatile struct mlx5_cqe *' to 'void *' drops volatile qualifier [-Werror,-Wcast-qual] 370 | mcq = (void *)cq; | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:651:9: error: cast from 'volatile unsigned int *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 651 | &cq[pos + p3].sop_drop_qpn); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:655:9: error: cast from 'volatile unsigned int *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 655 | &cq[pos + p2].sop_drop_qpn); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:663:9: error: cast from 'volatile unsigned int *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 663 | &cq[pos + p1].sop_drop_qpn); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:666:9: error: cast from 'volatile unsigned int *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 666 | &cq[pos].sop_drop_qpn); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:672:40: error: cast from 'volatile struct mlx5_cqe *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 672 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p3]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:673:40: error: cast from 'volatile struct mlx5_cqe *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 673 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos + p2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:676:41: error: cast from 'volatile unsigned short *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 676 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p3].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:677:41: error: cast from 'volatile unsigned short *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 677 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos + p2].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:680:41: error: cast from 'volatile unsigned char *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 680 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p3].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:681:41: error: cast from 'volatile unsigned char *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 681 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos + p2].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:699:40: error: cast from 'volatile struct mlx5_cqe *' to '__attribute__((__vector_size__(2 * sizeof(long long)))) long long *' drops volatile qualifier [-Werror,-Wcast-qual] 699 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p1]); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [1844/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_nta_split.c.o [1845/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_verbs.c.o [1846/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_socket.c.o [1847/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1848/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_verbs.c.o [1849/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o [1850/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1851/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o [1852/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o ninja: build stopped *Build Failed #8: OS: UB2404-64Rt Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o -c ../drivers/net/mlx5/mlx5_rxtx_vec.c In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:27: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_decompress_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:74:47: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 74 | volatile struct mlx5_mini_cqe8 *mcq = (void *)(cq + !rxq->cqe_comp_layout); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:129:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 129 | rte_prefetch0((void *)(cq + mcqe_n)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:140:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 140 | rte_prefetch0((void *)(cq + pos + i)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:142:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 142 | mcqe1 = _mm_loadu_si128((__m128i *)&mcq[pos % 8]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:143:41: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 143 | mcqe2 = _mm_loadu_si128((__m128i *)&mcq[pos % 8 + 2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:354:55: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 354 | rte_prefetch0((void *)(cq + pos + 8)); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:355:39: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 355 | mcq = (void *)(cq + pos); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:370:31: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 370 | mcq = (void *)cq; | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h: In function ‘rxq_cq_process_v’: ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:650:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 650 | cqes[3] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:654:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 654 | cqes[2] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:662:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 662 | cqes[1] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:665:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 665 | cqes[0] = _mm_loadl_epi64((__m128i *) | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:672:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 672 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p3]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:673:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 673 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos + p2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:676:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 676 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p3].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:677:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 677 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos + p2].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:680:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 680 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p3].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:681:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 681 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos + p2].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:699:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 699 | cqe_tmp2 = _mm_load_si128((__m128i *)&cq[pos + p1]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:700:43: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 700 | cqe_tmp1 = _mm_load_si128((__m128i *)&cq[pos]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:703:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 703 | cqe_tmp2 = _mm_loadu_si128((__m128i *)&cq[pos + p1].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:704:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 704 | cqe_tmp1 = _mm_loadu_si128((__m128i *)&cq[pos].csum); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:707:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 707 | cqe_tmp2 = _mm_loadl_epi64((__m128i *)&cq[pos + p1].rsvd4[2]); | ^ ../drivers/net/mlx5/mlx5_rxtx_vec_sse.h:708:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 708 | cqe_tmp1 = _mm_loadl_epi64((__m128i *)&cq[pos].rsvd4[2]); | ^ cc1: all warnings being treated as errors [1845/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1846/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_verbs.c.o [1847/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o [1848/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_mp_os.c.o [1849/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_ethdev_os.c.o [1850/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o [1851/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1852/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o [1853/3379] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o ninja: build stopped DPDK STV team