|FAILURE| pw137363 [PATCH] lib/hash: add SipHash function
qemudev at loongson.cn
qemudev at loongson.cn
Tue Feb 27 18:41:40 CET 2024
Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/137363
_ninja build failure_
Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: Tue, 27 Feb 2024 09:39:01 -0800
DPDK git baseline: Repo:dpdk
Branch: main
CommitID: 92c0ad70caf3ed6f4b93de6ddaf7bc369737c049
137363 --> 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: lib/librte_hash.a.p/hash_rte_siphash.c.o
cc -Ilib/librte_hash.a.p -Ilib -I../lib -Ilib/hash -I../lib/hash -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/rcu -I../lib/rcu -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=lib.hash -MD -MQ lib/librte_hash.a.p/hash_rte_siphash.c.o -MF lib/librte_hash.a.p/hash_rte_siphash.c.o.d -o lib/librte_hash.a.p/hash_rte_siphash.c.o -c ../lib/hash/rte_siphash.c
./lib/hash/rte_siphash.c: In function ‘u8to64_le’:
./lib/hash/rte_siphash.c:41:46: error: expected ‘;’ before ‘)’ token
(uint64_t)p[6] << 48 | (uint64_t)p[7] << 56);
^
;
./lib/hash/rte_siphash.c:41:46: error: expected statement before ‘)’ token
./lib/hash/rte_siphash.c: In function ‘u8to32_le’:
./lib/hash/rte_siphash.c:46:20: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
return (uint32_t)p[0] | (uint32_t)p[1] << 8 |
^
./lib/hash/rte_siphash.c:46:20: warning: dereferencing ‘void *’ pointer
./lib/hash/rte_siphash.c:46:9: error: invalid use of void expression
return (uint32_t)p[0] | (uint32_t)p[1] << 8 |
^
./lib/hash/rte_siphash.c:46:43: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
return (uint32_t)p[0] | (uint32_t)p[1] << 8 |
^
./lib/hash/rte_siphash.c:46:43: warning: dereferencing ‘void *’ pointer
./lib/hash/rte_siphash.c:46:32: error: invalid use of void expression
return (uint32_t)p[0] | (uint32_t)p[1] << 8 |
^
./lib/hash/rte_siphash.c:47:14: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
(uint32_t)p[2] << 16 | (uint32_t)p[3] << 24;
^
./lib/hash/rte_siphash.c:47:14: warning: dereferencing ‘void *’ pointer
./lib/hash/rte_siphash.c:47:3: error: invalid use of void expression
(uint32_t)p[2] << 16 | (uint32_t)p[3] << 24;
^
./lib/hash/rte_siphash.c:47:37: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
(uint32_t)p[2] << 16 | (uint32_t)p[3] << 24;
^
./lib/hash/rte_siphash.c:47:37: warning: dereferencing ‘void *’ pointer
./lib/hash/rte_siphash.c:47:26: error: invalid use of void expression
(uint32_t)p[2] << 16 | (uint32_t)p[3] << 24;
^
./lib/hash/rte_siphash.c:48:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
[116/2451] Compiling C object lib/librte_hash.a.p/hash_rte_hash_crc.c.o
[117/2451] Compiling C object lib/librte_hash.a.p/hash_rte_thash_gfni.c.o
[118/2451] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o
[119/2451] Compiling C object lib/librte_eal.a.p/eal_linux_eal_vfio.c.o
[120/2451] Compiling C object lib/librte_metrics.a.p/metrics_rte_metrics_telemetry.c.o
[121/2451] Compiling C object lib/librte_hash.a.p/hash_rte_fbk_hash.c.o
[122/2451] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[123/2451] Compiling C object lib/librte_metrics.a.p/metrics_rte_metrics.c.o
[124/2451] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
[125/2451] Compiling C object lib/librte_ethdev.a.p/ethdev_sff_8636.c.o
[126/2451] Compiling C object lib/librte_acl.a.p/acl_rte_acl.c.o
[127/2451] Compiling C object lib/librte_cmdline.a.p/cmdline_cmdline_rdline.c.o
[128/2451] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_mtr.c.o
[129/2451] Generating argparse.sym_chk with a custom command (wrapped by meson to capture output)
[130/2451] Compiling C object lib/librte_acl.a.p/acl_acl_gen.c.o
[131/2451] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[132/2451] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_tm.c.o
[133/2451] Compiling C object lib/librte_acl.a.p/acl_acl_run_scalar.c.o
[134/2451] Compiling C object lib/librte_timer.a.p/timer_rte_timer.c.o
[135/2451] Generating log.sym_chk with a custom command (wrapped by meson to capture output)
[136/2451] Generating meter.sym_chk with a custom command (wrapped by meson to capture output)
[137/2451] Compiling C object lib/librte_hash.a.p/hash_rte_thash.c.o
[138/2451] Generating ring.sym_chk with a custom command (wrapped by meson to capture output)
[139/2451] Generating pci.sym_chk with a custom command (wrapped by meson to capture output)
[140/2451] Generating rcu.sym_chk with a custom command (wrapped by meson to capture output)
[141/2451] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_sad.c.o
[142/2451] Generating net.sym_chk with a custom command (wrapped by meson to capture output)
[143/2451] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[144/2451] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[145/2451] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
[146/2451] Compiling C object lib/librte_acl.a.p/acl_acl_bld.c.o
[147/2451] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o
[148/2451] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------
More information about the test-report
mailing list