|FAILURE| pw132281 [PATCH v2] net/axgbe: use CPUID to identify cpu

qemudev at loongson.cn qemudev at loongson.cn
Tue Oct 3 13:20:34 CEST 2023


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

_ninja build failure_

Submitter: Selwin Sebastian <selwin.sebastian at amd.com>
Date: Tue, 3 Oct 2023 17:09:38 +0530
DPDK git baseline: Repo:dpdk-next-net
  Branch: main
  CommitID: 26a0891dce4795fe4f2ab8c9943de1765031cb7a

132281 --> 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_axgbe.a.p/net_axgbe_axgbe_ethdev.c.o
cc -Idrivers/libtmp_rte_net_axgbe.a.p -Idrivers -I../drivers -Idrivers/net/axgbe -I../drivers/net/axgbe -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 -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.axgbe -MD -MQ drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_ethdev.c.o -MF drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_ethdev.c.o.d -o drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_ethdev.c.o -c ../drivers/net/axgbe/axgbe_ethdev.c
./drivers/net/axgbe/axgbe_ethdev.c: In function ‘eth_axgbe_dev_init’:
./drivers/net/axgbe/axgbe_ethdev.c:18:18: error: ‘n’ undeclared (first use in this function)
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:18: note: each undeclared identifier is reported only once for each function it appears in
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:21: error: ‘a’ undeclared (first use in this function)
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:19: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:24: error: ‘b’ undeclared (first use in this function)
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:22: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:27: error: ‘c’ undeclared (first use in this function)
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:30: error: ‘d’ undeclared (first use in this function)
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:28: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2226:2: note: in expansion of macro ‘__cpuid’
__cpuid(0x0, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:19: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2234:3: note: in expansion of macro ‘__cpuid’
__cpuid(0x1, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:22: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2234:3: note: in expansion of macro ‘__cpuid’
__cpuid(0x1, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2234:3: note: in expansion of macro ‘__cpuid’
__cpuid(0x1, eax, ebx, ecx, edx);
^~~~~~~
./drivers/net/axgbe/axgbe_ethdev.c:18:28: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define __cpuid (n, a, b, c, d)
^
./drivers/net/axgbe/axgbe_ethdev.c:2234:3: note: in expansion of macro ‘__cpuid’
__cpuid(0x1, eax, ebx, ecx, edx);
^~~~~~~
[720/2356] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_atl_ethdev.c.o
[721/2356] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker.c.o
[722/2356] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cnxk_tim_evdev.c.o
[723/2356] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cnxk_eventdev_adptr.c.o
[724/2356] Compiling C object drivers/librte_mempool_ring.a.p/meson-generated_.._rte_mempool_ring.pmd.c.o
[725/2356] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn9k_worker.c.o
[726/2356] Generating rte_net_af_packet.pmd.c with a custom command
[727/2356] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[728/2356] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[729/2356] Generating rte_net_avp.pmd.c with a custom command
[730/2356] Compiling C object drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_i2c.c.o
[731/2356] Generating rte_net_ark.pmd.c with a custom command
[732/2356] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_atl_rxtx.c.o
[733/2356] Generating rte_mempool_dpaa.sym_chk with a custom command (wrapped by meson to capture output)
[734/2356] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[735/2356] Compiling C object drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_mdio.c.o
[736/2356] Generating rte_mempool_dpaa2.sym_chk with a custom command (wrapped by meson to capture output)
[737/2356] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o
[738/2356] Generating rte_mempool_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[739/2356] Compiling C object drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_dev.c.o
[740/2356] Compiling C object drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_phy_impl.c.o
[741/2356] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn9k_eventdev.c.o
[742/2356] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cnxk_tim_worker.c.o
[743/2356] Generating rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[744/2356] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_eventdev.c.o
[745/2356] Generating rte_common_cnxk.pmd.c with a custom command
[746/2356] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cnxk_eventdev_selftest.c.o
[747/2356] Generating rte_bus_fslmc.sym_chk with a custom command (wrapped by meson to capture output)
[748/2356] Generating rte_bus_dpaa.sym_chk with a custom command (wrapped by meson to capture output)
[749/2356] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[750/2356] Generating eal.sym_chk with a custom command (wrapped by meson to capture output)
[751/2356] Generating ethdev.sym_chk with a custom command (wrapped by meson to capture output)
[752/2356] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------



More information about the test-report mailing list