automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(127043) sid(28067) job(PER_PATCH_BUILD7431)[v3] net/gve: check driver compatibility
@ 2023-05-18 18:00 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-05-18 18:00 UTC (permalink / raw)
  To: test-report, rushilg

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


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

_Compilation issues_

Submitter: Rushil Gupta <rushilg@google.com>
Date: 2023-05-18 17:40:05
Reply_mail: <20230518174005.1377467-1-rushilg@google.com>

DPDK git baseline: Repo:dpdk, CommitID: a399d7b5a994e335c446d4b15d7622d71dd8848c


Meson Build Summary: 25 Builds Done, 13 Successful, 12 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64  | pass       |              |            |            |           |          |            |
| FreeBSD13-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL92-64         | fail       | pass         |            | fail       | fail      |          |            |
| SUSE15-64         | pass       | pass         |            |            |           |          |            |
| CBL-Mariner2.0-64 | fail       |              |            |            |           |          |            |
| UB2004-64         | pass       |              |            |            |           |          |            |
| UB2204-32         | fail       |              |            |            |           |          |            |
| RHEL87-64         | pass       |              |            |            |           |          |            |
| UB2204-64         | fail       | pass         |            |            |           | fail     | fail       |
| CentOS79-64       | pass       |              |            |            |           |          |            |
| RHEL92-64Rt       | fail       |              |            |            |           |          |            |
| UB2304-64         | fail       |              |            |            |           |          |            |
| FC38-64           | fail       | pass         |            |            |           |          |            |
| UB2204-64Rt       | fail       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: OpenAnolis8.8-64
	Kernel Version: 5.10.134-13.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
	Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
	x86_64-native-linuxapp-gcc

OS: FreeBSD13-64
	Kernel Version: 13.2-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
	Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL92-64
	Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.14.21-150400.22-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 11.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: CBL-Mariner2.0-64
	Kernel Version: 5.15.55.1_2e9a4f9+
	GCC Version: gcc (GCC) 11.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-gcc

OS: UB2204-32
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL87-64
	Kernel Version: 4.18.0-425.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.81.1.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc

OS: RHEL92-64Rt
	Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc

OS: UB2304-64
	Kernel Version: 6.2.0-20-generic
	GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC38-64
	Kernel Version: 6.2.9-300.fc38.x86_64
	GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
	Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.17.5-051705-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1432/3271] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_rx.c.o
[1433/3271] Generating drivers/rte_net_failsafe.pmd.c with a custom command
[1434/3271] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1435/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1436/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1437/3271] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1438/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1439/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mgmt.c.o
[1440/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
ninja: build stopped




*Build Failed #2:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1446/3129] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_api_cmd.c.o
[1447/3129] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx.c.o
[1448/3129] Compiling C object drivers/libtmp_rte_net_failsafe.a.p/net_failsafe_failsafe_ops.c.o
[1449/3129] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx_vec.c.o
[1450/3129] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1451/3129] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1452/3129] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1453/3129] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1454/3129] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
ninja: build stopped




*Build Failed #3:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1429/3271] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx_vec.c.o
[1430/3271] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_rx.c.o
[1431/3271] Compiling C object drivers/libtmp_rte_net_failsafe.a.p/net_failsafe_failsafe_ops.c.o
[1432/3271] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1433/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1434/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1435/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1436/3271] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1437/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
ninja: build stopped




*Build Failed #4:
OS: CBL-Mariner2.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function 'gve_dev_init':
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of 'struct gve_driver_info[0]' [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by 'calloc'
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of 'struct gve_driver_info[0]' [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by 'calloc'
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of 'struct gve_driver_info[0]' [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by 'calloc'
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of 'struct gve_driver_info[0]' [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by 'calloc'
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of 'struct gve_driver_info[0]' [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by 'calloc'
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of 'struct gve_driver_info[0]' [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by 'calloc'
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of 'struct gve_driver_info[0]' [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by 'calloc'
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1430/3267] Compiling C object drivers/libtmp_rte_net_failsafe.a.p/net_failsafe_failsafe_ops.c.o
[1431/3267] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1432/3267] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1433/3267] Generating drivers/rte_net_fm10k.pmd.c with a custom command
[1434/3267] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1435/3267] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1436/3267] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mgmt.c.o
[1437/3267] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
[1438/3267] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_niccfg.c.o
ninja: build stopped




*Build Failed #5:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1086/2186] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1087/2186] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1088/2186] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mgmt.c.o
[1089/2186] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_nicio.c.o
[1090/2186] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mbox.c.o
[1091/2186] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_wq.c.o
[1092/2186] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
[1093/2186] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_niccfg.c.o
[1094/2186] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped




*Build Failed #6:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1434/3321] Compiling C object drivers/libtmp_rte_net_failsafe.a.p/net_failsafe_failsafe_ops.c.o
[1435/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_api_cmd.c.o
[1436/3321] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx_vec.c.o
[1437/3321] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1438/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1439/3321] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx.c.o
[1440/3321] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1441/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1442/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
ninja: build stopped




*Build Failed #7:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1443/3317] Generating drivers/rte_net_failsafe.pmd.c with a custom command
[1444/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1445/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1446/3317] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1447/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1448/3317] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1449/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mgmt.c.o
[1450/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
[1451/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_niccfg.c.o
ninja: build stopped




*Build Failed #8:
OS: UB2204-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1461/3283] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx_vec.c.o
[1462/3283] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cfg.c.o
[1463/3283] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_api_cmd.c.o
[1464/3283] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx.c.o
[1465/3283] Generating drivers/rte_net_failsafe.pmd.c with a custom command
[1466/3283] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1467/3283] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1468/3283] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1469/3283] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
ninja: build stopped




*Build Failed #9:
OS: RHEL92-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1433/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1434/3271] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1435/3271] Generating drivers/rte_net_failsafe.pmd.c with a custom command
[1436/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1437/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1438/3271] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1439/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mgmt.c.o
[1440/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
[1441/3271] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_niccfg.c.o
ninja: build stopped




*Build Failed #10:
OS: UB2304-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
In function ‘gve_verify_driver_compatibility’,
    inlined from ‘gve_init_priv’ at ../drivers/net/gve/gve_ethdev.c:709:8,
    inlined from ‘gve_dev_init’ at ../drivers/net/gve/gve_ethdev.c:844:8:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1428/3317] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx_vec.c.o
[1429/3317] Compiling C object drivers/libtmp_rte_net_failsafe.a.p/net_failsafe_failsafe_ops.c.o
[1430/3317] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1431/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1432/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1433/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1434/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mgmt.c.o
[1435/3317] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1436/3317] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
ninja: build stopped




*Build Failed #11:
OS: FC38-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
In function ‘gve_verify_driver_compatibility’,
    inlined from ‘gve_init_priv’ at ../drivers/net/gve/gve_ethdev.c:709:8,
    inlined from ‘gve_dev_init’ at ../drivers/net/gve/gve_ethdev.c:844:8:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds=]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds=]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds=]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds=]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds=]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds=]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds=]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: writing 2 bytes into a region of size 0 [-Werror=stringop-overflow=]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: destination object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1454/3479] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_rx.c.o
[1455/3479] Generating drivers/rte_net_failsafe.pmd.c with a custom command
[1456/3479] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1457/3479] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_api_cmd.c.o
[1458/3479] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1459/3479] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1460/3479] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1461/3479] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1462/3479] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
ninja: build stopped




*Build Failed #12:
OS: UB2204-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_gve.a.p -Idrivers -I../drivers -Idrivers/net/gve -I../drivers/net/gve -I../drivers/net/gve/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.gve -MD -MQ drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -MF drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o.d -o drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o -c ../drivers/net/gve/gve_ethdev.c
../drivers/net/gve/gve_ethdev.c: In function ‘gve_dev_init’:
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:272:22: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  272 |         *driver_info = (struct gve_driver_info) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273 |                 .os_type = 5, /* DPDK */
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                 .driver_major = GVE_VERSION_MAJOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                 .driver_minor = GVE_VERSION_MINOR,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                 .driver_sub = GVE_VERSION_SUB,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277 |                 .os_version_major = cpu_to_be32(DPDK_VERSION_MAJOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278 |                 .os_version_minor = cpu_to_be32(DPDK_VERSION_MINOR),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279 |                 .os_version_sub = cpu_to_be32(DPDK_VERSION_SUB),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280 |                 .driver_capability_flags = {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  281 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284 |                         cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285 |                 },
      |                 ~~    
  286 |         };
      |         ~             
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:289:33: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  289 |                         (char *)driver_info->os_version_str2);
      |                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:288:49: error: array subscript 0 is outside array bounds of ‘struct gve_driver_info[0]’ [-Werror=array-bounds]
  288 |         populate_driver_version_strings((char *)driver_info->os_version_str1,
      |                                                 ^~~~~~~~~~~
../drivers/net/gve/gve_ethdev.c:266:23: note: referencing an object of size 0 allocated by ‘calloc’
  266 |         driver_info = calloc(sizeof(struct gve_driver_info), 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1446/3321] Linking static target drivers/librte_net_failsafe.a
[1447/3321] Compiling C object drivers/librte_net_failsafe.so.23.2.p/meson-generated_.._rte_net_failsafe.pmd.c.o
[1448/3321] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1449/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cfg.c.o
[1450/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1451/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mgmt.c.o
[1452/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwif.c.o
[1453/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_hwdev.c.o
[1454/3321] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_niccfg.c.o
ninja: build stopped


DPDK STV team

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

only message in thread, other threads:[~2023-05-18 18:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-18 18:00 [dpdk-test-report] |FAILURE| pw(127043) sid(28067) job(PER_PATCH_BUILD7431)[v3] net/gve: check driver compatibility 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).