|FAILURE| pw152531 [PATCH v2] raw/cnxk_gpio: switch to character based GPIO interface

qemudev at loongson.cn qemudev at loongson.cn
Mon Mar 24 08:55:01 CET 2025


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

_ninja build failure_

Submitter: Tomasz Duszynski <tduszynski at marvell.com>
Date: Mon, 24 Mar 2025 09:28:48 +0100
DPDK git baseline: Repo:dpdk-next-net-mrvl
  Branch: for-next-net
  CommitID: 5f37ee9c859f3ce08ca4364f1d8c0e70ec33ac83

152531 --> 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_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
cc -Idrivers/libtmp_rte_raw_cnxk_gpio.a.p -Idrivers -I../drivers -Idrivers/raw/cnxk_gpio -I../drivers/raw/cnxk_gpio -Ilib/rawdev -I../lib/rawdev -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 -I../kernel/linux -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 -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/bus/pci -I../drivers/bus/pci -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/pci -I../lib/pci -I../drivers/bus/pci/linux -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wvla -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.raw.cnxk_gpio -MD -MQ drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o -MF drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o.d -o drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o -c ../drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c
./drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c: In function ‘cnxk_gpio_irq_handler’:
./drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:70:16: error: ‘struct gpio_v2_line_event’ has no member named ‘offset’
if ((int)event->offset != gpio)
^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/generic/rte_cycles.h:16,
from ../lib/eal/loongarch/include/rte_cycles.h:8,
from ../drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:11:
./drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:71:66: error: ‘struct gpio_v2_line_event’ has no member named ‘offset’
CNXK_GPIO_LOG(ERR, "event from gpio%d instead of gpio%d", event->offset, gpio);
^~
./lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
./lib/log/rte_log.h:388:16: note: in expansion of macro ‘RTE_FMT’
RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~
./lib/log/rte_log.h:389:3: note: in expansion of macro ‘RTE_FMT_TAIL’
RTE_FMT_TAIL(__VA_ARGS__ ,))); ^~~~~~~~~~~~
./drivers/raw/cnxk_gpio/cnxk_gpio.h:12:2: note: in expansion of macro ‘RTE_LOG_LINE’
RTE_LOG_LINE(level, CNXK_GPIO, __VA_ARGS__)
^~~~~~~~~~~~
./drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:71:3: note: in expansion of macro ‘CNXK_GPIO_LOG’
CNXK_GPIO_LOG(ERR, "event from gpio%d instead of gpio%d", event->offset, gpio);
^~~~~~~~~~~~~
[1794/2683] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o
[1795/2683] Generating rte_net_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[1796/2683] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[1797/2683] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[1798/2683] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtqueue.c.o
[1799/2683] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx.c.o
[1800/2683] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o
[1801/2683] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy.c.o
[1802/2683] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_irq.c.o
[1803/2683] Compiling C object drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_np.c.o
[1804/2683] Compiling C object drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_ethdev.c.o
[1805/2683] Compiling C object drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_vfio.c.o
[1806/2683] Compiling C object drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_vfio_mbox.c.o
[1807/2683] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_flow.c.o
[1808/2683] Compiling C object drivers/libtmp_rte_raw_cnxk_rvu_lf.a.p/raw_cnxk_rvu_lf_cnxk_rvu_lf.c.o
[1809/2683] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_virtio_user_dev.c.o
[1810/2683] Compiling C object drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_tx.c.o
[1811/2683] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1812/2683] Generating rte_net_ring.sym_chk with a custom command (wrapped by meson to capture output)
[1813/2683] Compiling C object drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_rx.c.o
[1814/2683] Compiling C object drivers/libtmp_rte_net_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1815/2683] Generating rte_net_tap.pmd.c with a custom command
[1816/2683] Compiling C object drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o
[1817/2683] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o
[1818/2683] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[1819/2683] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_debug.c.o
[1820/2683] Generating rte_net_softnic.sym_chk with a custom command (wrapped by meson to capture output)
[1821/2683] Generating rte_net_ixgbe.sym_chk with a custom command (wrapped by meson to capture output)
[1822/2683] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
[1823/2683] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[1824/2683] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[1825/2683] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1826/2683] 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