automatic DPDK test reports
 help / color / mirror / Atom feed
* |FAILURE| pw131376-131386 [PATCH v2 11/11] lib: remove pthread.h from includes
       [not found] <20230913103600.1935292-12-thomas@monjalon.net>
@ 2023-09-13 10:30 ` qemudev
  2023-09-13 10:39 ` |SUCCESS| pw131386 " checkpatch
  2023-09-13 11:19 ` |FAILURE| " 0-day Robot
  2 siblings, 0 replies; 3+ messages in thread
From: qemudev @ 2023-09-13 10:30 UTC (permalink / raw)
  To: test-report; +Cc: Thomas Monjalon, zhoumin

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

_ninja build failure_

Submitter: Thomas Monjalon <thomas@monjalon.net>
Date: Wed, 13 Sep 2023 12:34:20 +0200
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: e92ba1426914db1d224dd5e9a1743657681b8814

131376-131386 --> 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_telemetry.a.p/telemetry_telemetry_legacy.c.o
cc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -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.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o li
 b/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/telemetry/telemetry_legacy.c:17:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
[4/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[5/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[6/2352] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o
FAILED: lib/librte_eal.a.p/eal_common_rte_random.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_rte_random.c.o -MF lib/librte_eal.a.p/eal_common_rte_random.c.o.d -o lib/librte_eal.a.p/eal_common_rte_random.c.o -c ../lib/eal/common/rte_random.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/common/rte_random.c:10:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/rte_random.c:13:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
[7/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_mcfg.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_mcfg.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o -c ../lib/eal/common/eal_common_mcfg.c
In file included from ../lib/eal/include/generic/rte_rwlock.h:32,
from ../lib/eal/loongarch/include/rte_rwlock.h:12,
from ../lib/eal/include/rte_eal_memconfig.h:10,
from ../lib/eal/common/eal_common_mcfg.c:5:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/eal_common_mcfg.c:5:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_mcfg.c:10:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[8/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
In file included from ../lib/eal/common/eal_common_lcore.c:9:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_common_lcore.c:12:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_lcore.c:18:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
./lib/eal/common/eal_common_lcore.c: In function ‘rte_lcore_index’:
./lib/eal/common/eal_common_lcore.c:43:31: error: ‘struct lcore_config’ has no member named ‘core_index’
return lcore_config[lcore_id].core_index;
^
./lib/eal/common/eal_common_lcore.c: In function ‘rte_lcore_to_cpu_id’:
./lib/eal/common/eal_common_lcore.c:58:31: error: ‘struct lcore_config’ has no member named ‘core_id’
return lcore_config[lcore_id].core_id;
^
./lib/eal/common/eal_common_lcore.c: In function ‘rte_lcore_cpuset’:
./lib/eal/common/eal_common_lcore.c:63:31: error: ‘struct lcore_config’ has no member named ‘cpuset’
return lcore_config[lcore_id].cpuset;
^
./lib/eal/common/eal_common_lcore.c: In function ‘rte_lcore_to_socket_id’:
./lib/eal/common/eal_common_lcore.c:118:31: error: ‘struct lcore_config’ has no member named ‘socket_id’
return lcore_config[lcore_id].socket_id;
^
./lib/eal/common/eal_common_lcore.c: In function ‘rte_eal_cpu_init’:
./lib/eal/common/eal_common_lcore.c:154:25: error: ‘struct lcore_config’ has no member named ‘core_index’
lcore_config[lcore_id].core_index = count;
^
In file included from /usr/include/sched.h:44,
from ../lib/eal/linux/include/rte_os.h:17,
from ../lib/eal/include/rte_common.h:25,
from ../lib/eal/common/eal_common_lcore.c:9:
./lib/eal/common/eal_common_lcore.c:157:35: error: ‘struct lcore_config’ has no member named ‘cpuset’
CPU_ZERO(&lcore_config[lcore_id].cpuset);
^
./lib/eal/common/eal_common_lcore.c:165:26: error: ‘struct lcore_config’ has no member named ‘core_index’
lcore_config[lcore_id].core_index = -1;
^
In file included from /usr/include/sched.h:44,
from ../lib/eal/linux/include/rte_os.h:17,
from ../lib/eal/include/rte_common.h:25,
from ../lib/eal/common/eal_common_lcore.c:9:
./lib/eal/common/eal_common_lcore.c:170:44: error: ‘struct lcore_config’ has no member named ‘cpuset’
CPU_SET(lcore_id, &lcore_config[lcore_id].cpuset);
^
./lib/eal/common/eal_common_lcore.c:174:25: error: ‘struct lcore_config’ has no member named ‘core_role’
lcore_config[lcore_id].core_role = ROLE_RTE;
^
./lib/eal/common/eal_common_lcore.c:175:25: error: ‘struct lcore_config’ has no member named ‘core_id’
lcore_config[lcore_id].core_id = eal_cpu_core_id(lcore_id);
^
./lib/eal/common/eal_common_lcore.c:176:25: error: ‘struct lcore_config’ has no member named ‘socket_id’
lcore_config[lcore_id].socket_id = socket_id;
^
In file included from ../lib/eal/common/eal_common_lcore.c:13:
./lib/eal/common/eal_common_lcore.c:179:37: error: ‘struct lcore_config’ has no member named ‘core_id’
lcore_id, lcore_config[lcore_id].core_id,
^
./lib/log/rte_log.h:333:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
./lib/eal/common/eal_common_lcore.c:180:27: error: ‘struct lcore_config’ has no member named ‘socket_id’
lcore_config[lcore_id].socket_id);
^
./lib/log/rte_log.h:333:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
./lib/eal/common/eal_common_lcore.c: In function ‘lcore_dump_cb’:
./lib/eal/common/eal_common_lcore.c:470:56: error: ‘struct lcore_config’ has no member named ‘cpuset’
ret = eal_thread_dump_affinity(&lcore_config[lcore_id].cpuset, cpuset,
^
In file included from /usr/include/sched.h:44,
from ../lib/eal/linux/include/rte_os.h:17,
from ../lib/eal/include/rte_common.h:25,
from ../lib/eal/common/eal_common_lcore.c:9:
./lib/eal/common/eal_common_lcore.c: In function ‘lcore_telemetry_info_cb’:
./lib/eal/common/eal_common_lcore.c:536:45: error: ‘struct lcore_config’ has no member named ‘cpuset’
if (CPU_ISSET(cpu, &lcore_config[lcore_id].cpuset))
^
./lib/eal/common/eal_common_lcore.c: In function ‘rte_lcore_index’:
./lib/eal/common/eal_common_lcore.c:44:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
./lib/eal/common/eal_common_lcore.c: In function ‘rte_lcore_to_cpu_id’:
./lib/eal/common/eal_common_lcore.c:59:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
./lib/eal/common/eal_common_lcore.c: In function ‘rte_lcore_cpuset’:
./lib/eal/common/eal_common_lcore.c:64:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
./lib/eal/common/eal_common_lcore.c: In function ‘rte_lcore_to_socket_id’:
./lib/eal/common/eal_common_lcore.c:119:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
[9/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_common_dev.c:17:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[10/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_debug.c.o
[11/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_memalloc.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_memalloc.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -c ../lib/eal/common/eal_common_memalloc.c
In file included from ../lib/eal/include/generic/rte_rwlock.h:32,
from ../lib/eal/loongarch/include/rte_rwlock.h:12,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/common/eal_common_memalloc.c:9:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_memalloc.c:13:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_memalloc.c:13:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[12/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_launch.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_launch.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_launch.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -c ../lib/eal/common/eal_common_launch.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/include/eal_trace_internal.h:19,
from ../lib/eal/common/eal_common_launch.c:7:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_common_launch.c:10:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_launch.c:12:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
./lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
./lib/eal/common/eal_common_launch.c:21:49: error: ‘struct lcore_config’ has no member named ‘state’
while (__atomic_load_n(&lcore_config[worker_id].state,
^
./lib/eal/common/eal_common_launch.c:25:32: error: ‘struct lcore_config’ has no member named ‘ret’
return lcore_config[worker_id].ret;
^
./lib/eal/common/eal_common_launch.c: In function ‘rte_eal_remote_launch’:
./lib/eal/common/eal_common_launch.c:41:46: error: ‘struct lcore_config’ has no member named ‘state’
if (__atomic_load_n(&lcore_config[worker_id].state,
^
./lib/eal/common/eal_common_launch.c:45:25: error: ‘struct lcore_config’ has no member named ‘arg’
lcore_config[worker_id].arg = arg;
^
./lib/eal/common/eal_common_launch.c:50:43: error: ‘struct lcore_config’ has no member named ‘f’
__atomic_store_n(&lcore_config[worker_id].f, f, __ATOMIC_RELEASE);
^
./lib/eal/common/eal_common_launch.c: In function ‘rte_eal_mp_remote_launch’:
./lib/eal/common/eal_common_launch.c:73:29: error: ‘struct lcore_config’ has no member named ‘state’
if (lcore_config[lcore_id].state != WAIT)
^
./lib/eal/common/eal_common_launch.c:83:27: error: ‘struct lcore_config’ has no member named ‘ret’
lcore_config[main_lcore].ret = f(arg);
^
./lib/eal/common/eal_common_launch.c:84:27: error: ‘struct lcore_config’ has no member named ‘state’
lcore_config[main_lcore].state = WAIT;
^
./lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
./lib/eal/common/eal_common_launch.c:96:31: error: ‘struct lcore_config’ has no member named ‘state’
return lcore_config[lcore_id].state;
^
./lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
./lib/eal/common/eal_common_launch.c:26:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
./lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
./lib/eal/common/eal_common_launch.c:97:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
[13/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_tailqs.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_tailqs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o -c ../lib/eal/common/eal_common_tailqs.c
In file included from ../lib/eal/include/generic/rte_rwlock.h:32,
from ../lib/eal/loongarch/include/rte_rwlock.h:12,
from ../lib/eal/include/rte_eal_memconfig.h:10,
from ../lib/eal/common/eal_common_tailqs.c:10:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/eal_common_tailqs.c:10:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_tailqs.c:14:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[14/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[15/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_timer.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_timer.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_timer.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_timer.c.o -c ../lib/eal/common/eal_common_timer.c
In file included from ../lib/eal/common/eal_common_timer.c:8:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_timer.c:14:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_timer.c:14:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[16/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_class.c.o
[17/2352] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
FAILED: lib/librte_eal.a.p/eal_common_malloc_elem.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_malloc_elem.c.o -MF lib/librte_eal.a.p/eal_common_malloc_elem.c.o.d -o lib/librte_eal.a.p/eal_common_malloc_elem.c.o -c ../lib/eal/common/malloc_elem.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_memory.h:22,
from ../lib/eal/common/malloc_elem.c:11:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/malloc_elem.c:15:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/malloc_elem.c:15:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[18/2352] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
FAILED: lib/librte_eal.a.p/eal_common_malloc_heap.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_malloc_heap.c.o -MF lib/librte_eal.a.p/eal_common_malloc_heap.c.o.d -o lib/librte_eal.a.p/eal_common_malloc_heap.c.o -c ../lib/eal/common/malloc_heap.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_memory.h:22,
from ../lib/eal/common/malloc_heap.c:11:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/malloc_heap.c:14:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/malloc_heap.c:25:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[19/2352] Compiling C object lib/librte_eal.a.p/eal_common_rte_reciprocal.c.o
[20/2352] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
cc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -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.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telem
 etry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/telemetry/telemetry.c:20:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
[21/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_memzone.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_memzone.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o -c ../lib/eal/common/eal_common_memzone.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/include/eal_trace_internal.h:19,
from ../lib/eal/common/eal_common_memzone.c:11:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/malloc_heap.h:12,
from ../lib/eal/common/eal_common_memzone.c:20:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_memzone.c:22:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[22/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_common_fbarray.c:16:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[23/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_thread.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_thread.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_thread.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -c ../lib/eal/common/eal_common_thread.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/include/eal_trace_internal.h:19,
from ../lib/eal/common/eal_common_thread.c:13:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_common_thread.c:15:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_thread.c:21:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
./lib/eal/common/eal_common_thread.c: In function ‘thread_update_affinity’:
./lib/eal/common/eal_common_thread.c:79:25: error: ‘struct lcore_config’ has no member named ‘socket_id’
lcore_config[lcore_id].socket_id = RTE_PER_LCORE(_socket_id);
^
./lib/eal/common/eal_common_thread.c:80:34: error: ‘struct lcore_config’ has no member named ‘cpuset’
memmove(&lcore_config[lcore_id].cpuset, cpusetp,
^
./lib/eal/common/eal_common_thread.c: In function ‘rte_thread_set_affinity’:
./lib/eal/common/eal_common_thread.c:88:6: warning: implicit declaration of function ‘rte_thread_set_affinity_by_id’; did you mean ‘rte_thread_set_affinity’? [-Wimplicit-function-declaration]
if (rte_thread_set_affinity_by_id(rte_thread_self(), cpusetp) != 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_thread_set_affinity
./lib/eal/common/eal_common_thread.c:88:6: warning: nested extern declaration of ‘rte_thread_set_affinity_by_id’ [-Wnested-externs]
./lib/eal/common/eal_common_thread.c: In function ‘eal_thread_loop’:
./lib/eal/common/eal_common_thread.c:175:53: error: ‘struct lcore_config’ has no member named ‘cpuset’
__rte_thread_init(lcore_id, &lcore_config[lcore_id].cpuset);
^
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/include/eal_trace_internal.h:19,
from ../lib/eal/common/eal_common_thread.c:13:
./lib/eal/common/eal_common_thread.c:179:30: error: request for member ‘opaque_id’ in something not a structure or union
lcore_id, rte_thread_self().opaque_id, cpuset,
^
./lib/log/rte_log.h:333:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
./lib/eal/common/eal_common_thread.c:194:43: error: ‘struct lcore_config’ has no member named ‘state’
__atomic_store_n(&lcore_config[lcore_id].state, RUNNING,
^
./lib/eal/common/eal_common_thread.c:204:54: error: ‘struct lcore_config’ has no member named ‘f’
while ((f = __atomic_load_n(&lcore_config[lcore_id].f,
^
./lib/eal/common/eal_common_thread.c:211:35: error: ‘struct lcore_config’ has no member named ‘arg’
fct_arg = lcore_config[lcore_id].arg;
^
./lib/eal/common/eal_common_thread.c:213:25: error: ‘struct lcore_config’ has no member named ‘ret’
lcore_config[lcore_id].ret = ret;
^
./lib/eal/common/eal_common_thread.c:214:25: error: ‘struct lcore_config’ has no member named ‘f’
lcore_config[lcore_id].f = NULL;
^
./lib/eal/common/eal_common_thread.c:215:25: error: ‘struct lcore_config’ has no member named ‘arg’
lcore_config[lcore_id].arg = NULL;
^
./lib/eal/common/eal_common_thread.c:222:43: error: ‘struct lcore_config’ has no member named ‘state’
__atomic_store_n(&lcore_config[lcore_id].state, WAIT,
^
./lib/eal/common/eal_common_thread.c: At top level:
./lib/eal/common/eal_common_thread.c:286:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/common/eal_common_thread.c:341:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/common/eal_common_thread.c:351:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name)
^~~~~~~~~~~~
./lib/eal/common/eal_common_thread.c: In function ‘rte_thread_register’:
./lib/eal/common/eal_common_thread.c:376:6: warning: implicit declaration of function ‘rte_thread_get_affinity_by_id’; did you mean ‘rte_thread_get_affinity’? [-Wimplicit-function-declaration]
if (rte_thread_get_affinity_by_id(rte_thread_self(), &cpuset) != 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_thread_get_affinity
./lib/eal/common/eal_common_thread.c:376:6: warning: nested extern declaration of ‘rte_thread_get_affinity_by_id’ [-Wnested-externs]
At top level:
./lib/eal/common/eal_common_thread.c:331:1: warning: ‘add_internal_prefix’ defined but not used [-Wunused-function]
add_internal_prefix(char *prefixed_name, const char *name, size_t size)
^~~~~~~~~~~~~~~~~~~
./lib/eal/common/eal_common_thread.c:273:17: warning: ‘control_thread_start’ defined but not used [-Wunused-function]
static uint32_t control_thread_start(void *arg)
^~~~~~~~~~~~~~~~~~~~
[24/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hexdump.c.o
[25/2352] Compiling C object lib/librte_eal.a.p/eal_common_rte_version.c.o
[26/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_memory.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_eal_common_memory.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memory.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -c ../lib/eal/common/eal_common_memory.c
In file included from ../lib/eal/include/generic/rte_rwlock.h:32,
from ../lib/eal/loongarch/include/rte_rwlock.h:12,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/common/eal_common_memory.c:13:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/eal_common_memory.c:16:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_memory.c:25:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[27/2352] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
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.0"' -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/loongarch/include/rte_memcpy.h:11,
from ../lib/eal/common/rte_malloc.c:12:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/rte_malloc.c:15:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/rte_malloc.c:26:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
[28/2352] Compiling C object lib/librte_kvargs.a.p/kvargs_rte_kvargs.c.o
[29/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_string_fns.c.o
[30/2352] 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.0"' -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/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_options.c:25:
./lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
./lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_common_options.c:28:
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:42:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
./lib/eal/common/eal_common_options.c: In function ‘eal_parse_service_coremask’:
./lib/eal/common/eal_common_options.c:644:22: error: ‘struct lcore_config’ has no member named ‘core_role’
lcore_config[idx].core_role = ROLE_SERVICE;
^
./lib/eal/common/eal_common_options.c:655:20: error: ‘struct lcore_config’ has no member named ‘core_index’
lcore_config[idx].core_index = -1;
^
./lib/eal/common/eal_common_options.c: In function ‘eal_service_cores_parsed’:
./lib/eal/common/eal_common_options.c:675:24: error: ‘struct lcore_config’ has no member named ‘core_role’
if (lcore_config[idx].core_role == ROLE_SERVICE)
^
./lib/eal/common/eal_common_options.c: In function ‘update_lcore_config’:
./lib/eal/common/eal_common_options.c:701:18: error: ‘struct lcore_config’ has no member named ‘core_index’
lcore_config[i].core_index = cores[i];
^
./lib/eal/common/eal_common_options.c: In function ‘eal_parse_service_corelist’:
./lib/eal/common/eal_common_options.c:875:23: error: ‘struct lcore_config’ has no member named ‘core_role’
lcore_config[idx].core_role =
^
./lib/eal/common/eal_common_options.c: In function ‘eal_parse_main_lcore’:
./lib/eal/common/eal_common_options.c:993:35: error: ‘struct lcore_config’ has no member named ‘core_role’
if (lcore_config[cfg->main_lcore].core_role == ROLE_SERVICE) {
^
./lib/eal/common/eal_common_options.c: In function ‘eal_parse_lcores’:
./lib/eal/common/eal_common_options.c:1184:20: error: ‘struct lcore_config’ has no member named ‘core_index’
lcore_config[idx].core_index = -1;
^
In file included from /usr/include/sched.h:44,
from /usr/include/pthread.h:23,
from ../lib/eal/common/eal_common_options.c:8:
./lib/eal/common/eal_common_options.c:1185:30: error: ‘struct lcore_config’ has no member named ‘cpuset’
CPU_ZERO(&lcore_config[idx].cpuset);
^
./lib/eal/common/eal_common_options.c:1246:22: error: ‘struct lcore_config’ has no member named ‘core_index’
lcore_config[idx].core_index = count;
^
In file included from ../lib/eal/common/eal_common_options.c:33:
./lib/eal/common/eal_common_options.c:1258:33: error: ‘struct lcore_config’ has no member named ‘cpuset’
rte_memcpy(&lcore_config[idx].cpuset, &cpuset,
^
./lib/eal/loongarch/include/rte_memcpy.h:55:37: note: in definition of macro ‘rte_memcpy’
#define rte_memcpy(d, s, n) memcpy((d), (s), (n))
^
./lib/eal/common/eal_common_options.c: In function ‘eal_auto_detect_cores’:
./lib/eal/common/eal_common_options.c:1947:6: warning: implicit declaration of function ‘rte_thread_get_affinity_by_id’; did you mean ‘rte_thread_get_affinity’? [-Wimplicit-function-declaration]
if (rte_thread_get_affinity_by_id(rte_thread_self(), &affinity_set) != 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_thread_get_affinity
./lib/eal/common/eal_common_options.c:1947:6: warning: nested extern declaration of ‘rte_thread_get_affinity_by_id’ [-Wnested-externs]
In file included from /usr/include/sched.h:44,
from /usr/include/pthread.h:23,
from ../lib/eal/common/eal_common_options.c:8:
./lib/eal/common/eal_common_options.c: In function ‘compute_ctrl_threads_cpuset’:
./lib/eal/common/eal_common_options.c:1971:53: error: ‘struct lcore_config’ has no member named ‘cpuset’
RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset);
^
./lib/eal/common/eal_common_options.c:1971:3: note: in expansion of macro ‘RTE_CPU_OR’
RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset);
^~~~~~~~~~
./lib/eal/common/eal_common_options.c:1982:53: error: ‘struct lcore_config’ has no member named ‘cpuset’
memcpy(cpuset, &lcore_config[rte_get_main_lcore()].cpuset,
^
./lib/eal/common/eal_common_options.c: In function ‘eal_adjust_config’:
./lib/eal/common/eal_common_options.c:2016:32: error: ‘struct lcore_config’ has no member named ‘core_role’
lcore_config[cfg->main_lcore].core_role = ROLE_RTE;
^
[31/2352] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
FAILED: lib/librte_eal.a.p/eal_common_rte_service.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.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
 common_rte_service.c.o -MF lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o lib/librte_eal.a.p/eal_common_rte_service.c.o -c ../lib/eal/common/rte_service.c
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/rte_service.h:35,
from ../lib/eal/common/rte_service.c:9:
./lib/eal/include/rte_thread.h:34:39: error: expected declaration specifiers or ‘...’ before numeric constant
#define RTE_THREAD_INTERNAL_NAME_SIZE 11
^~
./lib/eal/include/rte_thread.h:35:18: note: in expansion of macro ‘RTE_THREAD_INTERNAL_NAME_SIZE’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: data definition has no type or storage class
} rte_thread_t;
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:43:3: warning: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Wimplicit-int]
./lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
./lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
./lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/rte_service.c:22:
./lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier app/ build/ buildtools/ config/ devtools/ doc/ drivers/ dts/ examples/ kernel/ lib/ license/ usertools/
^~~~~~~~~~~~
./lib/eal/common/rte_service.c: In function ‘rte_service_init’:
./lib/eal/common/rte_service.c:114:22: error: ‘struct lcore_config’ has no member named ‘core_role’
if (lcore_config[i].core_role == ROLE_SERVICE) {
^
./lib/eal/common/rte_service.c: In function ‘set_lcore_state’:
./lib/eal/common/rte_service.c:691:21: error: ‘struct lcore_config’ has no member named ‘core_role’
lcore_config[lcore].core_role = state;
^
./lib/eal/common/rte_service.c: In function ‘rte_service_dump’:
./lib/eal/common/rte_service.c:1050:22: error: ‘struct lcore_config’ has no member named ‘core_role’
if (lcore_config[i].core_role != ROLE_SERVICE)
^
[32/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_uuid.c.o
[33/2352] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_data.c.o
[34/2352] Compiling C object lib/librte_log.a.p/log_log.c.o
[35/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
[36/2352] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* |SUCCESS| pw131386 [PATCH v2 11/11] lib: remove pthread.h from includes
       [not found] <20230913103600.1935292-12-thomas@monjalon.net>
  2023-09-13 10:30 ` |FAILURE| pw131376-131386 [PATCH v2 11/11] lib: remove pthread.h from includes qemudev
@ 2023-09-13 10:39 ` checkpatch
  2023-09-13 11:19 ` |FAILURE| " 0-day Robot
  2 siblings, 0 replies; 3+ messages in thread
From: checkpatch @ 2023-09-13 10:39 UTC (permalink / raw)
  To: test-report

Test-Label: checkpatch
Test-Status: SUCCESS
http://dpdk.org/patch/131386

_coding style OK_



^ permalink raw reply	[flat|nested] 3+ messages in thread

* |FAILURE| pw131386 [PATCH v2 11/11] lib: remove pthread.h from includes
       [not found] <20230913103600.1935292-12-thomas@monjalon.net>
  2023-09-13 10:30 ` |FAILURE| pw131376-131386 [PATCH v2 11/11] lib: remove pthread.h from includes qemudev
  2023-09-13 10:39 ` |SUCCESS| pw131386 " checkpatch
@ 2023-09-13 11:19 ` 0-day Robot
  2 siblings, 0 replies; 3+ messages in thread
From: 0-day Robot @ 2023-09-13 11:19 UTC (permalink / raw)
  To: test-report; +Cc: thomas, robot

From: robot@bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/131386/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/6171540270
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-mini" failed at step Build and test
"ubuntu-20.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
"ubuntu-20.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" failed at step Build and test
"fedora:37-gcc" failed at step Build
"fedora:37-clang" failed at step Build
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-mini" at step Build and test
####################################################################################
      |                     ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
      |                              ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                      ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                                       ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  384 | int rte_thread_get_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  400 | int rte_thread_set_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-mini" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
  231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
      |                              ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                      ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                                       ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  384 | int rte_thread_get_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  400 | int rte_thread_set_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[7/3814] Generating kvargs.sym_chk with a meson_exe.py custom command.
[8/3814] Generating log.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
                                  ^~~~~~~~~~~~
                                  rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
                            ^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
                            ^~~~~~~~~~~~
                            rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
                            ^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
                            ^~~~~~~~~~~~
                            rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
                            ^
18 errors generated.
[7/3814] Generating kvargs.sym_chk with a meson_exe.py custom command.
[8/3814] Generating log.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
  231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
      |                              ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                      ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                                       ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  384 | int rte_thread_get_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  400 | int rte_thread_set_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[7/3073] Generating kvargs.sym_chk with a meson_exe.py custom command.
[8/3073] Generating log.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
      |                              ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                      ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                                       ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  384 | int rte_thread_get_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  400 | int rte_thread_set_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[9/1406] Compiling C object 'lib/76b5a35@@rte_log@sta/log_log.c.obj'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
  231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
      |                              ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                      ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                                       ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  384 | int rte_thread_get_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  400 | int rte_thread_set_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[5/3983] Compiling C object 'lib/76b5a35@@rte_log@sta/log_log.c.o'.
[6/3983] Generating kvargs.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
  231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
      |                              ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                      ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                                       ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  384 | int rte_thread_get_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  400 | int rte_thread_set_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[5/3290] Compiling C object 'lib/76b5a35@@rte_log@sta/log_log.c.o'.
[6/3290] Generating kvargs.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
  231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
      |                              ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                      ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
      |                                       ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
      |                                   ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  384 | int rte_thread_get_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
  400 | int rte_thread_set_priority(rte_thread_t thread_id,
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[5/3262] Compiling C object 'lib/76b5a35@@rte_log@sta/log_log.c.o'.
[6/3262] Generating kvargs.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-gcc" at step Build
####################################################################################




####################################################################################
#### [Begin job log] "fedora:37-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-13 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230913103600.1935292-12-thomas@monjalon.net>
2023-09-13 10:30 ` |FAILURE| pw131376-131386 [PATCH v2 11/11] lib: remove pthread.h from includes qemudev
2023-09-13 10:39 ` |SUCCESS| pw131386 " checkpatch
2023-09-13 11:19 ` |FAILURE| " 0-day Robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).