[dpdk-test-report] |FAILURE| pw(86507) [v2, 9/9] doc: add vfio-user library guide

sys_stv at intel.com sys_stv at intel.com
Thu Jan 14 07:49:00 CET 2021


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/86507

_Compilation issues_

Submitter: Chenbo Xia <chenbo.xia at intel.com>
Date: 2021-01-14 06:14:11
Reply_mail: 20210114061411.39166-10-chenbo.xia at intel.com

DPDK git baseline: Repo:dpdk, CommitID: 6e4d4a6381c47cfe6d75225945b3f6a5f8453214


Meson Build Summary: 22 Builds Done, 10 Successful, 12 Failures, 0 Blocked

+------------------+------------+--------------+------------+------------+-----------+----------+
| os               | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64        | pass       | FAIL         | FAIL       |            |           | FAIL     |
| RHEL83-64        | pass       |              |            |            |           |          |
| FC33-64          | pass       | FAIL         |            |            |           |          |
| CentOsStream8-64 | pass       |              |            |            |           |          |
| UB2010-64        | pass       |              |            |            |           |          |
| WIN10-64         |            | pass         |            |            |           |          |
| UB2004-32        | FAIL       |              |            |            |           |          |
| CENTOS83-64      | pass       | FAIL         | FAIL       | pass       | pass      |          |
| FreeBSD1201-64   | FAIL       | FAIL         |            | FAIL       | FAIL      |          |
| SUSE15-64        | pass       | 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-clang
FAILED: lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o 
clang -Ilib/librte_vfio_user.a.p -Ilib -I../lib -Ilib/librte_vfio_user -I../lib/librte_vfio_user -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 -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 lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -MF lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o.d -o lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -c ../lib/librte_vfio_user/vfio_user_server.c
In file included from ../lib/librte_vfio_user/vfio_user_server.c:14:
In file included from ../lib/librte_vfio_user/vfio_user_server.h:10:
../lib/librte_vfio_user/vfio_user_base.h:65:22: error: field 'set' with variable sized type 'struct vfio_irq_set' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        struct vfio_irq_set set;
                            ^
../lib/librte_vfio_user/vfio_user_base.h:95:4: error: field 'payload' with variable sized type 'union (anonymous union at ../lib/librte_vfio_user/vfio_user_base.h:87:2)' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        } payload;
          ^
2 errors generated.
[434/2814] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_ipsec_sad.c.o
[435/2814] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_ses.c.o
[436/2814] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_user.c.o
[437/2814] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_sa.c.o
[438/2814] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_inb.c.o
[439/2814] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_outb.c.o
[440/2814] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o
[441/2814] Compiling C object lib/librte_vhost.a.p/librte_vhost_virtio_net.c.o
[442/2814] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_crypto.c.o
ninja: build stopped




*Build Failed #2:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-icc
FAILED: lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o 
icc -Ilib/librte_vfio_user.a.p -Ilib -I../lib -Ilib/librte_vfio_user -I../lib/librte_vfio_user -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 -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 lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -MF lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o.d -o lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -c ../lib/librte_vfio_user/vfio_user_server.c
../lib/librte_vfio_user/vfio_user_server.c(349): error #589: transfer of control bypasses initialization of:
            variable "idx" (declared at line 366)
            variable "fds" (declared at line 379)
  	switch (irq_set->flags & VFIO_IRQ_SET_DATA_TYPE_MASK) {
  	^

compilation aborted for ../lib/librte_vfio_user/vfio_user_server.c (code 2)
[421/2814] Generating sched.sym_chk with a meson_exe.py custom command
[422/2814] Compiling C object lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o
[423/2814] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_ipsec_sad.c.o
[424/2814] Compiling C object lib/librte_fib/libdir24_8_avx512_tmp.a.p/dir24_8_avx512.c.o
[425/2814] Compiling C object lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_client.c.o
[426/2814] Generating ethdev.sym_chk with a meson_exe.py custom command
[427/2814] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_outb.c.o
[428/2814] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_inb.c.o
[429/2814] Compiling C object lib/librte_vhost.a.p/librte_vhost_virtio_net.c.o
[430/2814] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_crypto.c.o
[431/2814] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #3:
OS: FC33-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o 
clang -Ilib/librte_vfio_user.a.p -Ilib -I../lib -Ilib/librte_vfio_user -I../lib/librte_vfio_user -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 -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 lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o -MF lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o.d -o lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o -c ../lib/librte_vfio_user/vfio_user_base.c
In file included from ../lib/librte_vfio_user/vfio_user_base.c:9:
../lib/librte_vfio_user/vfio_user_base.h:65:22: error: field 'set' with variable sized type 'struct vfio_irq_set' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        struct vfio_irq_set set;
                            ^
../lib/librte_vfio_user/vfio_user_base.h:95:4: error: field 'payload' with variable sized type 'union (anonymous union at ../lib/librte_vfio_user/vfio_user_base.h:87:2)' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        } payload;
          ^
2 errors generated.
[432/2823] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost.c.o
[433/2823] Compiling C object lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o
FAILED: lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o 
clang -Ilib/librte_vfio_user.a.p -Ilib -I../lib -Ilib/librte_vfio_user -I../lib/librte_vfio_user -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 -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 lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -MF lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o.d -o lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -c ../lib/librte_vfio_user/vfio_user_server.c
In file included from ../lib/librte_vfio_user/vfio_user_server.c:14:
In file included from ../lib/librte_vfio_user/vfio_user_server.h:10:
../lib/librte_vfio_user/vfio_user_base.h:65:22: error: field 'set' with variable sized type 'struct vfio_irq_set' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        struct vfio_irq_set set;
                            ^
../lib/librte_vfio_user/vfio_user_base.h:95:4: error: field 'payload' with variable sized type 'union (anonymous union at ../lib/librte_vfio_user/vfio_user_base.h:87:2)' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        } payload;
          ^
2 errors generated.
[434/2823] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_ses.c.o
[435/2823] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_user.c.o
[436/2823] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_sa.c.o
[437/2823] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_outb.c.o
[438/2823] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_inb.c.o
[439/2823] Compiling C object lib/librte_vhost.a.p/librte_vhost_virtio_net.c.o
[440/2823] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_crypto.c.o
ninja: build stopped




*Build Failed #4:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc
Compiler for C supports arguments -Wno-format-truncation -Wformat-truncation: YES (cached)
Dependency zlib found: YES 1.2.10 (cached)

app/test/meson.build:429:1: ERROR: Tried to get unknown variable "static_rte_vfio_user".

A full log can be found at /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/846cb138eaee4d3daf75d0263f5bf988/dpdk/x86_64-native-bsdapp-gcc/meson-logs/meson-log.txt


*Build Failed #5:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-clang
Compiler for C supports arguments -Wno-format-truncation: NO (cached)
Dependency zlib found: YES 1.2.10 (cached)

app/test/meson.build:429:1: ERROR: Tried to get unknown variable "static_rte_vfio_user".

A full log can be found at /root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/846cb138eaee4d3daf75d0263f5bf988/dpdk/x86_64-native-bsdapp-clang/meson-logs/meson-log.txt


*Build Failed #6:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+shared
Compiler for C supports arguments -Wno-format-truncation -Wformat-truncation: YES (cached)
Dependency zlib found: YES 1.2.10 (cached)

app/test/meson.build:429:1: ERROR: Tried to get unknown variable "shared_rte_vfio_user".

A full log can be found at /root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/846cb138eaee4d3daf75d0263f5bf988/dpdk/x86_64-native-bsdapp-gcc+shared/meson-logs/meson-log.txt


*Build Failed #7:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+debug
Compiler for C supports arguments -Wno-format-truncation -Wformat-truncation: YES (cached)
Dependency zlib found: YES 1.2.10 (cached)

app/test/meson.build:429:1: ERROR: Tried to get unknown variable "static_rte_vfio_user".

A full log can be found at /root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/846cb138eaee4d3daf75d0263f5bf988/dpdk/x86_64-native-bsdapp-gcc+debug/meson-logs/meson-log.txt


*Build Failed #8:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o 
clang -Ilib/librte_vfio_user.a.p -Ilib -I../lib -Ilib/librte_vfio_user -I../lib/librte_vfio_user -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 -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 lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -MF lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o.d -o lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -c ../lib/librte_vfio_user/vfio_user_server.c
In file included from ../lib/librte_vfio_user/vfio_user_server.c:14:
In file included from ../lib/librte_vfio_user/vfio_user_server.h:10:
../lib/librte_vfio_user/vfio_user_base.h:65:22: error: field 'set' with variable sized type 'struct vfio_irq_set' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        struct vfio_irq_set set;
                            ^
../lib/librte_vfio_user/vfio_user_base.h:95:4: error: field 'payload' with variable sized type 'union (anonymous union at ../lib/librte_vfio_user/vfio_user_base.h:87:2)' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        } payload;
          ^
2 errors generated.
[433/2717] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_ipsec_sad.c.o
[434/2717] Generating symbol file lib/librte_sched.so.21.1.p/librte_sched.so.21.1.symbols
[435/2717] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_ses.c.o
[436/2717] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_sa.c.o
[437/2717] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_outb.c.o
[438/2717] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_inb.c.o
[439/2717] Compiling C object lib/librte_vhost.a.p/librte_vhost_virtio_net.c.o
[440/2717] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o
[441/2717] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_crypto.c.o
ninja: build stopped




*Build Failed #9:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_vfio_user.c.o 
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/librte_acl -I../lib/librte_acl -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_bitratestats -I../lib/librte_bitratestats -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_bpf -I../lib/librte_bpf -Ilib/librte_cfgfile -I../lib/librte_cfgfile -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_distributor -I../lib/librte_distributor -Ilib/librte_efd -I../lib/librte_efd -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_fib -I../lib/librte_fib -Ilib/librte_rib -I../lib/librte_rib -Ilib/librte_flow_classify -I../lib/librte_flow_classify -Ilib/librte_table -I../lib/librte_table -Ilib/librte_port -I../lib/librte_port -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_graph -I../lib/librte_graph -Ilib/librte_ipsec -I../lib/librte_ipsec -Ilib/librte_security -I../lib/librte_security -Ilib/librte_latencystats -I../lib/librte_latencystats -Ilib/librte_member -I../lib/librte_member -Ilib/librte_node -I../lib/librte_node -Ilib/librte_pipeline -I../lib/librte_pipeline -Ilib/librte_rawdev -I../lib/librte_rawdev -Ilib/librte_reorder -I../lib/librte_reorder -Ilib/librte_stack -I../lib/librte_stack -Ilib/librte_vfio_user -I../lib/librte_vfio_user -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/librte_power -I../lib/librte_power -Ilib/librte_pdump -I../lib/librte_pdump -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -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 -m32 -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_vfio_user.c.o -MF app/test/dpdk-test.p/test_vfio_user.c.o.d -o app/test/dpdk-test.p/test_vfio_user.c.o -c ../app/test/test_vfio_user.c
../app/test/test_vfio_user.c: In function ‘test_dev_cfg_rw’:
../app/test/test_vfio_user.c:58:19: error: comparison of integer expressions of different signedness: ‘loff_t’ {aka ‘long long int’} and ‘__u64’ {aka ‘long long unsigned int’} [-Werror=sign-compare]
   58 |   if (pos + count > reg->info->size)
      |                   ^
cc1: all warnings being treated as errors
[2178/2370] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2179/2370] Compiling C object app/test/dpdk-test.p/test_telemetry_data.c.o
[2180/2370] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2181/2370] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2182/2370] Compiling C object app/test/dpdk-test.p/test_link_bonding.c.o
[2183/2370] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2184/2370] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2185/2370] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2186/2370] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped




*Build Failed #10:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o 
clang -Ilib/librte_vfio_user.a.p -Ilib -I../lib -Ilib/librte_vfio_user -I../lib/librte_vfio_user -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 -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 lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o -MF lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o.d -o lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o -c ../lib/librte_vfio_user/vfio_user_base.c
In file included from ../lib/librte_vfio_user/vfio_user_base.c:9:
../lib/librte_vfio_user/vfio_user_base.h:65:22: error: field 'set' with variable sized type 'struct vfio_irq_set' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        struct vfio_irq_set set;
                            ^
../lib/librte_vfio_user/vfio_user_base.h:95:4: error: field 'payload' with variable sized type 'union (anonymous union at ../lib/librte_vfio_user/vfio_user_base.h:87:2)' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
        } payload;
          ^
2 errors generated.
[430/2810] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost.c.o
[431/2810] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_sa.c.o
[432/2810] Generating symbol file lib/librte_sched.so.21.1.p/librte_sched.so.21.1.symbols
[433/2810] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_ses.c.o
[434/2810] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_outb.c.o
[435/2810] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_user.c.o
[436/2810] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_inb.c.o
[437/2810] Compiling C object lib/librte_vhost.a.p/librte_vhost_virtio_net.c.o
[438/2810] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_crypto.c.o
ninja: build stopped




*Build Failed #11:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o 
icc -Ilib/librte_vfio_user.a.p -Ilib -I../lib -Ilib/librte_vfio_user -I../lib/librte_vfio_user -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 -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 lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -MF lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o.d -o lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_server.c.o -c ../lib/librte_vfio_user/vfio_user_server.c
../lib/librte_vfio_user/vfio_user_server.c(349): error #589: transfer of control bypasses initialization of:
            variable "idx" (declared at line 366)
            variable "fds" (declared at line 379)
  	switch (irq_set->flags & VFIO_IRQ_SET_DATA_TYPE_MASK) {
  	^

compilation aborted for ../lib/librte_vfio_user/vfio_user_server.c (code 2)
[424/2764] Compiling C object lib/librte_vfio_user.a.p/librte_vfio_user_vfio_user_base.c.o
[425/2764] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_ipsec_sad.c.o
[426/2764] Generating symbol file lib/librte_sched.so.21.1.p/librte_sched.so.21.1.symbols
[427/2764] Linking target lib/librte_bitratestats.so.21.1
[428/2764] Linking target lib/librte_eventdev.so.21.1
[429/2764] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_outb.c.o
[430/2764] Compiling C object lib/librte_ipsec.a.p/librte_ipsec_esp_inb.c.o
[431/2764] Compiling C object lib/librte_vhost.a.p/librte_vhost_virtio_net.c.o
[432/2764] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_crypto.c.o
ninja: build stopped




*Build Failed #12:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: doc/guides/html 
/usr/bin/python3 ../buildtools/call-sphinx-build.py /usr/bin/sphinx-build 21.02.0-rc0 /root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-doc/846cb138eaee4d3daf75d0263f5bf988/dpdk/doc/guides /root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-doc/846cb138eaee4d3daf75d0263f5bf988/dpdk/x86_64-native-linuxapp-doc/doc/guides -W
Install the sphinx ReadTheDocs theme for improved html documentation layout: https://sphinx-rtd-theme.readthedocs.io/

Warning, treated as error:
/root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-doc/846cb138eaee4d3daf75d0263f5bf988/dpdk/doc/guides/prog_guide/vfio_user_lib.rst:5:Title underline too short.

Vfio User Library
=============
[2596/2620] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2597/2620] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2598/2620] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list