|FAILURE| pw140322 [RFC] eal: provide option to use compiler memcpy instead of RTE

qemudev at loongson.cn qemudev at loongson.cn
Mon May 27 12:54:59 CEST 2024


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

_ninja build failure_

Submitter: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
Date: Mon, 27 May 2024 13:11:51 +0200
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: 77e63757d2a0106a0cc519f5a82e2d749d16475a

140322 --> 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_eal.a.p/eal_common_rte_malloc.c.o
cc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 '-DABI_VERSION="24.2"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/loongarch/include/rte_memcpy.h:20:1: error: redefinition of ‘rte_mov16’
rte_mov16(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/include/generic/rte_memcpy.h:118:1: note: previous definition of ‘rte_mov16’ was here
rte_mov16(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/loongarch/include/rte_memcpy.h:26:1: error: redefinition of ‘rte_mov32’
rte_mov32(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/include/generic/rte_memcpy.h:124:1: note: previous definition of ‘rte_mov32’ was here
rte_mov32(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/loongarch/include/rte_memcpy.h:32:1: error: redefinition of ‘rte_mov48’
rte_mov48(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/include/generic/rte_memcpy.h:130:1: note: previous definition of ‘rte_mov48’ was here
rte_mov48(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/loongarch/include/rte_memcpy.h:38:1: error: redefinition of ‘rte_mov64’
rte_mov64(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/include/generic/rte_memcpy.h:136:1: note: previous definition of ‘rte_mov64’ was here
rte_mov64(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/loongarch/include/rte_memcpy.h:44:1: error: redefinition of ‘rte_mov128’
rte_mov128(uint8_t *dst, const uint8_t *src)
^~~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/include/generic/rte_memcpy.h:142:1: note: previous definition of ‘rte_mov128’ was here
rte_mov128(uint8_t *dst, const uint8_t *src)
^~~~~~~~~~
In file included from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/loongarch/include/rte_memcpy.h:50:1: error: redefinition of ‘rte_mov256’
rte_mov256(uint8_t *dst, const uint8_t *src)
^~~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/include/generic/rte_memcpy.h:148:1: note: previous definition of ‘rte_mov256’ was here
rte_mov256(uint8_t *dst, const uint8_t *src)
^~~~~~~~~~
[10/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[11/2497] Linking static target lib/librte_kvargs.a
[12/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
[13/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o
cc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 '-DABI_VERSION="24.2"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c
In file included from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/loongarch/include/rte_memcpy.h:20:1: error: redefinition of ‘rte_mov16’
rte_mov16(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/include/generic/rte_memcpy.h:118:1: note: previous definition of ‘rte_mov16’ was here
rte_mov16(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/loongarch/include/rte_memcpy.h:26:1: error: redefinition of ‘rte_mov32’
rte_mov32(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/include/generic/rte_memcpy.h:124:1: note: previous definition of ‘rte_mov32’ was here
rte_mov32(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/loongarch/include/rte_memcpy.h:32:1: error: redefinition of ‘rte_mov48’
rte_mov48(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/include/generic/rte_memcpy.h:130:1: note: previous definition of ‘rte_mov48’ was here
rte_mov48(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/loongarch/include/rte_memcpy.h:38:1: error: redefinition of ‘rte_mov64’
rte_mov64(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/include/generic/rte_memcpy.h:136:1: note: previous definition of ‘rte_mov64’ was here
rte_mov64(uint8_t *dst, const uint8_t *src)
^~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/loongarch/include/rte_memcpy.h:44:1: error: redefinition of ‘rte_mov128’
rte_mov128(uint8_t *dst, const uint8_t *src)
^~~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/include/generic/rte_memcpy.h:142:1: note: previous definition of ‘rte_mov128’ was here
rte_mov128(uint8_t *dst, const uint8_t *src)
^~~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/loongarch/include/rte_memcpy.h:50:1: error: redefinition of ‘rte_mov256’
rte_mov256(uint8_t *dst, const uint8_t *src)
^~~~~~~~~~
In file included from ../lib/eal/loongarch/include/rte_memcpy.h:17,
from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/include/generic/rte_memcpy.h:148:1: note: previous definition of ‘rte_mov256’ was here
rte_mov256(uint8_t *dst, const uint8_t *src)
^~~~~~~~~~
[14/2497] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
[15/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[16/2497] Compiling C object lib/librte_eal.a.p/eal_common_rte_reciprocal.c.o
[17/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hypervisor.c.o
[18/2497] Compiling C object lib/librte_eal.a.p/eal_common_rte_version.c.o
[19/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
[20/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_cpuflags.c.o
[21/2497] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_data.c.o
[22/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_uuid.c.o
[23/2497] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o
[24/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
[25/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[26/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
[27/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
[28/2497] Compiling C object lib/librte_log.a.p/log_log.c.o
[29/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[30/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
[31/2497] Compiling C object lib/librte_argparse.a.p/argparse_rte_argparse.c.o
[32/2497] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[33/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[34/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[35/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
[36/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[37/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[38/2497] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[39/2497] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[40/2497] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[41/2497] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
[42/2497] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------



More information about the test-report mailing list