* |FAILURE| pw136935-136936 [RFC PATCH 2/2] power: refactor uncore power management library
[not found] <20240220153326.6236-4-sivaprasad.tummala@amd.com>
@ 2024-02-20 15:11 ` qemudev
2024-02-20 15:35 ` |SUCCESS| pw136936 " checkpatch
2024-02-20 16:04 ` |FAILURE| " 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: qemudev @ 2024-02-20 15:11 UTC (permalink / raw)
To: test-report; +Cc: Sivaprasad Tummala, zhoumin
Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/136936
_ninja build failure_
Submitter: Sivaprasad Tummala <Sivaprasad.Tummala@amd.com>
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------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* |SUCCESS| pw136936 [RFC PATCH 2/2] power: refactor uncore power management library
[not found] <20240220153326.6236-4-sivaprasad.tummala@amd.com>
2024-02-20 15:11 ` |FAILURE| pw136935-136936 [RFC PATCH 2/2] power: refactor uncore power management library qemudev
@ 2024-02-20 15:35 ` checkpatch
2024-02-20 16:04 ` |FAILURE| " 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: checkpatch @ 2024-02-20 15:35 UTC (permalink / raw)
To: test-report
Test-Label: checkpatch
Test-Status: SUCCESS
http://dpdk.org/patch/136936
_coding style OK_
^ permalink raw reply [flat|nested] 3+ messages in thread
* |FAILURE| pw136936 [RFC PATCH 2/2] power: refactor uncore power management library
[not found] <20240220153326.6236-4-sivaprasad.tummala@amd.com>
2024-02-20 15:11 ` |FAILURE| pw136935-136936 [RFC PATCH 2/2] power: refactor uncore power management library qemudev
2024-02-20 15:35 ` |SUCCESS| pw136936 " checkpatch
@ 2024-02-20 16:04 ` 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: 0-day Robot @ 2024-02-20 16:04 UTC (permalink / raw)
To: test-report; +Cc: Sivaprasad.Tummala, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/136936/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/7976152925
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-abi+debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-22.04-gcc-static-i386" failed at step Build and test
"ubuntu-22.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
"fedora:39-gcc" failed at step Build
"fedora:39-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
../lib/power/rte_power.c:224:9: note: in expansion of macro ‘POWER_LOG’
224 | POWER_LOG(ERR, "Environment has not been set, unable "
| ^~~~~~~~~
[339/2903] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o'.
FAILED: lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o
ccache gcc -Ilib/76b5a35@@rte_power@sta -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/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o' -MF 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o.d' -o 'lib/76b5a35@@rte_power@sta/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:34: error: expected expression before ‘void’
354 | return ops->get_num_pkgs(void);
| ^~~~
../lib/power/rte_power_uncore.h:354:16: error: too many arguments to function ‘ops->get_num_pkgs’
354 | 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
13 | #include "power_intel_uncore.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[340/2903] Generating member.sym_chk with a meson_exe.py custom command.
[341/2903] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.24.1.symbols'.
[342/2903] Generating pcapng.sym_chk with a meson_exe.py custom command.
[343/2903] Generating eventdev.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x23
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x23
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
[339/2903] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o'.
FAILED: lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o
ccache clang -Ilib/76b5a35@@rte_power@sta -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/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o' -MF 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o.d' -o 'lib/76b5a35@@rte_power@sta/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:354:27: error: expected expression
return ops->get_num_pkgs(void);
^
../lib/power/rte_power_uncore.c:13:10: fatal error: 'power_intel_uncore.h' file not found
#include "power_intel_uncore.h"
^~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[340/2903] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_sketch.c.o'.
[341/2903] Compiling C object 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-abi+debug+doc+examples+tests" at step Build and test
####################################################################################
../lib/power/rte_power.c:224:9: note: in expansion of macro ‘POWER_LOG’
224 | POWER_LOG(ERR, "Environment has not been set, unable "
| ^~~~~~~~~
[348/3979] Compiling C object 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o'.
[349/3979] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.24.1.symbols'.
[350/3979] Generating member.sym_chk with a meson_exe.py custom command.
[351/3979] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o'.
FAILED: lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o
ccache gcc -Ilib/76b5a35@@rte_power@sta -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/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Werror -std=c11 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o' -MF 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o.d' -o 'lib/76b5a35@@rte_power@sta/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:34: error: expected expression before ‘void’
354 | return ops->get_num_pkgs(void);
| ^~~~
../lib/power/rte_power_uncore.h:354:16: error: too many arguments to function ‘ops->get_num_pkgs’
354 | 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
13 | #include "power_intel_uncore.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[352/3979] Generating eventdev.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-abi+debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
../lib/power/rte_power.c:224:9: note: in expansion of macro ‘POWER_LOG’
224 | POWER_LOG(ERR, "Environment has not been set, unable "
| ^~~~~~~~~
[347/3167] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o'.
FAILED: lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o
ccache gcc -Ilib/76b5a35@@rte_power@sta -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/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o' -MF 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o.d' -o 'lib/76b5a35@@rte_power@sta/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:34: error: expected expression before ‘void’
354 | return ops->get_num_pkgs(void);
| ^~~~
../lib/power/rte_power_uncore.h:354:16: error: too many arguments to function ‘ops->get_num_pkgs’
354 | 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
13 | #include "power_intel_uncore.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[348/3167] Generating symbol file 'lib/76b5a35@@rte_dispatcher@sha/librte_dispatcher.so.24.1.symbols'.
[349/3167] Generating member.sym_chk with a meson_exe.py custom command.
[350/3167] Generating pcapng.sym_chk with a meson_exe.py custom command.
[351/3167] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.24.1.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
../lib/power/rte_power.c:224:9: note: in expansion of macro ‘POWER_LOG’
224 | POWER_LOG(ERR, "Environment has not been set, unable "
| ^~~~~~~~~
[333/4124] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o'.
FAILED: lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o
ccache aarch64-linux-gnu-gcc -Ilib/76b5a35@@rte_power@sta -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/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o' -MF 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o.d' -o 'lib/76b5a35@@rte_power@sta/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:34: error: expected expression before ‘void’
354 | return ops->get_num_pkgs(void);
| ^~~~
../lib/power/rte_power_uncore.h:354:16: error: too many arguments to function ‘ops->get_num_pkgs’
354 | 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
13 | #include "power_intel_uncore.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[334/4124] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.24.1.symbols'.
[335/4124] Generating pcapng.sym_chk with a meson_exe.py custom command.
[336/4124] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_sketch.c.o'.
[337/4124] Generating eventdev.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
224 | POWER_LOG(ERR, "Environment has not been set, unable "
| ^~~~~~~~~
cc1: all warnings being treated as errors
[330/3419] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o'.
FAILED: lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_power@sta -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/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-psabi -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-cast-qual -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o' -MF 'lib/76b5a35@@rte_power@sta/power_rte_power_uncore.c.o.d' -o 'lib/76b5a35@@rte_power@sta/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:34: error: expected expression before ‘void’
354 | return ops->get_num_pkgs(void);
| ^~~~
../lib/power/rte_power_uncore.h:354:16: error: too many arguments to function ‘ops->get_num_pkgs’
354 | 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
13 | #include "power_intel_uncore.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[331/3419] Generating lpm.sym_chk with a meson_exe.py custom command.
[332/3419] Compiling C object 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o'.
[333/3419] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_sketch.c.o'.
[334/3419] Generating eventdev.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
| ^~~~~~~~~~~~
../lib/power/rte_power.c:209:9: note: in expansion of macro ‘POWER_LOG’
209 | 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:9: error: static assertion failed: "This log format string contains a \\n"
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~
../lib/log/rte_log.h:371:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
371 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(__VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../lib/power/power_common.h:16:9: note: in expansion of macro ‘RTE_LOG_LINE’
16 | RTE_LOG_LINE(level, POWER, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/power/rte_power.c:224:9: note: in expansion of macro ‘POWER_LOG’
224 | POWER_LOG(ERR, "Environment has not been set, unable "
| ^~~~~~~~~
cc1: all warnings being treated as errors
[329/3390] Generating lpm.sym_chk with a meson_exe.py custom command.
[330/3390] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_vbf.c.o'.
[331/3390] Generating pcapng.sym_chk with a meson_exe.py custom command.
[332/3390] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_sketch.c.o'.
[333/3390] Generating eventdev.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-20 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20240220153326.6236-4-sivaprasad.tummala@amd.com>
2024-02-20 15:11 ` |FAILURE| pw136935-136936 [RFC PATCH 2/2] power: refactor uncore power management library qemudev
2024-02-20 15:35 ` |SUCCESS| pw136936 " checkpatch
2024-02-20 16:04 ` |FAILURE| " 0-day Robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).