Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/86080 _Compilation issues_ Submitter: Kumar Amber Date: 2021-01-07 04:00:59 Reply_mail: 20210107040059.551965-1-kumar.amber@intel.com DPDK git baseline: Repo:dpdk, CommitID: b031e13d7f0dc7cba9bc5befe968b67832021a59 Meson Build Summary: 22 Builds Done, 1 Successful, 21 Failures, 0 Blocked +------------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +------------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | FAIL | FAIL | FAIL | | | FAIL | | RHEL83-64 | FAIL | | | | | | | FC33-64 | FAIL | FAIL | | | | | | CentOsStream8-64 | FAIL | | | | | | | UB2010-64 | FAIL | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | FAIL | | | | | | | CENTOS83-64 | FAIL | FAIL | FAIL | FAIL | FAIL | | | FreeBSD1201-64 | FAIL | FAIL | | FAIL | FAIL | | | SUSE15-64 | FAIL | FAIL | | | | | +------------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.6.0-050600-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de] Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: RHEL83-64 Kernel Version: 4.18.0-240.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896) x86_64-native-linuxapp-gcc OS: FC33-64 Kernel Version: 5.8.16-300.fc33.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5) Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: CentOsStream8-64 Kernel Version: 4.18.0-257.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577) x86_64-native-linuxapp-gcc OS: UB2010-64 Kernel Version: 5.8.0-25-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0 Clang Version: 11.0.0-2 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 Kernel Version: 5.6.0-050600-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc *Build Failed #1: OS: CENTOS83-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined goto cleanup; ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] int ret = 0; ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] struct idxd_rawdev *idxd; ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] const struct idxd_rawdev *base_idxd, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] const struct rte_rawdev_ops *ops) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] mz = rte_memzone_reserve(mz_name, ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? mz = rte_memzone_reserve(mz_name, ^~~~~~~ tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? dev->numa_node, ^~~ div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ if (mz == NULL) { ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_private = mz->addr; ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_ops = ops; ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->device = dev; ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function); did you mean ‘rand_r’? idxd = rawdev->dev_private; ^~~~~~ rand_r ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->public.type = RTE_IDXD_DEV; ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->rawdev = rawdev; ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->mz = mz; ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ return 0; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token cleanup: ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ return ret; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token } ^ cc1: all warnings being treated as errors [1815/2783] Compiling C object drivers/librte_raw_dpaa2_qdma.so.21.1.p/meson-generated_.._rte_raw_dpaa2_qdma.pmd.c.o [1816/2783] Linking static target drivers/librte_raw_dpaa2_qdma.a [1817/2783] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1818/2783] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1819/2783] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1820/2783] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1821/2783] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1822/2783] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1823/2783] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1824/2783] Generating rte_net_virtio.sym_chk with a meson_exe.py custom command [1825/2783] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #2: OS: CENTOS83-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable 'idxd' [-Werror,-Wunused-variable] struct idxd_rawdev *idxd; ^ ../drivers/raw/ioat/ioat_common.c:206:8: error: use of undeclared label 'cleanup' goto cleanup; ^ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter 'base_idxd' [-Werror,-Wunused-parameter] const struct idxd_rawdev *base_idxd, ^ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter 'ops' [-Werror,-Wunused-parameter] const struct rte_rawdev_ops *ops) ^ ../drivers/raw/ioat/ioat_common.c:233:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:233:27: error: use of undeclared identifier 'mz_name' mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:235:4: error: use of undeclared identifier 'dev' dev->numa_node, ^ ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or '(' if (mz == NULL) { ^ ../drivers/raw/ioat/ioat_common.c:243:2: error: unknown type name 'rawdev' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected identifier or '(' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:244:2: error: unknown type name 'rawdev' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected identifier or '(' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:245:2: error: unknown type name 'rawdev' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected identifier or '(' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:246:2: error: unknown type name 'rawdev' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected identifier or '(' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:248:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:248:9: error: use of undeclared identifier 'rawdev' idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [1829/2786] Generating rte_raw_octeontx2_dma_mingw with a custom command [1830/2786] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1831/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1832/2786] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1833/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1834/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1835/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1836/2786] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_msg.c.o [1837/2786] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #3: OS: CENTOS83-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o icc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/ioat_common.c(10): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer static const uintptr_t null_hdl; ^ In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/ioat_common.c(10): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer static const struct rte_idxd_user_hdl null_hdl; ^ ../drivers/raw/ioat/ioat_common.c(206): error: label "cleanup" was referenced but not defined goto cleanup; ^ ../drivers/raw/ioat/ioat_common.c(233): error #77: this declaration has no storage class or type specifier mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c(233): error: function call is not allowed in a constant expression mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c(233): error: identifier "mz_name" is undefined mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c(235): error: identifier "dev" is undefined dev->numa_node, ^ ../drivers/raw/ioat/ioat_common.c(237): error: expected a declaration if (mz == NULL) { ^ ../drivers/raw/ioat/ioat_common.c(243): error #12: parsing restarts here after previous syntax error rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c(244): error #77: this declaration has no storage class or type specifier rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c(244): error: expected a ";" rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c(245): error #77: this declaration has no storage class or type specifier rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c(245): error: expected a ";" rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c(246): error #77: this declaration has no storage class or type specifier rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c(246): error: expected a ";" rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c(248): error #77: this declaration has no storage class or type specifier idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c(248): error: expression must have a constant value idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c(249): error #77: this declaration has no storage class or type specifier *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c(249): error: declaration is incompatible with "int idxd" (declared at line 248) *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c(249): error: identifier "base_idxd" is undefined *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c(250): error #77: this declaration has no storage class or type specifier idxd->public.type = RTE_IDXD_DEV; ^ ../drivers/raw/ioat/ioat_common.c(250): error: expected a ";" idxd->public.type = RTE_IDXD_DEV; ^ ../drivers/raw/ioat/ioat_common.c(251): error #77: this declaration has no storage class or type specifier idxd->rawdev = rawdev; ^ ../drivers/raw/ioat/ioat_common.c(251): error: expected a ";" idxd->rawdev = rawdev; ^ ../drivers/raw/ioat/ioat_common.c(252): error #77: this declaration has no storage class or type specifier idxd->mz = mz; ^ ../drivers/raw/ioat/ioat_common.c(252): error: expected a ";" idxd->mz = mz; ^ ../drivers/raw/ioat/ioat_common.c(254): error: expected a declaration return 0; ^ ../drivers/raw/ioat/ioat_common.c(256): error #77: this declaration has no storage class or type specifier cleanup: ^ ../drivers/raw/ioat/ioat_common.c(256): error: expected a ";" cleanup: ^ ../drivers/raw/ioat/ioat_common.c(260): error: expected a declaration return ret; ^ ../drivers/raw/ioat/ioat_common.c(261): error: expected a declaration } ^ compilation aborted for ../drivers/raw/ioat/ioat_common.c (code 2) [1798/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_rawdev.c(11): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer static const uintptr_t null_hdl; ^ In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_rawdev.c(11): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer static const struct rte_idxd_user_hdl null_hdl; ^ [1799/2786] Generating rte_raw_dpaa2_qdma.sym_chk with a meson_exe.py custom command [1800/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/idxd_vdev.c(16): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer static const uintptr_t null_hdl; ^ In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/idxd_vdev.c(16): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer static const struct rte_idxd_user_hdl null_hdl; ^ [1801/2786] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1802/2786] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1803/2786] Generating rte_net_virtio.sym_chk with a meson_exe.py custom command [1804/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/idxd_pci.c(8): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer static const uintptr_t null_hdl; ^ In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/idxd_pci.c(8): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer static const struct rte_idxd_user_hdl null_hdl; ^ [1805/2786] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1806/2786] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1807/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_rawdev_test.c(9): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer static const uintptr_t null_hdl; ^ In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_rawdev_test.c(9): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer static const struct rte_idxd_user_hdl null_hdl; ^ [1808/2786] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_tx.c.o ninja: build stopped *Build Failed #4: OS: CENTOS83-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined goto cleanup; ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] int ret = 0; ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] struct idxd_rawdev *idxd; ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] const struct idxd_rawdev *base_idxd, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] const struct rte_rawdev_ops *ops) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] mz = rte_memzone_reserve(mz_name, ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? mz = rte_memzone_reserve(mz_name, ^~~~~~~ tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? dev->numa_node, ^~~ div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ if (mz == NULL) { ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_private = mz->addr; ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_ops = ops; ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->device = dev; ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function); did you mean ‘rand_r’? idxd = rawdev->dev_private; ^~~~~~ rand_r ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->public.type = RTE_IDXD_DEV; ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->rawdev = rawdev; ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->mz = mz; ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ return 0; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token cleanup: ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ return ret; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token } ^ cc1: all warnings being treated as errors [1848/2626] Generating rte_raw_ioat_def with a custom command [1849/2626] Generating rte_net_virtio.pmd.c with a custom command [1850/2626] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1851/2626] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1852/2626] Generating rte_net_vmxnet3.sym_chk with a meson_exe.py custom command [1853/2626] Generating rte_raw_dpaa2_qdma.sym_chk with a meson_exe.py custom command [1854/2626] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1855/2626] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1856/2626] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o ninja: build stopped *Build Failed #5: OS: CENTOS83-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined goto cleanup; ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] int ret = 0; ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] struct idxd_rawdev *idxd; ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] const struct idxd_rawdev *base_idxd, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] const struct rte_rawdev_ops *ops) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] mz = rte_memzone_reserve(mz_name, ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? mz = rte_memzone_reserve(mz_name, ^~~~~~~ tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? dev->numa_node, ^~~ div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ if (mz == NULL) { ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_private = mz->addr; ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_ops = ops; ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->device = dev; ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function); did you mean ‘rand_r’? idxd = rawdev->dev_private; ^~~~~~ rand_r ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->public.type = RTE_IDXD_DEV; ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->rawdev = rawdev; ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->mz = mz; ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ return 0; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token cleanup: ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ return ret; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token } ^ cc1: all warnings being treated as errors [1822/2783] Generating rte_raw_ntb_mingw with a custom command [1823/2783] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1824/2783] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1825/2783] Generating rte_net_txgbe.sym_chk with a meson_exe.py custom command [1826/2783] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1827/2783] Generating rte_net_vmxnet3.sym_chk with a meson_exe.py custom command [1828/2783] Generating rte_raw_dpaa2_qdma.sym_chk with a meson_exe.py custom command [1829/2783] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1830/2783] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1831/2783] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1832/2783] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #6: OS: FC33-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined 227 | goto cleanup; | ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] 197 | int ret = 0; | ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] 193 | struct idxd_rawdev *idxd; | ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] 190 | const struct idxd_rawdev *base_idxd, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] 191 | const struct rte_rawdev_ops *ops) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] 233 | mz = rte_memzone_reserve(mz_name, | ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? 233 | mz = rte_memzone_reserve(mz_name, | ^~~~~~~ | tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? 235 | dev->numa_node, | ^~~ | div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ 237 | if (mz == NULL) { | ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 243 | rawdev->dev_private = mz->addr; | ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 244 | rawdev->dev_ops = ops; | ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 245 | rawdev->device = dev; | ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 246 | rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; | ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function) 248 | idxd = rawdev->dev_private; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 250 | idxd->public.type = RTE_IDXD_DEV; | ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 251 | idxd->rawdev = rawdev; | ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 252 | idxd->mz = mz; | ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ 254 | return 0; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token 256 | cleanup: | ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ 260 | return ret; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token 261 | } | ^ cc1: all warnings being treated as errors [1846/2795] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1847/2795] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1848/2795] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1849/2795] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_msg.c.o [1850/2795] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_test.c.o [1851/2795] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1852/2795] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_rawdev.c.o [1853/2795] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_test.c.o [1854/2795] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_enqdeq.c.o [1855/2795] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_rawdev.c.o [1856/2795] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #7: OS: FC33-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c:206:8: error: use of undeclared label 'cleanup' goto cleanup; ^ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter 'base_idxd' [-Werror,-Wunused-parameter] const struct idxd_rawdev *base_idxd, ^ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter 'ops' [-Werror,-Wunused-parameter] const struct rte_rawdev_ops *ops) ^ ../drivers/raw/ioat/ioat_common.c:233:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:233:27: error: use of undeclared identifier 'mz_name' mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:235:4: error: use of undeclared identifier 'dev' dev->numa_node, ^ ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or '(' if (mz == NULL) { ^ ../drivers/raw/ioat/ioat_common.c:243:2: error: unknown type name 'rawdev' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected identifier or '(' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:244:2: error: unknown type name 'rawdev' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected identifier or '(' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:245:2: error: unknown type name 'rawdev' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected identifier or '(' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:246:2: error: unknown type name 'rawdev' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected identifier or '(' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:248:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:248:9: error: use of undeclared identifier 'rawdev' idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c:249:11: error: use of undeclared identifier 'base_idxd' *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [1844/2795] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1845/2795] Generating rte_raw_dpaa2_qdma.sym_chk with a meson_exe.py custom command [1846/2795] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1847/2795] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1848/2795] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1849/2795] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1850/2795] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1851/2795] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_msg.c.o [1852/2795] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #8: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function 'idxd_rawdev_create': ../drivers/raw/ioat/ioat_common.c:227:4: error: label 'cleanup' used but not defined 227 | goto cleanup; | ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable] 197 | int ret = 0; | ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable 'idxd' [-Werror=unused-variable] 193 | struct idxd_rawdev *idxd; | ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter 'base_idxd' [-Werror=unused-parameter] 190 | const struct idxd_rawdev *base_idxd, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter 'ops' [-Werror=unused-parameter] 191 | const struct rte_rawdev_ops *ops) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] 233 | mz = rte_memzone_reserve(mz_name, | ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to 'int' in declaration of 'mz' [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: 'mz_name' undeclared here (not in a function); did you mean 'tzname'? 233 | mz = rte_memzone_reserve(mz_name, | ^~~~~~~ | tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: 'dev' undeclared here (not in a function); did you mean 'div'? 235 | dev->numa_node, | ^~~ | div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or '(' before 'if' 237 | if (mz == NULL) { | ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 243 | rawdev->dev_private = mz->addr; | ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 244 | rawdev->dev_ops = ops; | ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 245 | rawdev->device = dev; | ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 246 | rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; | ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to 'int' in declaration of 'idxd' [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: 'rawdev' undeclared here (not in a function); did you mean 'sranddev'? 248 | idxd = rawdev->dev_private; | ^~~~~~ | sranddev ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to 'int' in declaration of 'idxd' [-Werror=implicit-int] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for 'idxd' ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of 'idxd' was here 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: 'base_idxd' undeclared here (not in a function) 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 250 | idxd->public.type = RTE_IDXD_DEV; | ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 251 | idxd->rawdev = rawdev; | ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 252 | idxd->mz = mz; | ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or '(' before 'return' 254 | return 0; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 256 | cleanup: | ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or '(' before 'return' 260 | return ret; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or '(' before '}' token 261 | } | ^ cc1: all warnings being treated as errors [1352/2010] Generating rte_net_virtio.pmd.c with a custom command [1353/2010] Generating rte_net_txgbe.sym_chk with a meson_exe.py custom command [1354/2010] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1355/2010] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1356/2010] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o ninja: build stopped *Build Failed #9: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable 'idxd' [-Werror,-Wunused-variable] struct idxd_rawdev *idxd; ^ ../drivers/raw/ioat/ioat_common.c:206:8: error: use of undeclared label 'cleanup' goto cleanup; ^ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter 'base_idxd' [-Werror,-Wunused-parameter] const struct idxd_rawdev *base_idxd, ^ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter 'ops' [-Werror,-Wunused-parameter] const struct rte_rawdev_ops *ops) ^ ../drivers/raw/ioat/ioat_common.c:233:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:233:27: error: use of undeclared identifier 'mz_name' mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:235:4: error: use of undeclared identifier 'dev' dev->numa_node, ^ ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or '(' if (mz == NULL) { ^ ../drivers/raw/ioat/ioat_common.c:243:2: error: unknown type name 'rawdev' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected identifier or '(' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:244:2: error: unknown type name 'rawdev' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected identifier or '(' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:245:2: error: unknown type name 'rawdev' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected identifier or '(' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:246:2: error: unknown type name 'rawdev' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected identifier or '(' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:248:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:248:9: error: use of undeclared identifier 'rawdev' idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [1369/2010] Generating rte_raw_ntb_def with a custom command [1370/2010] Generating rte_net_vmxnet3.sym_chk with a meson_exe.py custom command [1371/2010] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1372/2010] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1373/2010] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #10: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function 'idxd_rawdev_create': ../drivers/raw/ioat/ioat_common.c:227:4: error: label 'cleanup' used but not defined 227 | goto cleanup; | ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable] 197 | int ret = 0; | ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable 'idxd' [-Werror=unused-variable] 193 | struct idxd_rawdev *idxd; | ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter 'base_idxd' [-Werror=unused-parameter] 190 | const struct idxd_rawdev *base_idxd, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter 'ops' [-Werror=unused-parameter] 191 | const struct rte_rawdev_ops *ops) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] 233 | mz = rte_memzone_reserve(mz_name, | ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to 'int' in declaration of 'mz' [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: 'mz_name' undeclared here (not in a function); did you mean 'tzname'? 233 | mz = rte_memzone_reserve(mz_name, | ^~~~~~~ | tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: 'dev' undeclared here (not in a function); did you mean 'div'? 235 | dev->numa_node, | ^~~ | div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or '(' before 'if' 237 | if (mz == NULL) { | ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 243 | rawdev->dev_private = mz->addr; | ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 244 | rawdev->dev_ops = ops; | ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 245 | rawdev->device = dev; | ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 246 | rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; | ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to 'int' in declaration of 'idxd' [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: 'rawdev' undeclared here (not in a function); did you mean 'sranddev'? 248 | idxd = rawdev->dev_private; | ^~~~~~ | sranddev ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to 'int' in declaration of 'idxd' [-Werror=implicit-int] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for 'idxd' ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of 'idxd' was here 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: 'base_idxd' undeclared here (not in a function) 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 250 | idxd->public.type = RTE_IDXD_DEV; | ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 251 | idxd->rawdev = rawdev; | ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 252 | idxd->mz = mz; | ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or '(' before 'return' 254 | return 0; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 256 | cleanup: | ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or '(' before 'return' 260 | return ret; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or '(' before '}' token 261 | } | ^ cc1: all warnings being treated as errors [1370/1892] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1371/1892] Generating rte_net_txgbe.pmd.c with a custom command [1372/1892] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o [1373/1892] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1374/1892] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o ninja: build stopped *Build Failed #11: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function 'idxd_rawdev_create': ../drivers/raw/ioat/ioat_common.c:227:4: error: label 'cleanup' used but not defined 227 | goto cleanup; | ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable] 197 | int ret = 0; | ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable 'idxd' [-Werror=unused-variable] 193 | struct idxd_rawdev *idxd; | ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter 'base_idxd' [-Werror=unused-parameter] 190 | const struct idxd_rawdev *base_idxd, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter 'ops' [-Werror=unused-parameter] 191 | const struct rte_rawdev_ops *ops) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] 233 | mz = rte_memzone_reserve(mz_name, | ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to 'int' in declaration of 'mz' [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: 'mz_name' undeclared here (not in a function); did you mean 'tzname'? 233 | mz = rte_memzone_reserve(mz_name, | ^~~~~~~ | tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: 'dev' undeclared here (not in a function); did you mean 'div'? 235 | dev->numa_node, | ^~~ | div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or '(' before 'if' 237 | if (mz == NULL) { | ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 243 | rawdev->dev_private = mz->addr; | ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 244 | rawdev->dev_ops = ops; | ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 245 | rawdev->device = dev; | ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 246 | rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; | ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to 'int' in declaration of 'idxd' [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: 'rawdev' undeclared here (not in a function); did you mean 'sranddev'? 248 | idxd = rawdev->dev_private; | ^~~~~~ | sranddev ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to 'int' in declaration of 'idxd' [-Werror=implicit-int] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for 'idxd' ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of 'idxd' was here 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: 'base_idxd' undeclared here (not in a function) 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 250 | idxd->public.type = RTE_IDXD_DEV; | ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 251 | idxd->rawdev = rawdev; | ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token 252 | idxd->mz = mz; | ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or '(' before 'return' 254 | return 0; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 256 | cleanup: | ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or '(' before 'return' 260 | return ret; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or '(' before '}' token 261 | } | ^ cc1: all warnings being treated as errors [1346/2010] Linking static target drivers/libtmp_rte_net_txgbe.a [1347/2010] Generating rte_net_virtio.pmd.c with a custom command [1348/2010] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1349/2010] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1350/2010] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o ninja: build stopped *Build Failed #12: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined goto cleanup; ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] int ret = 0; ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] struct idxd_rawdev *idxd; ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] const struct idxd_rawdev *base_idxd, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] const struct rte_rawdev_ops *ops) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] mz = rte_memzone_reserve(mz_name, ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? mz = rte_memzone_reserve(mz_name, ^~~~~~~ tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? dev->numa_node, ^~~ div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ if (mz == NULL) { ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_private = mz->addr; ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_ops = ops; ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->device = dev; ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function); did you mean ‘rand_r’? idxd = rawdev->dev_private; ^~~~~~ rand_r ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->public.type = RTE_IDXD_DEV; ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->rawdev = rawdev; ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->mz = mz; ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ return 0; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token cleanup: ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ return ret; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token } ^ cc1: all warnings being treated as errors [1815/2786] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o [1816/2786] Generating rte_raw_dpaa2_qdma.sym_chk with a custom command (wrapped by meson to capture output) [1817/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1818/2786] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1819/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1820/2786] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1821/2786] Generating rte_net_vmxnet3.sym_chk with a custom command (wrapped by meson to capture output) [1822/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1823/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o ninja: build stopped *Build Failed #13: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c:206:8: error: use of undeclared label 'cleanup' goto cleanup; ^ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter 'base_idxd' [-Werror,-Wunused-parameter] const struct idxd_rawdev *base_idxd, ^ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter 'ops' [-Werror,-Wunused-parameter] const struct rte_rawdev_ops *ops) ^ ../drivers/raw/ioat/ioat_common.c:233:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:233:27: error: use of undeclared identifier 'mz_name' mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:235:4: error: use of undeclared identifier 'dev' dev->numa_node, ^ ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or '(' if (mz == NULL) { ^ ../drivers/raw/ioat/ioat_common.c:243:2: error: unknown type name 'rawdev' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected identifier or '(' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:244:2: error: unknown type name 'rawdev' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected identifier or '(' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:245:2: error: unknown type name 'rawdev' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected identifier or '(' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:246:2: error: unknown type name 'rawdev' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected identifier or '(' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:248:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:248:9: error: use of undeclared identifier 'rawdev' idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c:249:11: error: use of undeclared identifier 'base_idxd' *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [1823/2689] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_intel_max10.c.o [1824/2689] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_i2c.c.o [1825/2689] Generating rte_raw_dpaa2_qdma.sym_chk with a custom command (wrapped by meson to capture output) [1826/2689] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1827/2689] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1828/2689] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1829/2689] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1830/2689] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1831/2689] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o ninja: build stopped *Build Failed #14: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined goto cleanup; ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] int ret = 0; ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] struct idxd_rawdev *idxd; ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] const struct idxd_rawdev *base_idxd, ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] const struct rte_rawdev_ops *ops) ^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] mz = rte_memzone_reserve(mz_name, ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? mz = rte_memzone_reserve(mz_name, ^~~~~~~ tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? dev->numa_node, ^~~ div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ if (mz == NULL) { ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_private = mz->addr; ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_ops = ops; ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->device = dev; ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function); did you mean ‘dev’? idxd = rawdev->dev_private; ^~~~~~ dev ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->public.type = RTE_IDXD_DEV; ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->rawdev = rawdev; ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->mz = mz; ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ return 0; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token cleanup: ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ return ret; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token } ^ cc1: all warnings being treated as errors [1822/2687] Generating rte_raw_ioat_def with a custom command [1823/2687] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_eth_group.c.o [1824/2687] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1825/2687] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1826/2687] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1827/2687] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1828/2687] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o ninja: build stopped *Build Failed #15: OS: CentOsStream8-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined goto cleanup; ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] int ret = 0; ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] struct idxd_rawdev *idxd; ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] const struct idxd_rawdev *base_idxd, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] const struct rte_rawdev_ops *ops) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] mz = rte_memzone_reserve(mz_name, ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? mz = rte_memzone_reserve(mz_name, ^~~~~~~ tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? dev->numa_node, ^~~ div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ if (mz == NULL) { ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_private = mz->addr; ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->dev_ops = ops; ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->device = dev; ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function); did you mean ‘rand_r’? idxd = rawdev->dev_private; ^~~~~~ rand_r ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here idxd = rawdev->dev_private; ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) *idxd = *base_idxd; /* copy over the main fields already passed in */ ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->public.type = RTE_IDXD_DEV; ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->rawdev = rawdev; ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token idxd->mz = mz; ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ return 0; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token cleanup: ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ return ret; ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token } ^ cc1: all warnings being treated as errors [1817/2786] Compiling C object drivers/librte_net_virtio.a.p/meson-generated_.._rte_net_virtio.pmd.c.o [1818/2786] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_i2c.c.o [1819/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1820/2786] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1821/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1822/2786] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1823/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1824/2786] Generating rte_raw_dpaa2_qdma.sym_chk with a custom command (wrapped by meson to capture output) [1825/2786] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1826/2786] Generating rte_net_vmxnet3.sym_chk with a custom command (wrapped by meson to capture output) [1827/2786] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #16: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined 227 | goto cleanup; | ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] 197 | int ret = 0; | ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] 193 | struct idxd_rawdev *idxd; | ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] 190 | const struct idxd_rawdev *base_idxd, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] 191 | const struct rte_rawdev_ops *ops) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] 233 | mz = rte_memzone_reserve(mz_name, | ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? 233 | mz = rte_memzone_reserve(mz_name, | ^~~~~~~ | tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? 235 | dev->numa_node, | ^~~ | div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ 237 | if (mz == NULL) { | ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 243 | rawdev->dev_private = mz->addr; | ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 244 | rawdev->dev_ops = ops; | ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 245 | rawdev->device = dev; | ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 246 | rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; | ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function) 248 | idxd = rawdev->dev_private; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 250 | idxd->public.type = RTE_IDXD_DEV; | ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 251 | idxd->rawdev = rawdev; | ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 252 | idxd->mz = mz; | ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ 254 | return 0; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token 256 | cleanup: | ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ 260 | return ret; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token 261 | } | ^ cc1: all warnings being treated as errors [1587/2342] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_eth_group.c.o [1588/2342] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1589/2342] Generating rte_raw_dpaa2_qdma.sym_chk with a meson_exe.py custom command [1590/2342] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1591/2342] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1592/2342] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1593/2342] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1594/2342] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1595/2342] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #17: OS: UB2004-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable 'idxd' [-Werror,-Wunused-variable] struct idxd_rawdev *idxd; ^ ../drivers/raw/ioat/ioat_common.c:206:8: error: use of undeclared label 'cleanup' goto cleanup; ^ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter 'base_idxd' [-Werror,-Wunused-parameter] const struct idxd_rawdev *base_idxd, ^ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter 'ops' [-Werror,-Wunused-parameter] const struct rte_rawdev_ops *ops) ^ ../drivers/raw/ioat/ioat_common.c:233:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:233:27: error: use of undeclared identifier 'mz_name' mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c:235:4: error: use of undeclared identifier 'dev' dev->numa_node, ^ ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or '(' if (mz == NULL) { ^ ../drivers/raw/ioat/ioat_common.c:243:2: error: unknown type name 'rawdev' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected identifier or '(' rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c:244:2: error: unknown type name 'rawdev' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected identifier or '(' rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c:245:2: error: unknown type name 'rawdev' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected identifier or '(' rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c:246:2: error: unknown type name 'rawdev' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected identifier or '(' rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c:248:2: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:248:9: error: use of undeclared identifier 'rawdev' idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [1831/2782] Linking static target drivers/raw/ifpga/base/libifpga_rawdev_base.a [1832/2782] Linking static target drivers/librte_raw_dpaa2_qdma.a [1833/2782] Compiling C object drivers/librte_raw_dpaa2_qdma.so.21.1.p/meson-generated_.._rte_raw_dpaa2_qdma.pmd.c.o [1834/2782] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1835/2782] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1836/2782] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1837/2782] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1838/2782] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1839/2782] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o ninja: build stopped *Build Failed #18: OS: UB2004-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined 227 | goto cleanup; | ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] 197 | int ret = 0; | ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] 193 | struct idxd_rawdev *idxd; | ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] 190 | const struct idxd_rawdev *base_idxd, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] 191 | const struct rte_rawdev_ops *ops) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] 233 | mz = rte_memzone_reserve(mz_name, | ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? 233 | mz = rte_memzone_reserve(mz_name, | ^~~~~~~ | tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? 235 | dev->numa_node, | ^~~ | div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ 237 | if (mz == NULL) { | ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 243 | rawdev->dev_private = mz->addr; | ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 244 | rawdev->dev_ops = ops; | ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 245 | rawdev->device = dev; | ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 246 | rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; | ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function) 248 | idxd = rawdev->dev_private; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 250 | idxd->public.type = RTE_IDXD_DEV; | ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 251 | idxd->rawdev = rawdev; | ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 252 | idxd->mz = mz; | ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ 254 | return 0; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token 256 | cleanup: | ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ 260 | return ret; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token 261 | } | ^ cc1: all warnings being treated as errors [1834/2782] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1835/2782] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1836/2782] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1837/2782] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1838/2782] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1839/2782] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_test.c.o [1840/2782] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_msg.c.o [1841/2782] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1842/2782] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #19: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o icc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/ioat_common.c(10): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer static const uintptr_t null_hdl; ^ In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/ioat_common.c(10): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer static const struct rte_idxd_user_hdl null_hdl; ^ ../drivers/raw/ioat/ioat_common.c(206): error: label "cleanup" was referenced but not defined goto cleanup; ^ ../drivers/raw/ioat/ioat_common.c(233): error #77: this declaration has no storage class or type specifier mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c(233): error: function call is not allowed in a constant expression mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c(233): error: identifier "mz_name" is undefined mz = rte_memzone_reserve(mz_name, ^ ../drivers/raw/ioat/ioat_common.c(235): error: identifier "dev" is undefined dev->numa_node, ^ ../drivers/raw/ioat/ioat_common.c(237): error: expected a declaration if (mz == NULL) { ^ ../drivers/raw/ioat/ioat_common.c(243): error #12: parsing restarts here after previous syntax error rawdev->dev_private = mz->addr; ^ ../drivers/raw/ioat/ioat_common.c(244): error #77: this declaration has no storage class or type specifier rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c(244): error: expected a ";" rawdev->dev_ops = ops; ^ ../drivers/raw/ioat/ioat_common.c(245): error #77: this declaration has no storage class or type specifier rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c(245): error: expected a ";" rawdev->device = dev; ^ ../drivers/raw/ioat/ioat_common.c(246): error #77: this declaration has no storage class or type specifier rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c(246): error: expected a ";" rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; ^ ../drivers/raw/ioat/ioat_common.c(248): error #77: this declaration has no storage class or type specifier idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c(248): error: expression must have a constant value idxd = rawdev->dev_private; ^ ../drivers/raw/ioat/ioat_common.c(249): error #77: this declaration has no storage class or type specifier *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c(249): error: declaration is incompatible with "int idxd" (declared at line 248) *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c(249): error: identifier "base_idxd" is undefined *idxd = *base_idxd; /* copy over the main fields already passed in */ ^ ../drivers/raw/ioat/ioat_common.c(250): error #77: this declaration has no storage class or type specifier idxd->public.type = RTE_IDXD_DEV; ^ ../drivers/raw/ioat/ioat_common.c(250): error: expected a ";" idxd->public.type = RTE_IDXD_DEV; ^ ../drivers/raw/ioat/ioat_common.c(251): error #77: this declaration has no storage class or type specifier idxd->rawdev = rawdev; ^ ../drivers/raw/ioat/ioat_common.c(251): error: expected a ";" idxd->rawdev = rawdev; ^ ../drivers/raw/ioat/ioat_common.c(252): error #77: this declaration has no storage class or type specifier idxd->mz = mz; ^ ../drivers/raw/ioat/ioat_common.c(252): error: expected a ";" idxd->mz = mz; ^ ../drivers/raw/ioat/ioat_common.c(254): error: expected a declaration return 0; ^ ../drivers/raw/ioat/ioat_common.c(256): error #77: this declaration has no storage class or type specifier cleanup: ^ ../drivers/raw/ioat/ioat_common.c(256): error: expected a ";" cleanup: ^ ../drivers/raw/ioat/ioat_common.c(260): error: expected a declaration return ret; ^ ../drivers/raw/ioat/ioat_common.c(261): error: expected a declaration } ^ compilation aborted for ../drivers/raw/ioat/ioat_common.c (code 2) [1763/2736] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o [1764/2736] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/idxd_vdev.c(16): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer static const uintptr_t null_hdl; ^ In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/idxd_vdev.c(16): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer static const struct rte_idxd_user_hdl null_hdl; ^ [1765/2736] Generating rte_raw_dpaa2_cmdif.sym_chk with a meson_exe.py custom command [1766/2736] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/idxd_pci.c(8): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer static const uintptr_t null_hdl; ^ In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169), from ../drivers/raw/ioat/ioat_private.h(19), from ../drivers/raw/ioat/idxd_pci.c(8): ../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer static const struct rte_idxd_user_hdl null_hdl; ^ [1767/2736] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o [1768/2736] Compiling C object drivers/libtmp_rte_raw_dpaa2_qdma.a.p/raw_dpaa2_qdma_dpaa2_qdma.c.o [1769/2736] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1770/2736] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1771/2736] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_tx.c.o ninja: build stopped *Build Failed #20: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o gcc -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined 227 | goto cleanup; | ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] 197 | int ret = 0; | ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] 193 | struct idxd_rawdev *idxd; | ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] 190 | const struct idxd_rawdev *base_idxd, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] 191 | const struct rte_rawdev_ops *ops) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] 233 | mz = rte_memzone_reserve(mz_name, | ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? 233 | mz = rte_memzone_reserve(mz_name, | ^~~~~~~ | tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? 235 | dev->numa_node, | ^~~ | div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ 237 | if (mz == NULL) { | ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 243 | rawdev->dev_private = mz->addr; | ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 244 | rawdev->dev_ops = ops; | ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 245 | rawdev->device = dev; | ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 246 | rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; | ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function) 248 | idxd = rawdev->dev_private; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 250 | idxd->public.type = RTE_IDXD_DEV; | ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 251 | idxd->rawdev = rawdev; | ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 252 | idxd->mz = mz; | ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ 254 | return 0; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token 256 | cleanup: | ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ 260 | return ret; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token 261 | } | ^ cc1: all warnings being treated as errors [1828/2592] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1829/2592] Generating rte_raw_dpaa2_qdma.sym_chk with a meson_exe.py custom command [1830/2592] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o [1831/2592] Generating rte_net_vmxnet3.sym_chk with a meson_exe.py custom command [1832/2592] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o [1833/2592] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o [1834/2592] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o [1835/2592] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o [1836/2592] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o ninja: build stopped *Build Failed #21: OS: UB2010-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/a715181@@tmp_rte_raw_ioat@sta/raw_ioat_ioat_common.c.o gcc -Idrivers/a715181@@tmp_rte_raw_ioat@sta -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ 'drivers/a715181@@tmp_rte_raw_ioat@sta/raw_ioat_ioat_common.c.o' -MF 'drivers/a715181@@tmp_rte_raw_ioat@sta/raw_ioat_ioat_common.c.o.d' -o 'drivers/a715181@@tmp_rte_raw_ioat@sta/raw_ioat_ioat_common.c.o' -c ../drivers/raw/ioat/ioat_common.c ../drivers/raw/ioat/ioat_common.c: In function ‘idxd_rawdev_create’: ../drivers/raw/ioat/ioat_common.c:227:4: error: label ‘cleanup’ used but not defined 227 | goto cleanup; | ^~~~ ../drivers/raw/ioat/ioat_common.c:197:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] 197 | int ret = 0; | ^~~ ../drivers/raw/ioat/ioat_common.c:193:22: error: unused variable ‘idxd’ [-Werror=unused-variable] 193 | struct idxd_rawdev *idxd; | ^~~~ ../drivers/raw/ioat/ioat_common.c:190:32: error: unused parameter ‘base_idxd’ [-Werror=unused-parameter] 190 | const struct idxd_rawdev *base_idxd, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:191:35: error: unused parameter ‘ops’ [-Werror=unused-parameter] 191 | const struct rte_rawdev_ops *ops) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../drivers/raw/ioat/ioat_common.c: At top level: ../drivers/raw/ioat/ioat_common.c:233:2: error: data definition has no type or storage class [-Werror] 233 | mz = rte_memzone_reserve(mz_name, | ^~ ../drivers/raw/ioat/ioat_common.c:233:2: error: type defaults to ‘int’ in declaration of ‘mz’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:233:27: error: ‘mz_name’ undeclared here (not in a function); did you mean ‘tzname’? 233 | mz = rte_memzone_reserve(mz_name, | ^~~~~~~ | tzname ../drivers/raw/ioat/ioat_common.c:235:4: error: ‘dev’ undeclared here (not in a function); did you mean ‘div’? 235 | dev->numa_node, | ^~~ | div ../drivers/raw/ioat/ioat_common.c:237:2: error: expected identifier or ‘(’ before ‘if’ 237 | if (mz == NULL) { | ^~ ../drivers/raw/ioat/ioat_common.c:243:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 243 | rawdev->dev_private = mz->addr; | ^~ ../drivers/raw/ioat/ioat_common.c:244:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 244 | rawdev->dev_ops = ops; | ^~ ../drivers/raw/ioat/ioat_common.c:245:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 245 | rawdev->device = dev; | ^~ ../drivers/raw/ioat/ioat_common.c:246:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 246 | rawdev->driver_name = IOAT_PMD_RAWDEV_NAME_STR; | ^~ ../drivers/raw/ioat/ioat_common.c:248:2: error: data definition has no type or storage class [-Werror] 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:248:2: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] ../drivers/raw/ioat/ioat_common.c:248:9: error: ‘rawdev’ undeclared here (not in a function) 248 | idxd = rawdev->dev_private; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:249:2: error: data definition has no type or storage class [-Werror] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^ ../drivers/raw/ioat/ioat_common.c:249:3: error: type defaults to ‘int’ in declaration of ‘idxd’ [-Werror=implicit-int] 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:3: error: conflicting types for ‘idxd’ ../drivers/raw/ioat/ioat_common.c:248:2: note: previous definition of ‘idxd’ was here 248 | idxd = rawdev->dev_private; | ^~~~ ../drivers/raw/ioat/ioat_common.c:249:11: error: ‘base_idxd’ undeclared here (not in a function) 249 | *idxd = *base_idxd; /* copy over the main fields already passed in */ | ^~~~~~~~~ ../drivers/raw/ioat/ioat_common.c:250:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 250 | idxd->public.type = RTE_IDXD_DEV; | ^~ ../drivers/raw/ioat/ioat_common.c:251:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 251 | idxd->rawdev = rawdev; | ^~ ../drivers/raw/ioat/ioat_common.c:252:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token 252 | idxd->mz = mz; | ^~ ../drivers/raw/ioat/ioat_common.c:254:2: error: expected identifier or ‘(’ before ‘return’ 254 | return 0; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:256:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token 256 | cleanup: | ^ ../drivers/raw/ioat/ioat_common.c:260:2: error: expected identifier or ‘(’ before ‘return’ 260 | return ret; | ^~~~~~ ../drivers/raw/ioat/ioat_common.c:261:1: error: expected identifier or ‘(’ before ‘}’ token 261 | } | ^ cc1: all warnings being treated as errors [1832/2785] Compiling C object 'drivers/raw/ifpga/base/422485f@@ifpga_rawdev_base@sta/opae_intel_max10.c.o'. [1833/2785] Generating rte_raw_dpaa2_qdma.sym_chk with a meson_exe.py custom command. [1834/2785] Compiling C object 'drivers/a715181@@tmp_rte_raw_ioat@sta/raw_ioat_idxd_pci.c.o'. [1835/2785] Compiling C object 'drivers/a715181@@tmp_rte_raw_ioat@sta/raw_ioat_idxd_vdev.c.o'. [1836/2785] Compiling C object 'drivers/a715181@@tmp_rte_raw_ntb@sta/raw_ntb_ntb_hw_intel.c.o'. [1837/2785] Compiling C object 'drivers/a715181@@tmp_rte_raw_ioat@sta/raw_ioat_ioat_rawdev.c.o'. [1838/2785] Compiling C object 'drivers/a715181@@tmp_rte_raw_ifpga@sta/raw_ifpga_ifpga_rawdev.c.o'. [1839/2785] Compiling C object 'drivers/a715181@@tmp_rte_raw_ioat@sta/raw_ioat_ioat_rawdev_test.c.o'. [1840/2785] Compiling C object 'drivers/a715181@@tmp_rte_raw_ntb@sta/raw_ntb_ntb.c.o'. ninja: build stopped DPDK STV team