* [dpdk-test-report] |FAILURE| pw(126217) sid(27749) job(PER_PATCH_BUILD7118)[RFC, 4/4] bus/pci: add VFIO sparse mmap support
@ 2023-04-18 6:41 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-04-18 6:41 UTC (permalink / raw)
To: test-report, chenbo.xia
[-- Attachment #1: Type: text/plain, Size: 23836 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/126217
_Compilation issues_
Submitter: Chenbo Xia <chenbo.xia@intel.com>
Date: 2023-04-18 05:30:12
Reply_mail: <20230418053012.10667-5-chenbo.xia@intel.com>
DPDK git baseline: Repo:dpdk, CommitID: 3b3fef9de22af80d173453ab65a80b01ce38cbfd
Meson Build Summary: 25 Builds Done, 20 Successful, 5 Failures, 0 Blocked
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FreeBSD13-64 | fail | fail | | fail | fail | | |
| RHEL86-64 | pass | pass | | pass | pass | | |
| SUSE15-64 | pass | pass | | | | | |
| RHEL91-64 | pass | | | | | | |
| UB2004-64 | pass | pass | | | | pass | |
| UB2204-32 | pass | | | | | | |
| UB2204-64 | pass | pass | | | | pass | pass |
| CentOS79-64 | fail | | | | | | |
| RHEL86-64Rt | pass | | | | | | |
| UB2210-64 | pass | | | | | | |
| FC37-64 | pass | pass | | | | | |
| UB2204-64Rt | pass | | | | | | |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: FreeBSD13-64
Kernel Version: 13.1-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL86-64
Kernel Version: 4.18.0-372.9.1.el8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150400.22-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: RHEL91-64
Kernel Version: 5.14.0-162.6.1.el9_1.x86_64
GCC Version: gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2)
Clang Version: 14.0.6 (Red Hat 14.0.6-1.el9)
x86_64-native-linuxapp-gcc
OS: UB2004-64
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-doc
OS: UB2204-32
Kernel Version: 5.15.0-58-generic
GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-58-generic
GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Clang Version: 14.0.0-1ubuntu1
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: CentOS79-64
Kernel Version: 3.10.0-1160.81.1.el7.x86_64
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
x86_64-native-linuxapp-gcc
OS: RHEL86-64Rt
Kernel Version: 4.18.0-372.9.1.rt7.166.el8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
x86_64-native-linuxapp-gcc
OS: UB2210-64
Kernel Version: 5.19.0-21-generic
GCC Version: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0
Clang Version: 15.0.2-1
x86_64-native-linuxapp-gcc
OS: FC37-64
Kernel Version: 6.0.15-300.fc37.x86_64
GCC Version: gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)
Clang Version: 15.0.6 (Fedora 15.0.6-2.fc37)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2204-64Rt
Kernel Version: 5.15.85-rt55
GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Clang Version: 14.0.0-1ubuntu1
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o
gcc -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -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.pci -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -c ../drivers/bus/pci/bsd/pci.c
../drivers/bus/pci/bsd/pci.c: In function 'pci_scan_one':
../drivers/bus/pci/bsd/pci.c:280:6: error: 'struct rte_pci_device' has no member named 'mem_resource'
280 | dev->mem_resource[i].len = bar.pbi_length;
| ^~
../drivers/bus/pci/bsd/pci.c:282:7: error: 'struct rte_pci_device' has no member named 'mem_resource'
282 | dev->mem_resource[i].addr = (void *)(bar.pbi_base & ~((uint64_t)0xf));
| ^~
../drivers/bus/pci/bsd/pci.c:285:6: error: 'struct rte_pci_device' has no member named 'mem_resource'
285 | dev->mem_resource[i].phys_addr = bar.pbi_base & ~((uint64_t)0xf);
| ^~
../drivers/bus/pci/bsd/pci.c:306:17: error: 'struct rte_pci_device' has no member named 'mem_resource'
306 | memmove(dev2->mem_resource,
| ^~
../drivers/bus/pci/bsd/pci.c:307:9: error: 'struct rte_pci_device' has no member named 'mem_resource'
307 | dev->mem_resource,
| ^~
../drivers/bus/pci/bsd/pci.c:308:16: error: 'struct rte_pci_device' has no member named 'mem_resource'
308 | sizeof(dev->mem_resource));
| ^~
../drivers/bus/pci/bsd/pci.c: In function 'rte_pci_ioport_map':
../drivers/bus/pci/bsd/pci.c:528:22: error: 'struct rte_pci_device' has no member named 'mem_resource'
528 | if ((uintptr_t) dev->mem_resource[bar].addr <= UINT16_MAX) {
| ^~
../drivers/bus/pci/bsd/pci.c:529:28: error: 'struct rte_pci_device' has no member named 'mem_resource'
529 | p->base = (uintptr_t)dev->mem_resource[bar].addr;
| ^~
../drivers/bus/pci/bsd/pci.c:515:52: error: parameter 'bar' set but not used [-Werror=unused-but-set-parameter]
515 | rte_pci_ioport_map(struct rte_pci_device *dev, int bar,
| ~~~~^~~
cc1: all warnings being treated as errors
[705/1870] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common_uio.c.o
[706/1870] Compiling C object drivers/libtmp_rte_bus_ifpga.a.p/bus_ifpga_ifpga_bus.c.o
[707/1870] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
[708/1870] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common.c.o
[709/1870] Generating rte_bus_auxiliary.pmd.c with a custom command
[710/1870] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o
[711/1870] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[712/1870] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[713/1870] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o
clang -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -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.pci -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -c ../drivers/bus/pci/bsd/pci.c
../drivers/bus/pci/bsd/pci.c:280:8: error: no member named 'mem_resource' in 'struct rte_pci_device'
dev->mem_resource[i].len = bar.pbi_length;
~~~ ^
../drivers/bus/pci/bsd/pci.c:282:9: error: no member named 'mem_resource' in 'struct rte_pci_device'
dev->mem_resource[i].addr = (void *)(bar.pbi_base & ~((uint64_t)0xf));
~~~ ^
../drivers/bus/pci/bsd/pci.c:285:8: error: no member named 'mem_resource' in 'struct rte_pci_device'
dev->mem_resource[i].phys_addr = bar.pbi_base & ~((uint64_t)0xf);
~~~ ^
../drivers/bus/pci/bsd/pci.c:306:19: error: no member named 'mem_resource' in 'struct rte_pci_device'
memmove(dev2->mem_resource,
~~~~ ^
../drivers/bus/pci/bsd/pci.c:307:11: error: no member named 'mem_resource' in 'struct rte_pci_device'
dev->mem_resource,
~~~ ^
../drivers/bus/pci/bsd/pci.c:308:18: error: no member named 'mem_resource' in 'struct rte_pci_device'
sizeof(dev->mem_resource));
~~~ ^
../drivers/bus/pci/bsd/pci.c:528:24: error: no member named 'mem_resource' in 'struct rte_pci_device'
if ((uintptr_t) dev->mem_resource[bar].addr <= UINT16_MAX) {
~~~ ^
../drivers/bus/pci/bsd/pci.c:529:30: error: no member named 'mem_resource' in 'struct rte_pci_device'
p->base = (uintptr_t)dev->mem_resource[bar].addr;
~~~ ^
8 errors generated.
[927/1856] Generating rte_bus_ifpga.pmd.c with a custom command
[928/1856] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o
[929/1856] Generating rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[930/1856] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[931/1856] Generating rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output)
[932/1856] Generating rte_common_idpf.pmd.c with a custom command
[933/1856] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[934/1856] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_common.c.o
[935/1856] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o
gcc -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -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.pci -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -c ../drivers/bus/pci/bsd/pci.c
../drivers/bus/pci/bsd/pci.c: In function 'pci_scan_one':
../drivers/bus/pci/bsd/pci.c:280:6: error: 'struct rte_pci_device' has no member named 'mem_resource'
280 | dev->mem_resource[i].len = bar.pbi_length;
| ^~
../drivers/bus/pci/bsd/pci.c:282:7: error: 'struct rte_pci_device' has no member named 'mem_resource'
282 | dev->mem_resource[i].addr = (void *)(bar.pbi_base & ~((uint64_t)0xf));
| ^~
../drivers/bus/pci/bsd/pci.c:285:6: error: 'struct rte_pci_device' has no member named 'mem_resource'
285 | dev->mem_resource[i].phys_addr = bar.pbi_base & ~((uint64_t)0xf);
| ^~
../drivers/bus/pci/bsd/pci.c:306:17: error: 'struct rte_pci_device' has no member named 'mem_resource'
306 | memmove(dev2->mem_resource,
| ^~
../drivers/bus/pci/bsd/pci.c:307:9: error: 'struct rte_pci_device' has no member named 'mem_resource'
307 | dev->mem_resource,
| ^~
../drivers/bus/pci/bsd/pci.c:308:16: error: 'struct rte_pci_device' has no member named 'mem_resource'
308 | sizeof(dev->mem_resource));
| ^~
../drivers/bus/pci/bsd/pci.c: In function 'rte_pci_ioport_map':
../drivers/bus/pci/bsd/pci.c:528:22: error: 'struct rte_pci_device' has no member named 'mem_resource'
528 | if ((uintptr_t) dev->mem_resource[bar].addr <= UINT16_MAX) {
| ^~
../drivers/bus/pci/bsd/pci.c:529:28: error: 'struct rte_pci_device' has no member named 'mem_resource'
529 | p->base = (uintptr_t)dev->mem_resource[bar].addr;
| ^~
../drivers/bus/pci/bsd/pci.c:515:52: error: parameter 'bar' set but not used [-Werror=unused-but-set-parameter]
515 | rte_pci_ioport_map(struct rte_pci_device *dev, int bar,
| ~~~~^~~
cc1: all warnings being treated as errors
[504/1774] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common_uio.c.o
[505/1774] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common.c.o
[506/1774] Generating drivers/rte_bus_ifpga.pmd.c with a custom command
[507/1774] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[508/1774] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[509/1774] Generating lib/graph.sym_chk with a custom command (wrapped by meson to capture output)
[510/1774] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[511/1774] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output)
[512/1774] 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_pci.a.p/bus_pci_bsd_pci.c.o
gcc -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -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.pci -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -c ../drivers/bus/pci/bsd/pci.c
../drivers/bus/pci/bsd/pci.c: In function 'pci_scan_one':
../drivers/bus/pci/bsd/pci.c:280:6: error: 'struct rte_pci_device' has no member named 'mem_resource'
280 | dev->mem_resource[i].len = bar.pbi_length;
| ^~
../drivers/bus/pci/bsd/pci.c:282:7: error: 'struct rte_pci_device' has no member named 'mem_resource'
282 | dev->mem_resource[i].addr = (void *)(bar.pbi_base & ~((uint64_t)0xf));
| ^~
../drivers/bus/pci/bsd/pci.c:285:6: error: 'struct rte_pci_device' has no member named 'mem_resource'
285 | dev->mem_resource[i].phys_addr = bar.pbi_base & ~((uint64_t)0xf);
| ^~
../drivers/bus/pci/bsd/pci.c:306:17: error: 'struct rte_pci_device' has no member named 'mem_resource'
306 | memmove(dev2->mem_resource,
| ^~
../drivers/bus/pci/bsd/pci.c:307:9: error: 'struct rte_pci_device' has no member named 'mem_resource'
307 | dev->mem_resource,
| ^~
../drivers/bus/pci/bsd/pci.c:308:16: error: 'struct rte_pci_device' has no member named 'mem_resource'
308 | sizeof(dev->mem_resource));
| ^~
../drivers/bus/pci/bsd/pci.c: In function 'rte_pci_ioport_map':
../drivers/bus/pci/bsd/pci.c:528:22: error: 'struct rte_pci_device' has no member named 'mem_resource'
528 | if ((uintptr_t) dev->mem_resource[bar].addr <= UINT16_MAX) {
| ^~
../drivers/bus/pci/bsd/pci.c:529:28: error: 'struct rte_pci_device' has no member named 'mem_resource'
529 | p->base = (uintptr_t)dev->mem_resource[bar].addr;
| ^~
../drivers/bus/pci/bsd/pci.c:515:52: error: parameter 'bar' set but not used [-Werror=unused-but-set-parameter]
515 | rte_pci_ioport_map(struct rte_pci_device *dev, int bar,
| ~~~~^~~
cc1: all warnings being treated as errors
[706/1870] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common.c.o
[707/1870] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common_uio.c.o
[708/1870] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[709/1870] Generating drivers/rte_bus_ifpga.pmd.c with a custom command
[710/1870] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[711/1870] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o
[712/1870] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[713/1870] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output)
[714/1870] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #5:
OS: CentOS79-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o
gcc -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o -c ../drivers/bus/pci/linux/pci_vfio.c
../drivers/bus/pci/linux/pci_vfio.c: In function 'pci_vfio_map_resource_primary':
../drivers/bus/pci/linux/pci_vfio.c:807:11: error: 'info' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if ((info->flags & RTE_VFIO_INFO_FLAG_CAPS) == 0) {
^
../drivers/bus/pci/linux/pci_vfio.c:825:27: note: 'info' was declared here
struct vfio_region_info *info;
^
cc1: all warnings being treated as errors
[589/3263] Linking static target drivers/librte_bus_ifpga.a
[590/3263] Linking static target drivers/libtmp_rte_bus_platform.a
[591/3263] Generating drivers/rte_bus_dpaa.pmd.c with a custom command
[592/3263] Compiling C object drivers/librte_bus_ifpga.so.23.2.p/meson-generated_.._rte_bus_ifpga.pmd.c.o
[593/3263] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o
[594/3263] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o
[595/3263] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[596/3263] Generating lib/vhost.sym_chk with a custom command (wrapped by meson to capture output)
[597/3263] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-18 6:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18 6:41 [dpdk-test-report] |FAILURE| pw(126217) sid(27749) job(PER_PATCH_BUILD7118)[RFC, 4/4] bus/pci: add VFIO sparse mmap support sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).