automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report]  |FAILURE| pw(81861) [v3, 5/5] test/ring: add stress tests for zero copy APIs
@ 2020-10-23  5:51 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2020-10-23  5:51 UTC (permalink / raw)
  To: test-report

[-- Attachment #1: Type: text/plain, Size: 145325 bytes --]


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

_Compilation issues_

Submitter: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Date: 2020-10-23 04:43:43
Reply_mail: 20201023044343.13462-6-honnappa.nagarahalli@arm.com

DPDK git baseline: Repo:dpdk, CommitID: 50ee0c2d0a8b1ad889de589228be9c2c7a056a76


Meson Build Summary: 21 Builds Done, 11 Successful, 10 Failures, 0 Blocked

+----------------+------------+--------------+------------+------------+-----------+----------+
| os             | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| CENTOS82-64    | FAIL       | pass         | pass       | FAIL       | FAIL      |          |
| RHEL82-64      | FAIL       |              |            |            |           |          |
| UB1804-64      | FAIL       |              |            |            |           |          |
| FC32-64        | FAIL       | pass         |            |            |           |          |
| UB2004-64      | pass       | pass         | pass       |            |           | pass     |
| WIN10-64       |            | pass         |            |            |           |          |
| UB2004-32      | pass       |              |            |            |           |          |
| FreeBSD1201-64 | FAIL       | pass         |            | FAIL       | FAIL      |          |
| SUSE15-64      | FAIL       | pass         |            |            |           |          |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: CENTOS82-64
	Kernel Version: 4.18.0-193.14.2.el8_2.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
	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: RHEL82-64
	Kernel Version: 4.18.0-193.el8.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb)
	x86_64-native-linuxapp-gcc

OS: UB1804-64
	Kernel Version: 5.3.0-59-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
	Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
	x86_64-native-linuxapp-gcc

OS: FC32-64
	Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
	Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2004-64
	Kernel Version: 5.4.0-47-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: 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.4.0-47-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: 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: 4.12.14-lp150.11-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
	Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_mt1’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2411/2679] Compiling C object app/test/dpdk-test.p/test_rib6.c.o
[2412/2679] Compiling C object app/test/dpdk-test.p/test_ring_mt_peek_stress.c.o
[2413/2679] Compiling C object app/test/dpdk-test.p/test_ring_rts_stress.c.o
[2414/2679] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress.c.o
[2415/2679] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2416/2679] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2417/2679] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2418/2679] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2419/2679] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed




*Build Failed #2:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_mt1’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2460/2510] Compiling C object app/test/dpdk-test.p/test_rib6.c.o
[2461/2510] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2462/2510] Compiling C object app/test/dpdk-test.p/test_ring_hts_stress.c.o
[2463/2510] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2464/2510] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed




*Build Failed #3:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_mt1’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2435/2679] Compiling C object app/test/dpdk-test.p/test_ring_mt_peek_stress.c.o
[2436/2679] Linking target app/dpdk-test-regex
[2437/2679] Linking target app/dpdk-test-sad
[2438/2679] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2439/2679] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed




*Build Failed #4:
OS: FC32-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -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_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_mt1’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker.constprop’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker.constprop’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
[2416/2683] Compiling C object app/test/dpdk-test.p/test_ring_stress.c.o
[2417/2683] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o
FAILED: app/test/dpdk-test.p/test_ring_st_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -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_ring_st_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o -c ../app/test/test_ring_st_peek_stress_zc.c
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_mt1’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: ‘*((void *)&zcd+8)’ was declared here
   37 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker.constprop’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: ‘*((void *)&zcd+8)’ was declared here
   37 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker.constprop’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: ‘*((void *)&zcd+8)’ was declared here
   37 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
[2418/2683] Compiling C object app/test/dpdk-test.p/test_ring_rts_stress.c.o
[2419/2683] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress.c.o
[2420/2683] Compiling C object app/test/dpdk-test.p/test_rwlock.c.o
[2421/2683] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
[2422/2683] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2423/2683] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2424/2683] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -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_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: ‘*((void *)&zcd+8)’ was declared here
  167 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: ‘*((void *)&zcd+8)’ was declared here
  132 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: ‘*((void *)&zcd+8)’ was declared here
  185 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: ‘*((void *)&zcd+8)’ was declared here
  150 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: ‘*((void *)&zcd+8)’ was declared here
   80 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: ‘*((void *)&zcd+8)’ was declared here
  115 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: ‘*((void *)&zcd+8)’ was declared here
  202 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: ‘*((void *)&zcd+8)’ was declared here
   97 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
[2425/2683] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2426/2683] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed




*Build Failed #5:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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/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_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_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_rcu -I../lib/librte_rcu -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 -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_pdump -I../lib/librte_pdump -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_worker.constprop':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: '*((void *)&zcd+8)' was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: '*((void *)&zcd+8)' was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_mt1':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: '*((void *)&zcd+8)' was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_worker.constprop':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: '*((void *)&zcd+8)' was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: '*((void *)&zcd+8)' was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
[1790/1984] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress.c.o
[1791/1984] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o
FAILED: app/test/dpdk-test.p/test_ring_st_peek_stress_zc.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/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_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_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_rcu -I../lib/librte_rcu -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 -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_pdump -I../lib/librte_pdump -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o -c ../app/test/test_ring_st_peek_stress_zc.c
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_mt1':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: '*((void *)&zcd+8)' was declared here
   37 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_worker.constprop':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: '*((void *)&zcd+8)' was declared here
   37 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:14:26: note: '*((void *)&zcd+8)' was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_worker.constprop':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: '*((void *)&zcd+8)' was declared here
   37 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:14:26: note: '*((void *)&zcd+8)' was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
[1792/1984] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[1793/1984] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[1794/1984] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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/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_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_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_rcu -I../lib/librte_rcu -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 -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_pdump -I../lib/librte_pdump -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_bulk_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: '*((void *)&zcd+8)' was declared here
  167 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_bulk_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: '*((void *)&zcd+8)' was declared here
   97 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_burst':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: '*((void *)&zcd+8)' was declared here
  185 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_bulk':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: '*((void *)&zcd+8)' was declared here
  150 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_bulk':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: '*((void *)&zcd+8)' was declared here
   80 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_burst':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: '*((void *)&zcd+8)' was declared here
  115 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_burst_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: '*((void *)&zcd+8)' was declared here
  202 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_burst_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: '*((void *)&zcd+8)' was declared here
  132 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed




*Build Failed #6:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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/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_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_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_rcu -I../lib/librte_rcu -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 -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_pdump -I../lib/librte_pdump -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_worker.constprop':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: '*((void *)&zcd+8)' was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: '*((void *)&zcd+8)' was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_mt1':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: '*((void *)&zcd+8)' was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_worker.constprop':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: '*((void *)&zcd+8)' was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: '*((void *)&zcd+8)' was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
[1817/1866] Compiling C object app/test/dpdk-test.p/test_ring_mt_peek_stress.c.o
[1818/1866] Compiling C object app/test/dpdk-test.p/test_ring_rts_stress.c.o
[1819/1866] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[1820/1866] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[1821/1866] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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/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_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_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_rcu -I../lib/librte_rcu -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 -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_pdump -I../lib/librte_pdump -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_bulk_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: '*((void *)&zcd+8)' was declared here
  167 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_bulk_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: '*((void *)&zcd+8)' was declared here
   97 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_burst':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: '*((void *)&zcd+8)' was declared here
  185 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_bulk':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: '*((void *)&zcd+8)' was declared here
  150 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_bulk':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: '*((void *)&zcd+8)' was declared here
   80 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_burst':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: '*((void *)&zcd+8)' was declared here
  115 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_burst_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: '*((void *)&zcd+8)' was declared here
  202 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_burst_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: '*((void *)&zcd+8)' was declared here
  132 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed




*Build Failed #7:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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/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_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_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_rcu -I../lib/librte_rcu -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 -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_pdump -I../lib/librte_pdump -Ilib/librte_compressdev -I../lib/librte_compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_worker':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: '*((void *)&zcd+8)' was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: '*((void *)&zcd+8)' was declared here
   14 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function 'test_mt1':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: '*((void *)&zcd+8)' was declared here
   32 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
[1789/1984] Compiling C object app/test/dpdk-test.p/test_ring_rts_stress.c.o
[1790/1984] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress.c.o
[1791/1984] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[1792/1984] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[1793/1984] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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/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_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_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_rcu -I../lib/librte_rcu -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 -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_pdump -I../lib/librte_pdump -Ilib/librte_compressdev -I../lib/librte_compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_bulk_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: '*((void *)&zcd+8)' was declared here
  167 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_burst_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: '*((void *)&zcd+8)' was declared here
  132 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_burst':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: '*((void *)&zcd+8)' was declared here
  185 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_bulk':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: '*((void *)&zcd+8)' was declared here
  150 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_bulk':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: '*((void *)&zcd+8)' was declared here
   80 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_burst':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: '*((void *)&zcd+8)' was declared here
  115 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_dequeue_zc_burst_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: '*((void *)&zcd+8)' was declared here
  202 |  struct rte_ring_zc_data zcd;
      |                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function 'test_ring_enqueue_zc_bulk_elem':
../app/test/test_ring.h:65:2: error: '*((void *)&zcd+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   65 |  memcpy(dst, src, temp_sz);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: '*((void *)&zcd+8)' was declared here
   97 |  struct rte_ring_zc_data zcd;
      |                          ^~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed




*Build Failed #8:
OS: RHEL82-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_mt1’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2412/2679] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress.c.o
[2413/2679] Compiling C object app/test/dpdk-test.p/test_ring_rts_stress.c.o
[2414/2679] Compiling C object app/test/dpdk-test.p/test_ring_mt_peek_stress.c.o
[2415/2679] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o
FAILED: app/test/dpdk-test.p/test_ring_st_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o -c ../app/test/test_ring_st_peek_stress_zc.c
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_mt1’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker’:
../app/test/test_ring.h:74:5: error: ‘zcd.n1’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if (zcd->n1 != num) {
     ^
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: ‘zcd.n1’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘zcd’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: ‘zcd’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:92:5: error: ‘zcd.n1’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if (zcd->n1 != num) {
     ^
../app/test/test_ring_st_peek_stress_zc.c:14:26: note: ‘zcd.n1’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:65:2: error: ‘zcd’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_st_peek_stress_zc.c:14:26: note: ‘zcd’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2416/2679] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2417/2679] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2418/2679] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2419/2679] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2420/2679] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed




*Build Failed #9:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -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_ring_mt_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:0:
../app/test/test_ring_stress_impl.h: In function ‘test_worker.constprop’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:0:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:0:
../app/test/test_ring_stress_impl.h: In function ‘test_mt1’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:0:
../app/test/test_ring_stress_impl.h: In function ‘test_worker.constprop’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:32:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_mt_peek_stress_zc.c:5:0:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring_mt_peek_stress_zc.c:14:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2384/2649] Compiling C object app/test/dpdk-test.p/test_ring_hts_stress.c.o
[2385/2649] Compiling C object app/test/dpdk-test.p/test_ring_mt_peek_stress.c.o
[2386/2649] Compiling C object app/test/dpdk-test.p/test_ring_rts_stress.c.o
[2387/2649] Compiling C object app/test/dpdk-test.p/test_ring_st_peek_stress.c.o
[2388/2649] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2389/2649] Compiling C object app/test/dpdk-test.p/test_ring.c.o
FAILED: app/test/dpdk-test.p/test_ring.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -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_ring.c.o -MF app/test/dpdk-test.p/test_ring.c.o.d -o app/test/dpdk-test.p/test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:33:0:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:202:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:0:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:132:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:0:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:150:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:0:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:185:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:0:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:80:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:0:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_burst’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:115:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:0:
../app/test/test_ring.c: In function ‘test_ring_dequeue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:167:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring.c:33:0:
../app/test/test_ring.c: In function ‘test_ring_enqueue_zc_bulk_elem’:
../app/test/test_ring.h:65:2: error: ‘*((void *)&zcd+8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  memcpy(dst, src, temp_sz);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_ring.c:97:26: note: ‘*((void *)&zcd+8)’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2390/2649] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2391/2649] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2392/2649] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed




*Build Failed #10:
OS: UB1804-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_ring_st_peek_stress_zc.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_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_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_rcu -I../lib/librte_rcu -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 -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 -Ilib/librte_compressdev -I../lib/librte_compressdev -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-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 -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -D_GNU_SOURCE -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o -MF app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o.d -o app/test/dpdk-test.p/test_ring_st_peek_stress_zc.c.o -c ../app/test/test_ring_st_peek_stress_zc.c
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring_stress_impl.h: In function ‘test_worker’:
../app/test/test_ring.h:74:5: error: ‘zcd.n1’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if (zcd->n1 != num) {
     ^
../app/test/test_ring_st_peek_stress_zc.c:37:26: note: ‘zcd.n1’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
In file included from ../app/test/test_ring_st_peek_stress_zc.c:5:
../app/test/test_ring.h:92:5: error: ‘zcd.n1’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if (zcd->n1 != num) {
     ^
../app/test/test_ring_st_peek_stress_zc.c:14:26: note: ‘zcd.n1’ was declared here
  struct rte_ring_zc_data zcd;
                          ^~~
cc1: all warnings being treated as errors
[2406/2668] Compiling C object app/test/dpdk-test.p/test_rwlock.c.o
[2407/2668] Compiling C object app/test/dpdk-test.p/test_sched.c.o
[2408/2668] Compiling C object app/test/dpdk-test.p/test_service_cores.c.o
[2409/2668] Compiling C object app/test/dpdk-test.p/test_security.c.o
[2410/2668] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2411/2668] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2412/2668] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2413/2668] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2414/2668] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-23  5:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23  5:51 [dpdk-test-report] |FAILURE| pw(81861) [v3, 5/5] test/ring: add stress tests for zero copy APIs 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).