|FAILURE| pw135844 gve: mixes DPDK and Linux versions in compatibility check

qemudev at loongson.cn qemudev at loongson.cn
Thu Jan 11 20:50:27 CET 2024


Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/135844

_ninja build failure_

Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: Thu, 11 Jan 2024 12:08:41 -0800
DPDK git baseline: Repo:dpdk-next-net
  Branch: main
  CommitID: f5c53d694b306ff17e82c07dc16bdea483824ba2

135844 --> ninja build failed

Test environment and result as below:

+---------------------+----------------+
|     Environment     | compilation    |
+---------------------+----------------+
| Loongnix-Server 8.3 | FAIL           |
+---------------------+----------------+

Loongnix-Server 8.3
    Kernel: 4.19.190+
    Compiler: gcc 8.3


Ninja build logs:
-------------------------------BEGIN LOGS----------------------------
FAILED: drivers/libtmp_rte_net_gve.a.p/net_gve_gve_ethdev.c.o
cc -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/loongarch/include -I../lib/eal/loongarch/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=loongarch64 -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_verify_driver_compatibility’:
./drivers/net/gve/gve_ethdev.c:276:25: error: ‘driver_info’ is a pointer; did you mean to use ‘->’?
rte_strscpy(driver_info.os_version_str1, OS_VERSION_STRLEN,
^
->
In file included from ../drivers/net/gve/base/gve_desc.h:11,
from ../drivers/net/gve/base/gve.h:9,
from ../drivers/net/gve/gve_ethdev.h:13,
from ../drivers/net/gve/gve_ethdev.c:5:
./drivers/net/gve/base/gve_osdep.h:81:27: warning: passing argument 2 of ‘rte_strscpy’ makes pointer from integer without a cast [-Wint-conversion]
#define OS_VERSION_STRLEN 128
^~~
./drivers/net/gve/gve_ethdev.c:276:43: note: in expansion of macro ‘OS_VERSION_STRLEN’
rte_strscpy(driver_info.os_version_str1, OS_VERSION_STRLEN,
^~~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_trace_point.h:32,
from ../lib/ethdev/rte_ethdev_trace_fp.h:18,
from ../lib/ethdev/rte_ethdev.h:175,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/gve/gve_ethdev.h:8,
from ../drivers/net/gve/gve_ethdev.c:5:
./lib/eal/include/rte_string_fns.h:116:36: note: expected ‘const char *’ but argument is of type ‘int’
rte_strscpy(char *dst, const char *src, size_t dsize);
~~~~~~~~~~~~^~~
./drivers/net/gve/gve_ethdev.c:277:7: warning: passing argument 3 of ‘rte_strscpy’ makes integer from pointer without a cast [-Wint-conversion]
rte_version());
^~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_trace_point.h:32,
from ../lib/ethdev/rte_ethdev_trace_fp.h:18,
from ../lib/ethdev/rte_ethdev.h:175,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/gve/gve_ethdev.h:8,
from ../drivers/net/gve/gve_ethdev.c:5:
./lib/eal/include/rte_string_fns.h:116:48: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘const char *’
rte_strscpy(char *dst, const char *src, size_t dsize);
~~~~~~~^~~~~
[1108/2424] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_ethdev.c.o
[1109/2424] Compiling C object drivers/net/fm10k/base/libfm10k_base.a.p/fm10k_tlv.c.o
[1110/2424] Generating symbol file drivers/librte_bus_ifpga.so.24.1.p/librte_bus_ifpga.so.24.1.symbols
[1111/2424] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cfg.c.o
[1112/2424] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_eqs.c.o
[1113/2424] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_rxtx.c.o
[1114/2424] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_cmdq.c.o
[1115/2424] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_api_cmd.c.o
[1116/2424] Compiling C object drivers/libtmp_rte_net_e1000.a.p/net_e1000_igb_ethdev.c.o
[1117/2424] Compiling C object drivers/net/fm10k/base/libfm10k_base.a.p/fm10k_mbx.c.o
[1118/2424] Generating rte_net_ena.pmd.c with a custom command
[1119/2424] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_base_gve_adminq.c.o
[1120/2424] Compiling C object drivers/net/fm10k/base/libfm10k_base.a.p/fm10k_pf.c.o
[1121/2424] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx_dqo.c.o
[1122/2424] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_rxtx.c.o
[1123/2424] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_rx_dqo.c.o
[1124/2424] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_fm_flow.c.o
[1125/2424] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_rxtx.c.o
[1126/2424] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_rx.c.o
[1127/2424] Generating rte_net_bnx2x.pmd.c with a custom command
[1128/2424] Generating symbol file lib/librte_mbuf.so.24.1.p/librte_mbuf.so.24.1.symbols
[1129/2424] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_main.c.o
[1130/2424] Generating rte_net_dpaa.sym_chk with a custom command (wrapped by meson to capture output)
[1131/2424] Generating symbol file lib/librte_rib.so.24.1.p/librte_rib.so.24.1.symbols
[1132/2424] Generating vhost.sym_chk with a custom command (wrapped by meson to capture output)
[1133/2424] Compiling C object drivers/libtmp_rte_net_gve.a.p/net_gve_gve_tx.c.o
[1134/2424] Compiling C object drivers/libtmp_rte_net_failsafe.a.p/net_failsafe_failsafe_ops.c.o
[1135/2424] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_ethdev.c.o
[1136/2424] Generating rte_net_bond.sym_chk with a custom command (wrapped by meson to capture output)
[1137/2424] Compiling C object drivers/libtmp_rte_net_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[1138/2424] Generating rte_net_bnxt.pmd.c with a custom command
[1139/2424] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[1140/2424] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------



More information about the test-report mailing list