Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/107752 _Compilation issues_ Submitter: Srikanth Kaka Date: 2022-02-17 16:06:13 Reply_mail: 20220217160613.70161-16-srikanth.k@oneconvergence.com DPDK git baseline: Repo:dpdk-next-net, CommitID: 3cd2a1608d67da3e6984df9620c1add2bfe38f8e Meson Build Summary: 21 Builds Done, 17 Successful, 4 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC35-64 | pass | pass | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | | RHEL84-64 | pass | pass | pass | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | pass | | | pass | pass | | UB2110-64 | pass | | | | | | | | RHEL85-64 | pass | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Beacasue of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FC35-64 Kernel Version: 5.14.16-301.fc35.x86_64 GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL84-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc OS: SUSE15-64 Kernel Version: 5.3.18-57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc x86_64-native-linuxapp-gcc+16byte OS: UB2110-64 Kernel Version: 5.13.0-19-generic GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 Clang Version: 13.0.0-2 x86_64-native-linuxapp-gcc OS: RHEL85-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility) x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o gcc -Idrivers/libtmp_rte_bus_vmbus.a.p -Idrivers -I../drivers -Idrivers/bus/vmbus -I../drivers/bus/vmbus -I../drivers/bus/vmbus/freebsd -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.vmbus -MD -MQ drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o -MF drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o.d -o drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o -c ../drivers/bus/vmbus/freebsd/vmbus_uio.c ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_irq_control': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:44:28: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 44 | if (write(dev->intr_handle.fd, &onoff, sizeof(onoff)) < 0) { | ^ | -> In file included from ../drivers/bus/vmbus/freebsd/vmbus_uio.c:18: ../drivers/bus/vmbus/freebsd/vmbus_uio.c:46:20: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 46 | dev->intr_handle.fd, strerror(errno)); | ^ ../drivers/bus/vmbus/private.h:21:15: note: in definition of macro 'VMBUS_LOG' 21 | __func__, ##args) | ^~~~ ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_irq_read': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:55:28: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 55 | cc = read(dev->intr_handle.fd, &count, sizeof(count)); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_free_resource': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:75:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 75 | if (dev->intr_handle.uio_cfg_fd >= 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:76:25: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 76 | close(dev->intr_handle.uio_cfg_fd); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:77:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 77 | dev->intr_handle.uio_cfg_fd = -1; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:80:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 80 | if (dev->intr_handle.fd >= 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:81:25: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 81 | close(dev->intr_handle.fd); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:82:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 82 | dev->intr_handle.fd = -1; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:83:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 83 | dev->intr_handle.type = RTE_INTR_HANDLE_UNKNOWN; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_alloc_resource': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:156:18: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 156 | dev->intr_handle.fd = open(devname, O_RDWR); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:157:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 157 | if (dev->intr_handle.fd < 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:162:18: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 162 | dev->intr_handle.type = RTE_INTR_HANDLE_UIO_INTX; | ^ | -> [604/2088] Compiling C object drivers/librte_bus_vdev.a.p/meson-generated_.._rte_bus_vdev.pmd.c.o [605/2088] Compiling C object drivers/librte_bus_vdev.so.22.1.p/meson-generated_.._rte_bus_vdev.pmd.c.o [606/2088] Generating rte_bus_vmbus_mingw with a custom command [607/2088] Compiling C object drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_bus.c.o [608/2088] Generating rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output) [609/2088] Generating graph.sym_chk with a custom command (wrapped by meson to capture output) [610/2088] Generating rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output) [611/2088] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [612/2088] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o clang -Idrivers/libtmp_rte_bus_vmbus.a.p -Idrivers -I../drivers -Idrivers/bus/vmbus -I../drivers/bus/vmbus -I../drivers/bus/vmbus/freebsd -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.vmbus -MD -MQ drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o -MF drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o.d -o drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o -c ../drivers/bus/vmbus/freebsd/vmbus_uio.c ../drivers/bus/vmbus/freebsd/vmbus_uio.c:44:28: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? if (write(dev->intr_handle.fd, &onoff, sizeof(onoff)) < 0) { ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:44:28: error: incomplete definition of type 'struct rte_intr_handle' if (write(dev->intr_handle.fd, &onoff, sizeof(onoff)) < 0) { ~~~~~~~~~~~~~~~~^ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:46:20: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? dev->intr_handle.fd, strerror(errno)); ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/private.h:21:15: note: expanded from macro 'VMBUS_LOG' __func__, ##args) ^~~~ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:46:20: error: incomplete definition of type 'struct rte_intr_handle' dev->intr_handle.fd, strerror(errno)); ~~~~~~~~~~~~~~~~^ ../drivers/bus/vmbus/private.h:21:15: note: expanded from macro 'VMBUS_LOG' __func__, ##args) ^~~~ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:55:28: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? cc = read(dev->intr_handle.fd, &count, sizeof(count)); ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:55:28: error: incomplete definition of type 'struct rte_intr_handle' cc = read(dev->intr_handle.fd, &count, sizeof(count)); ~~~~~~~~~~~~~~~~^ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:75:22: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? if (dev->intr_handle.uio_cfg_fd >= 0) { ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:75:22: error: incomplete definition of type 'struct rte_intr_handle' if (dev->intr_handle.uio_cfg_fd >= 0) { ~~~~~~~~~~~~~~~~^ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:76:25: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? close(dev->intr_handle.uio_cfg_fd); ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:76:25: error: incomplete definition of type 'struct rte_intr_handle' close(dev->intr_handle.uio_cfg_fd); ~~~~~~~~~~~~~~~~^ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:77:19: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? dev->intr_handle.uio_cfg_fd = -1; ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:77:19: error: incomplete definition of type 'struct rte_intr_handle' dev->intr_handle.uio_cfg_fd = -1; ~~~~~~~~~~~~~~~~^ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:80:22: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? if (dev->intr_handle.fd >= 0) { ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:80:22: error: incomplete definition of type 'struct rte_intr_handle' if (dev->intr_handle.fd >= 0) { ~~~~~~~~~~~~~~~~^ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:81:25: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? close(dev->intr_handle.fd); ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:81:25: error: incomplete definition of type 'struct rte_intr_handle' close(dev->intr_handle.fd); ~~~~~~~~~~~~~~~~^ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:82:19: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? dev->intr_handle.fd = -1; ~~~~~~~~~~~~~~~~^ -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:82:19: error: incomplete definition of type 'struct rte_intr_handle' dev->intr_handle.fd = -1; ~~~~~~~~~~~~~~~~^ ../lib/eal/include/rte_interrupts.h:27:8: note: forward declaration of 'struct rte_intr_handle' struct rte_intr_handle; ^ ../drivers/bus/vmbus/freebsd/vmbus_uio.c:83:19: error: member reference type 'struct rte_intr_handle *' is a pointer; did you mean to use '->'? dev->intr_handle.type = RTE_INTR_HANDLE_UNKNOWN; ~~~~~~~~~~~~~~~~^ -> fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [612/2049] Linking target drivers/librte_common_iavf.so.22.1 [613/2049] Generating graph.sym_chk with a custom command (wrapped by meson to capture output) [614/2049] Generating rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output) [615/2049] Generating rte_bus_vdev.sym_chk with a custom command (wrapped by meson to capture output) [616/2049] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_common.c.o [617/2049] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o [618/2049] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_pf2vf.c.o [619/2049] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_device.c.o [620/2049] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o gcc -Idrivers/libtmp_rte_bus_vmbus.a.p -Idrivers -I../drivers -Idrivers/bus/vmbus -I../drivers/bus/vmbus -I../drivers/bus/vmbus/freebsd -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.vmbus -MD -MQ drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o -MF drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o.d -o drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o -c ../drivers/bus/vmbus/freebsd/vmbus_uio.c ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_irq_control': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:44:28: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 44 | if (write(dev->intr_handle.fd, &onoff, sizeof(onoff)) < 0) { | ^ | -> In file included from ../drivers/bus/vmbus/freebsd/vmbus_uio.c:18: ../drivers/bus/vmbus/freebsd/vmbus_uio.c:46:20: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 46 | dev->intr_handle.fd, strerror(errno)); | ^ ../drivers/bus/vmbus/private.h:21:15: note: in definition of macro 'VMBUS_LOG' 21 | __func__, ##args) | ^~~~ ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_irq_read': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:55:28: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 55 | cc = read(dev->intr_handle.fd, &count, sizeof(count)); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_free_resource': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:75:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 75 | if (dev->intr_handle.uio_cfg_fd >= 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:76:25: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 76 | close(dev->intr_handle.uio_cfg_fd); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:77:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 77 | dev->intr_handle.uio_cfg_fd = -1; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:80:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 80 | if (dev->intr_handle.fd >= 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:81:25: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 81 | close(dev->intr_handle.fd); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:82:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 82 | dev->intr_handle.fd = -1; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:83:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 83 | dev->intr_handle.type = RTE_INTR_HANDLE_UNKNOWN; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_alloc_resource': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:156:18: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 156 | dev->intr_handle.fd = open(devname, O_RDWR); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:157:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 157 | if (dev->intr_handle.fd < 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:162:18: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 162 | dev->intr_handle.type = RTE_INTR_HANDLE_UIO_INTX; | ^ | -> [617/1951] Generating rte_bus_vmbus_mingw with a custom command [618/1951] Compiling C object drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_vmbus_common_uio.c.o [619/1951] Generating rte_bus_vdev.pmd.c with a custom command [620/1951] Compiling C object drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_bus.c.o [621/1951] Generating rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [622/1951] Generating rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output) [623/1951] Generating graph.sym_chk with a custom command (wrapped by meson to capture output) [624/1951] Generating rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output) [625/1951] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o gcc -Idrivers/libtmp_rte_bus_vmbus.a.p -Idrivers -I../drivers -Idrivers/bus/vmbus -I../drivers/bus/vmbus -I../drivers/bus/vmbus/freebsd -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.vmbus -MD -MQ drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o -MF drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o.d -o drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_uio.c.o -c ../drivers/bus/vmbus/freebsd/vmbus_uio.c ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_irq_control': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:44:28: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 44 | if (write(dev->intr_handle.fd, &onoff, sizeof(onoff)) < 0) { | ^ | -> In file included from ../drivers/bus/vmbus/freebsd/vmbus_uio.c:18: ../drivers/bus/vmbus/freebsd/vmbus_uio.c:46:20: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 46 | dev->intr_handle.fd, strerror(errno)); | ^ ../drivers/bus/vmbus/private.h:21:15: note: in definition of macro 'VMBUS_LOG' 21 | __func__, ##args) | ^~~~ ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_irq_read': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:55:28: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 55 | cc = read(dev->intr_handle.fd, &count, sizeof(count)); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_free_resource': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:75:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 75 | if (dev->intr_handle.uio_cfg_fd >= 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:76:25: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 76 | close(dev->intr_handle.uio_cfg_fd); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:77:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 77 | dev->intr_handle.uio_cfg_fd = -1; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:80:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 80 | if (dev->intr_handle.fd >= 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:81:25: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 81 | close(dev->intr_handle.fd); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:82:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 82 | dev->intr_handle.fd = -1; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:83:19: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 83 | dev->intr_handle.type = RTE_INTR_HANDLE_UNKNOWN; | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c: In function 'vmbus_uio_alloc_resource': ../drivers/bus/vmbus/freebsd/vmbus_uio.c:156:18: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 156 | dev->intr_handle.fd = open(devname, O_RDWR); | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:157:22: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 157 | if (dev->intr_handle.fd < 0) { | ^ | -> ../drivers/bus/vmbus/freebsd/vmbus_uio.c:162:18: error: 'dev->intr_handle' is a pointer; did you mean to use '->'? 162 | dev->intr_handle.type = RTE_INTR_HANDLE_UIO_INTX; | ^ | -> [603/2049] Linking static target drivers/librte_bus_vdev.a [604/2049] Compiling C object drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_vmbus_common_uio.c.o [605/2049] Generating rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [606/2049] Compiling C object drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_freebsd_vmbus_bus.c.o [607/2049] Generating rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output) [608/2049] Generating symbol file lib/librte_graph.so.22.1.p/librte_graph.so.22.1.symbols [609/2049] Generating rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output) [610/2049] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [611/2049] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped DPDK STV team