Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/131513 _Compilation issues_ Submitter: Arkadiusz Kusztal Date: 2023-09-17 15:42:58 Reply_mail: <20230917154258.3509805-3-arkadiuszx.kusztal@intel.com> DPDK git baseline: Repo:dpdk-next-crypto, CommitID: 62895ec564de9e6929bda6e19b1e974f36c2d482 Meson Build Summary: 25 Builds Done, 20 Successful, 5 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.8-64 | pass | | | | | | | | FreeBSD13-64 | fail | fail | | fail | pass | | | | RHEL92-64 | pass | pass | | pass | pass | | | | SUSE15-64 | fail | fail | | | | | | | CBL-Mariner2.0-64 | pass | | | | | | | | UB2004-64 | pass | | | | | | | | UB2204-32 | pass | | | | | | | | RHEL87-64 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | pass | | | | | | | | RHEL92-64Rt | pass | | | | | | | | UB2304-64 | pass | | | | | | | | FC38-64 | pass | pass | | | | | | | UB2204-64Rt | 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: OpenAnolis8.8-64 Kernel Version: 5.10.134-13.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3) Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068) x86_64-native-linuxapp-gcc OS: FreeBSD13-64 Kernel Version: 13.2-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 12.2.0 Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL92-64 Kernel Version: 5.14.0-284.11.1.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.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: 5.14.21-150500.53-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 15.0.7 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: CBL-Mariner2.0-64 Kernel Version: 5.15.55.1_2e9a4f9+ GCC Version: gcc (GCC) 11.2.0 Clang Version: NA 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-gcc OS: UB2204-32 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL87-64 Kernel Version: 4.18.0-425.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15) Clang Version: NA x86_64-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 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.81.1.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: RHEL92-64Rt Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) x86_64-native-linuxapp-gcc OS: UB2304-64 Kernel Version: 6.2.0-20-generic GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC38-64 Kernel Version: 6.2.9-300.fc38.x86_64 GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0) Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.17.5-051705-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -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-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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -MF drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o.d -o drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -c ../drivers/common/qat/qat_qp.c ../drivers/common/qat/qat_qp.c: In function 'qat_cq_dequeue_response': ../drivers/common/qat/qat_qp.c:742:21: error: implicit declaration of function 'ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET' [-Werror=implicit-function-declaration] 742 | if (ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:742:21: error: nested extern declaration of 'ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET' [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:743:41: error: invalid use of undefined type 'struct icp_qat_fw_comn_resp' 743 | resp_msg->comn_hdr.comn_status) == | ^~ ../drivers/common/qat/qat_qp.c:744:33: error: 'ICP_QAT_FW_COMN_STATUS_FLAG_OK' undeclared (first use in this function) 744 | ICP_QAT_FW_COMN_STATUS_FLAG_OK) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:744:33: note: each undeclared identifier is reported only once for each function it appears in ../drivers/common/qat/qat_qp.c: In function 'qat_cq_get_fw_version': ../drivers/common/qat/qat_qp.c:770:36: error: storage size of 'null_msg' isn't known 770 | struct icp_qat_fw_comn_req null_msg; | ^~~~~~~~ ../drivers/common/qat/qat_qp.c:771:37: error: storage size of 'response' isn't known 771 | struct icp_qat_fw_comn_resp response; | ^~~~~~~~ ../drivers/common/qat/qat_qp.c:776:17: error: implicit declaration of function 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD' [-Werror=implicit-function-declaration] 776 | ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:776:17: error: nested extern declaration of 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD' [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:776:49: error: 'ICP_QAT_FW_COMN_REQ_FLAG_SET' undeclared (first use in this function) 776 | ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:777:42: error: 'ICP_QAT_FW_COMN_REQ_NULL' undeclared (first use in this function) 777 | null_msg.comn_hdr.service_type = ICP_QAT_FW_COMN_REQ_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:778:44: error: 'ICP_QAT_FW_NULL_REQ_SERV_ID' undeclared (first use in this function) 778 | null_msg.comn_hdr.service_cmd_id = ICP_QAT_FW_NULL_REQ_SERV_ID; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:798:21: error: implicit declaration of function 'QAT_FIELD_GET' [-Werror=implicit-function-declaration] 798 | if (QAT_FIELD_GET(response.comn_hdr.hdr_flags, | ^~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:798:21: error: nested extern declaration of 'QAT_FIELD_GET' [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:799:33: error: 'ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS' undeclared (first use in this function) 799 | ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:800:33: error: 'ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK' undeclared (first use in this function) 800 | ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:771:37: error: unused variable 'response' [-Werror=unused-variable] 771 | struct icp_qat_fw_comn_resp response; | ^~~~~~~~ ../drivers/common/qat/qat_qp.c:770:36: error: unused variable 'null_msg' [-Werror=unused-variable] 770 | struct icp_qat_fw_comn_req null_msg; | ^~~~~~~~ cc1: all warnings being treated as errors [763/1883] Generating drivers/rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [764/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen2.c.o [765/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen1.c.o [766/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen3.c.o [767/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen4.c.o [768/1883] Generating drivers/rte_bus_vdev.sym_chk with a custom command (wrapped by meson to capture output) [769/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp_pmd.c.o [770/1883] Generating drivers/rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output) [771/1883] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o clang -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -MF drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o.d -o drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -c ../drivers/common/qat/qat_qp.c ../drivers/common/qat/qat_qp.c:742:7: error: implicit declaration of function 'ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET( ^ ../drivers/common/qat/qat_qp.c:743:13: error: incomplete definition of type 'struct icp_qat_fw_comn_resp' resp_msg->comn_hdr.comn_status) == ~~~~~~~~^ ../drivers/common/qat/qat_qp.c:728:9: note: forward declaration of 'struct icp_qat_fw_comn_resp' struct icp_qat_fw_comn_resp *resp_msg = (struct icp_qat_fw_comn_resp *) ^ ../drivers/common/qat/qat_qp.c:744:5: error: use of undeclared identifier 'ICP_QAT_FW_COMN_STATUS_FLAG_OK' ICP_QAT_FW_COMN_STATUS_FLAG_OK) { ^ ../drivers/common/qat/qat_qp.c:770:29: error: variable has incomplete type 'struct icp_qat_fw_comn_req' struct icp_qat_fw_comn_req null_msg; ^ ../drivers/common/qat/qat_qp.c:770:9: note: forward declaration of 'struct icp_qat_fw_comn_req' struct icp_qat_fw_comn_req null_msg; ^ ../drivers/common/qat/qat_qp.c:771:30: error: variable has incomplete type 'struct icp_qat_fw_comn_resp' struct icp_qat_fw_comn_resp response; ^ ../drivers/common/qat/qat_qp.c:771:9: note: forward declaration of 'struct icp_qat_fw_comn_resp' struct icp_qat_fw_comn_resp response; ^ ../drivers/common/qat/qat_qp.c:776:3: error: implicit declaration of function 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); ^ ../drivers/common/qat/qat_qp.c:776:35: error: use of undeclared identifier 'ICP_QAT_FW_COMN_REQ_FLAG_SET'; did you mean 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD'? ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ICP_QAT_FW_COMN_HDR_FLAGS_BUILD ../drivers/common/qat/qat_qp.c:776:3: note: 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD' declared here ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); ^ ../drivers/common/qat/qat_qp.c:777:35: error: use of undeclared identifier 'ICP_QAT_FW_COMN_REQ_NULL' null_msg.comn_hdr.service_type = ICP_QAT_FW_COMN_REQ_NULL; ^ ../drivers/common/qat/qat_qp.c:778:37: error: use of undeclared identifier 'ICP_QAT_FW_NULL_REQ_SERV_ID' null_msg.comn_hdr.service_cmd_id = ICP_QAT_FW_NULL_REQ_SERV_ID; ^ ../drivers/common/qat/qat_qp.c:798:7: error: implicit declaration of function 'QAT_FIELD_GET' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (QAT_FIELD_GET(response.comn_hdr.hdr_flags, ^ ../drivers/common/qat/qat_qp.c:799:5: error: use of undeclared identifier 'ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS' ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS, ^ ../drivers/common/qat/qat_qp.c:800:5: error: use of undeclared identifier 'ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK' ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK)) ^ 12 errors generated. [763/1883] Generating drivers/rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [764/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_device.c.o [765/1883] Generating drivers/rte_bus_vdev.sym_chk with a custom command (wrapped by meson to capture output) [766/1883] Generating drivers/rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output) [767/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_pf2vf.c.o [768/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen1.c.o [769/1883] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen2.c.o [770/1883] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output) [771/1883] Generating lib/pipeline.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_common_qat.a.p/common_qat_qat_qp.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -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-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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -MF drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o.d -o drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -c ../drivers/common/qat/qat_qp.c ../drivers/common/qat/qat_qp.c: In function 'qat_cq_dequeue_response': ../drivers/common/qat/qat_qp.c:742:21: error: implicit declaration of function 'ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET' [-Werror=implicit-function-declaration] 742 | if (ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:742:21: error: nested extern declaration of 'ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET' [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:743:41: error: invalid use of undefined type 'struct icp_qat_fw_comn_resp' 743 | resp_msg->comn_hdr.comn_status) == | ^~ ../drivers/common/qat/qat_qp.c:744:33: error: 'ICP_QAT_FW_COMN_STATUS_FLAG_OK' undeclared (first use in this function) 744 | ICP_QAT_FW_COMN_STATUS_FLAG_OK) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:744:33: note: each undeclared identifier is reported only once for each function it appears in ../drivers/common/qat/qat_qp.c: In function 'qat_cq_get_fw_version': ../drivers/common/qat/qat_qp.c:770:36: error: storage size of 'null_msg' isn't known 770 | struct icp_qat_fw_comn_req null_msg; | ^~~~~~~~ ../drivers/common/qat/qat_qp.c:771:37: error: storage size of 'response' isn't known 771 | struct icp_qat_fw_comn_resp response; | ^~~~~~~~ ../drivers/common/qat/qat_qp.c:776:17: error: implicit declaration of function 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD' [-Werror=implicit-function-declaration] 776 | ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:776:17: error: nested extern declaration of 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD' [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:776:49: error: 'ICP_QAT_FW_COMN_REQ_FLAG_SET' undeclared (first use in this function) 776 | ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:777:42: error: 'ICP_QAT_FW_COMN_REQ_NULL' undeclared (first use in this function) 777 | null_msg.comn_hdr.service_type = ICP_QAT_FW_COMN_REQ_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:778:44: error: 'ICP_QAT_FW_NULL_REQ_SERV_ID' undeclared (first use in this function) 778 | null_msg.comn_hdr.service_cmd_id = ICP_QAT_FW_NULL_REQ_SERV_ID; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:798:21: error: implicit declaration of function 'QAT_FIELD_GET' [-Werror=implicit-function-declaration] 798 | if (QAT_FIELD_GET(response.comn_hdr.hdr_flags, | ^~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:798:21: error: nested extern declaration of 'QAT_FIELD_GET' [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:799:33: error: 'ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS' undeclared (first use in this function) 799 | ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:800:33: error: 'ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK' undeclared (first use in this function) 800 | ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:771:37: error: unused variable 'response' [-Werror=unused-variable] 771 | struct icp_qat_fw_comn_resp response; | ^~~~~~~~ ../drivers/common/qat/qat_qp.c:770:36: error: unused variable 'null_msg' [-Werror=unused-variable] 770 | struct icp_qat_fw_comn_req null_msg; | ^~~~~~~~ cc1: all warnings being treated as errors [565/1781] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_pf2vf.c.o [566/1781] Generating symbol file lib/librte_graph.so.24.0.p/librte_graph.so.24.0.symbols [567/1781] Generating drivers/rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output) [568/1781] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen1.c.o [569/1781] Generating symbol file drivers/librte_bus_vdev.so.24.0.p/librte_bus_vdev.so.24.0.symbols [570/1781] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen2.c.o [571/1781] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen3.c.o [572/1781] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output) [573/1781] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #4: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o clang -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -MF drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o.d -o drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -c ../drivers/common/qat/qat_qp.c ../drivers/common/qat/qat_qp.c:742:7: error: call to undeclared function 'ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET( ^ ../drivers/common/qat/qat_qp.c:743:13: error: incomplete definition of type 'struct icp_qat_fw_comn_resp' resp_msg->comn_hdr.comn_status) == ~~~~~~~~^ ../drivers/common/qat/qat_qp.c:728:9: note: forward declaration of 'struct icp_qat_fw_comn_resp' struct icp_qat_fw_comn_resp *resp_msg = (struct icp_qat_fw_comn_resp *) ^ ../drivers/common/qat/qat_qp.c:744:5: error: use of undeclared identifier 'ICP_QAT_FW_COMN_STATUS_FLAG_OK' ICP_QAT_FW_COMN_STATUS_FLAG_OK) { ^ ../drivers/common/qat/qat_qp.c:770:29: error: variable has incomplete type 'struct icp_qat_fw_comn_req' struct icp_qat_fw_comn_req null_msg; ^ ../drivers/common/qat/qat_qp.c:770:9: note: forward declaration of 'struct icp_qat_fw_comn_req' struct icp_qat_fw_comn_req null_msg; ^ ../drivers/common/qat/qat_qp.c:771:30: error: variable has incomplete type 'struct icp_qat_fw_comn_resp' struct icp_qat_fw_comn_resp response; ^ ../drivers/common/qat/qat_qp.c:771:9: note: forward declaration of 'struct icp_qat_fw_comn_resp' struct icp_qat_fw_comn_resp response; ^ ../drivers/common/qat/qat_qp.c:776:3: error: call to undeclared function 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); ^ ../drivers/common/qat/qat_qp.c:776:35: error: use of undeclared identifier 'ICP_QAT_FW_COMN_REQ_FLAG_SET'; did you mean 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD'? ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ICP_QAT_FW_COMN_HDR_FLAGS_BUILD ../drivers/common/qat/qat_qp.c:776:3: note: 'ICP_QAT_FW_COMN_HDR_FLAGS_BUILD' declared here ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); ^ ../drivers/common/qat/qat_qp.c:777:35: error: use of undeclared identifier 'ICP_QAT_FW_COMN_REQ_NULL' null_msg.comn_hdr.service_type = ICP_QAT_FW_COMN_REQ_NULL; ^ ../drivers/common/qat/qat_qp.c:778:37: error: use of undeclared identifier 'ICP_QAT_FW_NULL_REQ_SERV_ID' null_msg.comn_hdr.service_cmd_id = ICP_QAT_FW_NULL_REQ_SERV_ID; ^ ../drivers/common/qat/qat_qp.c:798:7: error: call to undeclared function 'QAT_FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (QAT_FIELD_GET(response.comn_hdr.hdr_flags, ^ ../drivers/common/qat/qat_qp.c:799:5: error: use of undeclared identifier 'ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS' ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS, ^ ../drivers/common/qat/qat_qp.c:800:5: error: use of undeclared identifier 'ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK' ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK)) ^ 12 errors generated. [758/2774] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_pf2vf.c.o [759/2774] Linking static target drivers/libtmp_rte_common_cnxk.a [760/2774] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen1.c.o [761/2774] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen2.c.o [762/2774] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen3.c.o [763/2774] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen4.c.o [764/2774] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp_pmd.c.o [765/2774] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_dev_qat_comp_pmd_gen1.c.o [766/2774] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o ninja: build stopped *Build Failed #5: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -MF drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o.d -o drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o -c ../drivers/common/qat/qat_qp.c ../drivers/common/qat/qat_qp.c: In function ‘qat_cq_dequeue_response’: ../drivers/common/qat/qat_qp.c:742:7: error: implicit declaration of function ‘ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET’ [-Werror=implicit-function-declaration] if (ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:742:7: error: nested extern declaration of ‘ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET’ [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:743:13: error: dereferencing pointer to incomplete type ‘struct icp_qat_fw_comn_resp’ resp_msg->comn_hdr.comn_status) == ^~ ../drivers/common/qat/qat_qp.c:744:5: error: ‘ICP_QAT_FW_COMN_STATUS_FLAG_OK’ undeclared (first use in this function) ICP_QAT_FW_COMN_STATUS_FLAG_OK) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:744:5: note: each undeclared identifier is reported only once for each function it appears in ../drivers/common/qat/qat_qp.c: In function ‘qat_cq_get_fw_version’: ../drivers/common/qat/qat_qp.c:770:29: error: storage size of ‘null_msg’ isn’t known struct icp_qat_fw_comn_req null_msg; ^~~~~~~~ ../drivers/common/qat/qat_qp.c:771:30: error: storage size of ‘response’ isn’t known struct icp_qat_fw_comn_resp response; ^~~~~~~~ ../drivers/common/qat/qat_qp.c:776:3: error: implicit declaration of function ‘ICP_QAT_FW_COMN_HDR_FLAGS_BUILD’ [-Werror=implicit-function-declaration] ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:776:3: error: nested extern declaration of ‘ICP_QAT_FW_COMN_HDR_FLAGS_BUILD’ [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:776:35: error: ‘ICP_QAT_FW_COMN_REQ_FLAG_SET’ undeclared (first use in this function) ICP_QAT_FW_COMN_HDR_FLAGS_BUILD(ICP_QAT_FW_COMN_REQ_FLAG_SET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:777:35: error: ‘ICP_QAT_FW_COMN_REQ_NULL’ undeclared (first use in this function); did you mean ‘ICP_QAT_FW_COMN_REQ_FLAG_SET’? null_msg.comn_hdr.service_type = ICP_QAT_FW_COMN_REQ_NULL; ^~~~~~~~~~~~~~~~~~~~~~~~ ICP_QAT_FW_COMN_REQ_FLAG_SET ../drivers/common/qat/qat_qp.c:778:37: error: ‘ICP_QAT_FW_NULL_REQ_SERV_ID’ undeclared (first use in this function); did you mean ‘ICP_QAT_FW_COMN_REQ_NULL’? null_msg.comn_hdr.service_cmd_id = ICP_QAT_FW_NULL_REQ_SERV_ID; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ICP_QAT_FW_COMN_REQ_NULL ../drivers/common/qat/qat_qp.c:798:7: error: implicit declaration of function ‘QAT_FIELD_GET’ [-Werror=implicit-function-declaration] if (QAT_FIELD_GET(response.comn_hdr.hdr_flags, ^~~~~~~~~~~~~ ../drivers/common/qat/qat_qp.c:798:7: error: nested extern declaration of ‘QAT_FIELD_GET’ [-Werror=nested-externs] ../drivers/common/qat/qat_qp.c:799:5: error: ‘ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS’ undeclared (first use in this function); did you mean ‘ICP_QAT_FW_COMN_REQ_FLAG_SET’? ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ICP_QAT_FW_COMN_REQ_FLAG_SET ../drivers/common/qat/qat_qp.c:800:5: error: ‘ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK’ undeclared (first use in this function); did you mean ‘ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS’? ICP_QAT_FW_COMN_NULL_VERSION_FLAG_MASK)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ICP_QAT_FW_COMN_NULL_VERSION_FLAG_BITPOS ../drivers/common/qat/qat_qp.c:771:30: error: unused variable ‘response’ [-Werror=unused-variable] struct icp_qat_fw_comn_resp response; ^~~~~~~~ ../drivers/common/qat/qat_qp.c:770:29: error: unused variable ‘null_msg’ [-Werror=unused-variable] struct icp_qat_fw_comn_req null_msg; ^~~~~~~~ cc1: all warnings being treated as errors [749/2772] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_nix.c.o [750/2772] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_device.c.o [751/2772] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_pf2vf.c.o [752/2772] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen2.c.o [753/2772] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen3.c.o [754/2772] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen1.c.o [755/2772] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen4.c.o [756/2772] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp_pmd.c.o [757/2772] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped DPDK STV team