From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B58A42588 for ; Wed, 13 Sep 2023 12:51:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6EF50402CF; Wed, 13 Sep 2023 12:51:59 +0200 (CEST) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 8E233402CF for ; Wed, 13 Sep 2023 12:51:57 +0200 (CEST) Received: from loongson.cn (unknown [192.168.100.1]) by gateway (Coremail) with SMTP id _____8Ax1fBJlAFlclYmAA--.8915S3; Wed, 13 Sep 2023 18:51:54 +0800 (CST) Received: from localhost.localdomain (unknown [192.168.100.1]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxXNxIlAFlV34CAA--.4339S3; Wed, 13 Sep 2023 18:51:52 +0800 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 38DAUsA61965819 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 13 Sep 2023 18:30:54 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 38DAUrNm1965818; Wed, 13 Sep 2023 18:30:53 +0800 Date: Wed, 13 Sep 2023 18:30:53 +0800 From: qemudev@loongson.cn Message-Id: <202309131030.38DAUrNm1965818@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Subject: |FAILURE| pw131376-131386 [PATCH v2 11/11] lib: remove pthread.h from includes In-Reply-To: <20230913103600.1935292-12-thomas@monjalon.net> References: <20230913103600.1935292-12-thomas@monjalon.net> To: test-report@dpdk.org Cc: Thomas Monjalon , zhoumin@loongson.cn X-CM-TRANSID: AQAAf8AxXNxIlAFlV34CAA--.4339S3 Authentication-Results: localhost.localdomain; spf=neutral smtp.mail=q emudev@loongson.cn; X-CM-SenderInfo: pthp3vthy6z05rqj20fqof0/1tbiAQAAD2TUY7ELDQBds3 X-Coremail-Antispam: 1Uk129KBj9DXoWkGFW5Cr1ftFy7XrW3Cr1kXrc_yoW8XFW5JF b_Zw1xX3WUur47A3y7X3WY9wsIqrn3tw1jkr17Xr48tFW7JFnYgFy5uryIvrnayF1Sgr4D A3s3WryrCws8Jwn3GosvyTuYvTs0mTUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUj1kv1T uYvTs0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9f nUUIcSsGvfJTRUUUb7xYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4 v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0 rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8IcVCY1x0267 AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E 14v26r4UJVWxJr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44 I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2 jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwAKzVCY07xG64k0F24l42xK82IYc2 Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s02 6x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1Y6r17MIIYrxkI7VAKI48JMIIF0x vE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE 42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6x kF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07jn18PUUUUU= X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: loongarch-compilation Test-Status: FAILURE http://dpdk.org/patch/131386 _ninja build failure_ Submitter: Thomas Monjalon 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------------------------------