Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/103265 _Compilation issues_ Submitter: Chengwen Feng Date: 2021-10-30 10:36:19 Reply_mail: 20211030103619.29924-7-fengchengwen@huawei.com DPDK git baseline: Repo:dpdk, CommitID: 6cc51b1293ceac4a77d4bf7ac91a8bbd59e1f78c Meson Build Summary: 20 Builds Done, 15 Successful, 5 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +--------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | pass | pass | pass | | | pass | | FC34-64 | pass | pass | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | fail | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | UB2110-64 | pass | | | | | | | SUSE15-64 | pass | pass | | | | | | RHEL84-64 | pass | pass | pass | pass | pass | | +--------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: 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-icc x86_64-native-linuxapp-doc OS: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang 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.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: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: UB2110-64 Kernel Version: 5.13.0-19-generic GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 Clang Version: 13.0.0-2 x86_64-native-linuxapp-gcc 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: RHEL84-64 Kernel Version: 4.18.0-305.19.1.el8_4.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-1.module_el8.4.0+587+5187cac0) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o gcc -Idrivers/libtmp_rte_dma_hisilicon.a.p -Idrivers -I../drivers -Idrivers/dma/hisilicon -I../drivers/dma/hisilicon -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fdiagnostics-color=always -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 -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.hisilicon -MD -MQ drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -MF drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o.d -o drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -c ../drivers/dma/hisilicon/hisi_dmadev.c ../drivers/dma/hisilicon/hisi_dmadev.c: In function 'hisi_dma_reset_hw': ../drivers/dma/hisilicon/hisi_dmadev.c:133:16: error: 'ETIME' undeclared (first use in this function) 133 | (cond) ? 0 : -ETIME; \ | ^~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:150:8: note: in expansion of macro 'hisi_dma_poll_hw_state' 150 | ret = hisi_dma_poll_hw_state(hw, tmp, | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:133:16: note: each undeclared identifier is reported only once for each function it appears in 133 | (cond) ? 0 : -ETIME; \ | ^~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:150:8: note: in expansion of macro 'hisi_dma_poll_hw_state' 150 | ret = hisi_dma_poll_hw_state(hw, tmp, | ^~~~~~~~~~~~~~~~~~~~~~ [608/2032] Compiling C object drivers/libtmp_rte_mempool_stack.a.p/mempool_stack_rte_mempool_stack.c.o [609/2032] Generating rte_dma_hisilicon_mingw with a custom command [610/2032] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [611/2032] Generating rte_common_sfc_efx.pmd.c with a custom command [612/2032] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_common.c.o [613/2032] Compiling C object drivers/libtmp_rte_mempool_ring.a.p/mempool_ring_rte_mempool_ring.c.o [614/2032] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o [615/2032] Generating eal.sym_chk with a custom command (wrapped by meson to capture output) [616/2032] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o clang -Idrivers/libtmp_rte_dma_hisilicon.a.p -Idrivers -I../drivers -Idrivers/dma/hisilicon -I../drivers/dma/hisilicon -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.hisilicon -MD -MQ drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -MF drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o.d -o drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -c ../drivers/dma/hisilicon/hisi_dmadev.c ../drivers/dma/hisilicon/hisi_dmadev.c:150:8: error: use of undeclared identifier 'ETIME' ret = hisi_dma_poll_hw_state(hw, tmp, ^ ../drivers/dma/hisilicon/hisi_dmadev.c:133:16: note: expanded from macro 'hisi_dma_poll_hw_state' (cond) ? 0 : -ETIME; \ ^ ../drivers/dma/hisilicon/hisi_dmadev.c:150:6: error: assigning to 'int' from incompatible type 'void' ret = hisi_dma_poll_hw_state(hw, tmp, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:165:8: error: use of undeclared identifier 'ETIME' ret = hisi_dma_poll_hw_state(hw, tmp, ^ ../drivers/dma/hisilicon/hisi_dmadev.c:133:16: note: expanded from macro 'hisi_dma_poll_hw_state' (cond) ? 0 : -ETIME; \ ^ ../drivers/dma/hisilicon/hisi_dmadev.c:165:6: error: assigning to 'int' from incompatible type 'void' ret = hisi_dma_poll_hw_state(hw, tmp, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. [847/2004] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o [848/2004] Generating rte_dma_idxd.pmd.c with a custom command [849/2004] Generating rte_dma_ioat.pmd.c with a custom command [850/2004] Generating eal.sym_chk with a custom command (wrapped by meson to capture output) [851/2004] Generating rte_net_txgbe.sym_chk with a custom command (wrapped by meson to capture output) [852/2004] Generating rte_mempool_stack.sym_chk with a custom command (wrapped by meson to capture output) [853/2004] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output) [854/2004] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [855/2004] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o gcc -Idrivers/libtmp_rte_dma_hisilicon.a.p -Idrivers -I../drivers -Idrivers/dma/hisilicon -I../drivers/dma/hisilicon -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fdiagnostics-color=always -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 -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.hisilicon -MD -MQ drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -MF drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o.d -o drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -c ../drivers/dma/hisilicon/hisi_dmadev.c ../drivers/dma/hisilicon/hisi_dmadev.c: In function 'hisi_dma_reset_hw': ../drivers/dma/hisilicon/hisi_dmadev.c:133:16: error: 'ETIME' undeclared (first use in this function) 133 | (cond) ? 0 : -ETIME; \ | ^~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:150:8: note: in expansion of macro 'hisi_dma_poll_hw_state' 150 | ret = hisi_dma_poll_hw_state(hw, tmp, | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:133:16: note: each undeclared identifier is reported only once for each function it appears in 133 | (cond) ? 0 : -ETIME; \ | ^~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:150:8: note: in expansion of macro 'hisi_dma_poll_hw_state' 150 | ret = hisi_dma_poll_hw_state(hw, tmp, | ^~~~~~~~~~~~~~~~~~~~~~ [612/1884] Compiling C object drivers/libtmp_rte_mempool_stack.a.p/mempool_stack_rte_mempool_stack.c.o [613/1884] Compiling C object drivers/librte_common_sfc_efx.a.p/meson-generated_.._rte_common_sfc_efx.pmd.c.o [614/1884] Compiling C object drivers/librte_common_sfc_efx.so.22.0.p/meson-generated_.._rte_common_sfc_efx.pmd.c.o [615/1884] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_common.c.o [616/1884] Generating rte_dma_ioat.pmd.c with a custom command [617/1884] Compiling C object drivers/libtmp_rte_mempool_ring.a.p/mempool_ring_rte_mempool_ring.c.o [618/1884] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o [619/1884] Generating eal.sym_chk with a custom command (wrapped by meson to capture output) [620/1884] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o gcc -Idrivers/libtmp_rte_dma_hisilicon.a.p -Idrivers -I../drivers -Idrivers/dma/hisilicon -I../drivers/dma/hisilicon -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fdiagnostics-color=always -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 -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.hisilicon -MD -MQ drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -MF drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o.d -o drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -c ../drivers/dma/hisilicon/hisi_dmadev.c ../drivers/dma/hisilicon/hisi_dmadev.c: In function 'hisi_dma_reset_hw': ../drivers/dma/hisilicon/hisi_dmadev.c:133:16: error: 'ETIME' undeclared (first use in this function) 133 | (cond) ? 0 : -ETIME; \ | ^~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:150:8: note: in expansion of macro 'hisi_dma_poll_hw_state' 150 | ret = hisi_dma_poll_hw_state(hw, tmp, | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:133:16: note: each undeclared identifier is reported only once for each function it appears in 133 | (cond) ? 0 : -ETIME; \ | ^~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:150:8: note: in expansion of macro 'hisi_dma_poll_hw_state' 150 | ret = hisi_dma_poll_hw_state(hw, tmp, | ^~~~~~~~~~~~~~~~~~~~~~ [611/2004] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [612/2004] Compiling C object drivers/librte_common_sfc_efx.a.p/meson-generated_.._rte_common_sfc_efx.pmd.c.o [613/2004] Compiling C object drivers/librte_common_sfc_efx.so.22.0.p/meson-generated_.._rte_common_sfc_efx.pmd.c.o [614/2004] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_common.c.o [615/2004] Generating rte_mempool_stack.pmd.c with a custom command [616/2004] Compiling C object drivers/libtmp_rte_mempool_ring.a.p/mempool_ring_rte_mempool_ring.c.o [617/2004] Generating eal.sym_chk with a custom command (wrapped by meson to capture output) [618/2004] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o [619/2004] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #5: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o gcc -Idrivers/libtmp_rte_dma_hisilicon.a.p -Idrivers -I../drivers -Idrivers/dma/hisilicon -I../drivers/dma/hisilicon -Ilib/dmadev -I../lib/dmadev -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -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 -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.hisilicon -MD -MQ drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -MF drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o.d -o drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o -c ../drivers/dma/hisilicon/hisi_dmadev.c In file included from ../drivers/dma/hisilicon/hisi_dmadev.c:18: ../drivers/dma/hisilicon/hisi_dmadev.c: In function ‘hisi_dma_scan_cq’: ../drivers/dma/hisilicon/hisi_dmadev.h:11:21: error: left shift count >= width of type [-Werror=shift-count-overflow] 11 | #define BIT(x) (1ul << (x)) | ^~ ../drivers/dma/hisilicon/hisi_dmadev.h:17:29: note: in definition of macro ‘FIELD_GET’ 17 | ((typeof(mask))(((reg) & (mask)) >> BF_SHF(mask))) | ^~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:159:22: note: in expansion of macro ‘BIT’ 159 | #define CQE_VALID_B BIT(48) | ^~~ ../drivers/dma/hisilicon/hisi_dmadev.c:588:17: note: in expansion of macro ‘CQE_VALID_B’ 588 | if (FIELD_GET(CQE_VALID_B, misc) != hw->cqe_vld) | ^~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:11:21: error: left shift count >= width of type [-Werror=shift-count-overflow] 11 | #define BIT(x) (1ul << (x)) | ^~ ../drivers/dma/hisilicon/hisi_dmadev.h:15:36: note: in definition of macro ‘BF_SHF’ 15 | #define BF_SHF(x) (__builtin_ffsll(x) - 1) | ^ ../drivers/dma/hisilicon/hisi_dmadev.c:588:7: note: in expansion of macro ‘FIELD_GET’ 588 | if (FIELD_GET(CQE_VALID_B, misc) != hw->cqe_vld) | ^~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:159:22: note: in expansion of macro ‘BIT’ 159 | #define CQE_VALID_B BIT(48) | ^~~ ../drivers/dma/hisilicon/hisi_dmadev.c:588:17: note: in expansion of macro ‘CQE_VALID_B’ 588 | if (FIELD_GET(CQE_VALID_B, misc) != hw->cqe_vld) | ^~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:17:36: error: right shift count is negative [-Werror=shift-count-negative] 17 | ((typeof(mask))(((reg) & (mask)) >> BF_SHF(mask))) | ^~ ../drivers/dma/hisilicon/hisi_dmadev.c:588:7: note: in expansion of macro ‘FIELD_GET’ 588 | if (FIELD_GET(CQE_VALID_B, misc) != hw->cqe_vld) | ^~~~~~~~~ In file included from ../lib/eal/include/rte_debug.h:18, from ../drivers/bus/pci/rte_bus_pci.h:25, from ../drivers/dma/hisilicon/hisi_dmadev.c:8: ../drivers/dma/hisilicon/hisi_dmadev.h:14:12: error: left shift count >= width of type [-Werror=shift-count-overflow] 14 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) | ^~ ../lib/eal/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ 38 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ ../drivers/dma/hisilicon/hisi_dmadev.h:160:26: note: in expansion of macro ‘GENMASK’ 160 | #define CQE_STATUS_MASK GENMASK(63, 49) | ^~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:592:23: note: in expansion of macro ‘CQE_STATUS_MASK’ 592 | if (unlikely(misc & CQE_STATUS_MASK)) | ^~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:14:28: error: right shift count is negative [-Werror=shift-count-negative] 14 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) | ^~ ../lib/eal/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ 38 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ ../drivers/dma/hisilicon/hisi_dmadev.h:160:26: note: in expansion of macro ‘GENMASK’ 160 | #define CQE_STATUS_MASK GENMASK(63, 49) | ^~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:592:23: note: in expansion of macro ‘CQE_STATUS_MASK’ 592 | if (unlikely(misc & CQE_STATUS_MASK)) | ^~~~~~~~~~~~~~~ In file included from ../drivers/dma/hisilicon/hisi_dmadev.c:18: ../drivers/dma/hisilicon/hisi_dmadev.h:14:12: error: left shift count >= width of type [-Werror=shift-count-overflow] 14 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) | ^~ ../drivers/dma/hisilicon/hisi_dmadev.h:17:29: note: in definition of macro ‘FIELD_GET’ 17 | ((typeof(mask))(((reg) & (mask)) >> BF_SHF(mask))) | ^~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:160:26: note: in expansion of macro ‘GENMASK’ 160 | #define CQE_STATUS_MASK GENMASK(63, 49) | ^~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:593:37: note: in expansion of macro ‘CQE_STATUS_MASK’ 593 | hw->status[csq_head] = FIELD_GET(CQE_STATUS_MASK, | ^~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:14:28: error: right shift count is negative [-Werror=shift-count-negative] 14 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) | ^~ ../drivers/dma/hisilicon/hisi_dmadev.h:17:29: note: in definition of macro ‘FIELD_GET’ 17 | ((typeof(mask))(((reg) & (mask)) >> BF_SHF(mask))) | ^~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:160:26: note: in expansion of macro ‘GENMASK’ 160 | #define CQE_STATUS_MASK GENMASK(63, 49) | ^~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:593:37: note: in expansion of macro ‘CQE_STATUS_MASK’ 593 | hw->status[csq_head] = FIELD_GET(CQE_STATUS_MASK, | ^~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:14:12: error: left shift count >= width of type [-Werror=shift-count-overflow] 14 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) | ^~ ../drivers/dma/hisilicon/hisi_dmadev.h:15:36: note: in definition of macro ‘BF_SHF’ 15 | #define BF_SHF(x) (__builtin_ffsll(x) - 1) | ^ ../drivers/dma/hisilicon/hisi_dmadev.c:593:27: note: in expansion of macro ‘FIELD_GET’ 593 | hw->status[csq_head] = FIELD_GET(CQE_STATUS_MASK, | ^~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:160:26: note: in expansion of macro ‘GENMASK’ 160 | #define CQE_STATUS_MASK GENMASK(63, 49) | ^~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:593:37: note: in expansion of macro ‘CQE_STATUS_MASK’ 593 | hw->status[csq_head] = FIELD_GET(CQE_STATUS_MASK, | ^~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:14:28: error: right shift count is negative [-Werror=shift-count-negative] 14 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) | ^~ ../drivers/dma/hisilicon/hisi_dmadev.h:15:36: note: in definition of macro ‘BF_SHF’ 15 | #define BF_SHF(x) (__builtin_ffsll(x) - 1) | ^ ../drivers/dma/hisilicon/hisi_dmadev.c:593:27: note: in expansion of macro ‘FIELD_GET’ 593 | hw->status[csq_head] = FIELD_GET(CQE_STATUS_MASK, | ^~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:160:26: note: in expansion of macro ‘GENMASK’ 160 | #define CQE_STATUS_MASK GENMASK(63, 49) | ^~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.c:593:37: note: in expansion of macro ‘CQE_STATUS_MASK’ 593 | hw->status[csq_head] = FIELD_GET(CQE_STATUS_MASK, | ^~~~~~~~~~~~~~~ ../drivers/dma/hisilicon/hisi_dmadev.h:17:36: error: right shift count is negative [-Werror=shift-count-negative] 17 | ((typeof(mask))(((reg) & (mask)) >> BF_SHF(mask))) | ^~ ../drivers/dma/hisilicon/hisi_dmadev.c:593:27: note: in expansion of macro ‘FIELD_GET’ 593 | hw->status[csq_head] = FIELD_GET(CQE_STATUS_MASK, | ^~~~~~~~~ cc1: all warnings being treated as errors [768/2421] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o [769/2421] Linking static target drivers/libtmp_rte_common_qat.a [770/2421] Linking static target drivers/librte_mempool_stack.a [771/2421] Linking static target drivers/libtmp_rte_dma_idxd.a [772/2421] Linking static target drivers/libtmp_rte_mempool_ring.a [773/2421] Linking static target drivers/libtmp_rte_dma_ioat.a [774/2421] Generating rte_mempool_dpaa2.sym_chk with a meson_exe.py custom command [775/2421] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [776/2421] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped DPDK STV team