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 DBF0643B55 for ; Tue, 20 Feb 2024 16:36:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D800C402A7; Tue, 20 Feb 2024 16:36:30 +0100 (CET) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 3A452402A7 for ; Tue, 20 Feb 2024 16:36:23 +0100 (CET) Received: from loongson.cn (unknown [192.168.100.1]) by gateway (Coremail) with SMTP id _____8CxLOv0xtRlGloPAA--.29733S3; Tue, 20 Feb 2024 23:36:20 +0800 (CST) Received: from localhost.localdomain (unknown [192.168.100.1]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxzxPwxtRle+k8AA--.36707S3; Tue, 20 Feb 2024 23:36:16 +0800 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 41KFBVOs3061833 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 20 Feb 2024 23:11:31 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 41KFBT4d3061832; Tue, 20 Feb 2024 23:11:29 +0800 Date: Tue, 20 Feb 2024 23:11:29 +0800 From: qemudev@loongson.cn Message-Id: <202402201511.41KFBT4d3061832@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Subject: |FAILURE| pw136935-136936 [RFC PATCH 2/2] power: refactor uncore power management library In-Reply-To: <20240220153326.6236-4-sivaprasad.tummala@amd.com> References: <20240220153326.6236-4-sivaprasad.tummala@amd.com> To: test-report@dpdk.org Cc: Sivaprasad Tummala , zhoumin@loongson.cn X-CM-TRANSID: AQAAf8AxzxPwxtRle+k8AA--.36707S3 Authentication-Results: localhost.localdomain; spf=neutral smtp.mail=q emudev@loongson.cn; X-CM-SenderInfo: pthp3vthy6z05rqj20fqof0/1tbiAQAJD2XPHOMANQBLss X-Coremail-Antispam: 1Uk129KBj9fXoWftF4xGr4DKw1DJFWUJFyUCFX_yoW8tw47Co Wa9F4Dtwn5Gr1DCwsIg34fGa43GrZrGFs8JFy5urs8GrW3J3sIv34UZF1DWw4fur95G347 t34DZrsrJw45AFWDl-sFpf9Il3svdjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8wcxFpf 9Il3svdxBIdaVrn0xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3 UjIYCTnIWjp_UUUYb7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI 8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xG Y2AK021l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14 v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAF wI0_Gr1j6F4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI 0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUGVWUXwAv7VC2z280 aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4kE6xkIj40Ew7xC0wCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07jjoGQUUUUU= 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/136936 _ninja build failure_ Submitter: Sivaprasad Tummala Date: Tue, 20 Feb 2024 16:33:25 +0100 DPDK git baseline: Repo:dpdk Branch: main CommitID: 4aa3ea9d5a17df941fab13a648e69b8de8573992 136935-136936 --> 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_power.a.p/power_rte_power.c.o cc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/loongarch/include -I../lib/eal/loongarch/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing -field-initializers -D_GNU_SOURCE -fPIC -march=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_rte_power.c.o -MF lib/librte_power.a.p/power_rte_power.c.o.d -o lib/librte_power.a.p/power_rte_power.c.o -c ../lib/power/rte_power.c In file included from ../lib/log/rte_log.h:20, from ../lib/power/rte_power.h:15, from ../lib/power/rte_power.c:10: ./lib/power/rte_power.c: In function ‘rte_power_register_ops’: ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:25:3: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, "Unsupported power management environmentn"); ^~~~~~~~~ ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:30:3: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, "Power management env[%d] ops registered alreadyn", ^~~~~~~~~ ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:40:3: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, "Missing callbacks while registering power opsn"); ^~~~~~~~~ ./lib/power/rte_power.c: In function ‘rte_power_get_ops’: ./lib/power/rte_power.c:67:2: warning: implicit declaration of function ‘RTE_VERIFY’; did you mean ‘RTE_PRIO’? [-Wimplicit-function-declaration] RTE_VERIFY((ops_index >= PM_ENV_NOT_SET) && (ops_index < PM_ENV_MAX)); ^~~~~~~~~~ RTE_PRIO ./lib/power/rte_power.c:67:2: warning: nested extern declaration of ‘RTE_VERIFY’ [-Wnested-externs] In file included from ../lib/log/rte_log.h:20, from ../lib/power/rte_power.h:15, from ../lib/power/rte_power.c:10: ./lib/power/rte_power.c: In function ‘rte_power_set_env’: ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:102:3: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, "Invalid Power Management Environment(%d)" ^~~~~~~~~ In file included from ../lib/power/rte_power.h:15, from ../lib/power/rte_power.c:10: ./lib/power/rte_power.c:109:18: error: expected ‘)’ before ‘WER’ POWER_LOG(ERR, WER, ^~~ ./lib/log/rte_log.h:364:34: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ static_assert(!__builtin_strchr(fmt, 'n'), ^~~ ./lib/log/rte_log.h:371:27: note: in expansion of macro ‘RTE_FMT_HEAD’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:109:3: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, WER, ^~~~~~~~~ ./lib/log/rte_log.h:364:17: error: too few arguments to function ‘__builtin_strchr’ static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:109:3: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, WER, ^~~~~~~~~ ./lib/log/rte_log.h:364:16: error: expression in static assertion is not an integer static_assert(!__builtin_strchr(fmt, 'n'), ^ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:109:3: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, WER, ^~~~~~~~~ ./lib/power/rte_power.c:109:18: error: expected ‘)’ before ‘WER’ POWER_LOG(ERR, WER, ^~~ ./lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ ./lib/log/rte_log.h:372:16: note: in expansion of macro ‘RTE_FMT’ RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~ ./lib/log/rte_log.h:372:24: note: in expansion of macro ‘RTE_FMT_HEAD’ RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:109:3: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, WER, ^~~~~~~~~ In file included from ../lib/log/rte_log.h:20, from ../lib/power/rte_power.h:15, from ../lib/power/rte_power.c:10: ./lib/power/rte_power.c: In function ‘rte_power_init’: ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:146:4: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, "Power management env[%d] not" ^~~~~~~~~ In file included from ../lib/power/rte_power.h:15, from ../lib/power/rte_power.c:10: ./lib/power/rte_power.c:152:18: error: expected ‘)’ before ‘POWER’ POWER_LOG(INFO, POWER, "Env isn't set yet!n"); ^~~~~ ./lib/log/rte_log.h:364:34: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ static_assert(!__builtin_strchr(fmt, 'n'), ^~~ ./lib/log/rte_log.h:371:27: note: in expansion of macro ‘RTE_FMT_HEAD’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:152:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, POWER, "Env isn't set yet!n"); ^~~~~~~~~ ./lib/log/rte_log.h:364:17: error: too few arguments to function ‘__builtin_strchr’ static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:152:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, POWER, "Env isn't set yet!n"); ^~~~~~~~~ ./lib/log/rte_log.h:364:16: error: expression in static assertion is not an integer static_assert(!__builtin_strchr(fmt, 'n'), ^ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:152:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, POWER, "Env isn't set yet!n"); ^~~~~~~~~ ./lib/power/rte_power.c:152:18: error: expected ‘)’ before ‘POWER’ POWER_LOG(INFO, POWER, "Env isn't set yet!n"); ^~~~~ ./lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ ./lib/log/rte_log.h:372:16: note: in expansion of macro ‘RTE_FMT’ RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~ ./lib/log/rte_log.h:372:24: note: in expansion of macro ‘RTE_FMT_HEAD’ RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:152:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, POWER, "Env isn't set yet!n"); ^~~~~~~~~ In file included from ../lib/log/rte_log.h:20, from ../lib/power/rte_power.h:15, from ../lib/power/rte_power.c:10: ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:155:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, "Attempting to initialise ACPI cpufreq" ^~~~~~~~~ ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:166:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, "Attempting to initialise PSTAT" ^~~~~~~~~ ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:177:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, "Attempting to initialise AMD PSTATE" ^~~~~~~~~ ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:188:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, "Attempting to initialise CPPC power" ^~~~~~~~~ ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:199:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(INFO, "Attempting to initialise VM power" ^~~~~~~~~ ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:209:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, "Unable to set Power Management Environment" ^~~~~~~~~ ./lib/power/rte_power.c: In function ‘rte_power_exit’: ./lib/log/rte_log.h:364:2: error: static assertion failed: "This log format string contains a \n" static_assert(!__builtin_strchr(fmt, 'n'), ^~~~~~~~~~~~~ ./lib/log/rte_log.h:371:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’ RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lib/power/power_common.h:16:2: note: in expansion of macro ‘RTE_LOG_LINE’ RTE_LOG_LINE(level, POWER, "" __VA_ARGS__) ^~~~~~~~~~~~ ./lib/power/rte_power.c:224:2: note: in expansion of macro ‘POWER_LOG’ POWER_LOG(ERR, "Environment has not been set, unable " ^~~~~~~~~ [235/2450] Compiling C object lib/librte_power.a.p/power_rte_power_uncore.c.o FAILED: lib/librte_power.a.p/power_rte_power_uncore.c.o cc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/loongarch/include -I../lib/eal/loongarch/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing -field-initializers -D_GNU_SOURCE -fPIC -march=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_rte_power_uncore.c.o -MF lib/librte_power.a.p/power_rte_power_uncore.c.o.d -o lib/librte_power.a.p/power_rte_power_uncore.c.o -c ../lib/power/rte_power_uncore.c In file included from ../lib/power/rte_power_uncore.c:12: ./lib/power/rte_power_uncore.h: In function ‘rte_power_uncore_get_num_pkgs’: ./lib/power/rte_power_uncore.h:354:27: error: expected expression before ‘void’ return ops->get_num_pkgs(void); ^~~~ ./lib/power/rte_power_uncore.h:354:9: error: too many arguments to function ‘ops->get_num_pkgs’ return ops->get_num_pkgs(void); ^~~ ./lib/power/rte_power_uncore.c: At top level: ./lib/power/rte_power_uncore.c:13:10: fatal error: power_intel_uncore.h: No such file or directory #include "power_intel_uncore.h" ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. [236/2450] Compiling C object lib/librte_latencystats.a.p/latencystats_rte_latencystats.c.o [237/2450] Compiling C object lib/librte_power.a.p/power_power_common.c.o [238/2450] Generating cfgfile.sym_chk with a custom command (wrapped by meson to capture output) [239/2450] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm.c.o [240/2450] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_tx_adapter.c.o [241/2450] Generating bpf.sym_chk with a custom command (wrapped by meson to capture output) [242/2450] Generating acl.sym_chk with a custom command (wrapped by meson to capture output) [243/2450] Generating compressdev.sym_chk with a custom command (wrapped by meson to capture output) [244/2450] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o [245/2450] Generating bbdev.sym_chk with a custom command (wrapped by meson to capture output) [246/2450] Compiling C object lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o [247/2450] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o [248/2450] Generating dispatcher.sym_chk with a custom command (wrapped by meson to capture output) [249/2450] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o [250/2450] Generating gro.sym_chk with a custom command (wrapped by meson to capture output) [251/2450] Generating cmdline.sym_chk with a custom command (wrapped by meson to capture output) [252/2450] Generating symbol file lib/librte_kvargs.so.24.1.p/librte_kvargs.so.24.1.symbols [253/2450] Generating distributor.sym_chk with a custom command (wrapped by meson to capture output) [254/2450] Generating symbol file lib/librte_telemetry.so.24.1.p/librte_telemetry.so.24.1.symbols [255/2450] Generating gso.sym_chk with a custom command (wrapped by meson to capture output) [256/2450] Compiling C object lib/librte_member.a.p/member_rte_member_vbf.c.o [257/2450] Generating dmadev.sym_chk with a custom command (wrapped by meson to capture output) [258/2450] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_eventdev.c.o [259/2450] Generating jobstats.sym_chk with a custom command (wrapped by meson to capture output) [260/2450] Generating ip_frag.sym_chk with a custom command (wrapped by meson to capture output) [261/2450] Generating gpudev.sym_chk with a custom command (wrapped by meson to capture output) [262/2450] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o [263/2450] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_rx_adapter.c.o [264/2450] Compiling C object lib/librte_member.a.p/member_rte_member_sketch.c.o [265/2450] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o [266/2450] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o [267/2450] Generating eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped: subcommand failed. -------------------------------END LOGS------------------------------