compilation|FAILURE| pw(164859) sid(38305) job(PER_PATCH_BUILD18993)[v7, 20/20] net/sxe2: update sxe2 feature matrix docs
sys_stv at intel.com
sys_stv at intel.com
Wed Jun 3 04:39:00 CEST 2026
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/164859
_Compilation issues_
Submitter: liujie5 at linkdatatechnology.com <liujie5 at linkdatatechnology.com>
Date: 2026-06-03 02:21:50
Reply_mail: <20260603022150.1140722-21-liujie5 at linkdatatechnology.com>
DPDK git baseline: Repo:dpdk-next-net, CommitID: 24162fa4487a99562812d13da937ef0f6ec77d3a
Meson Build Summary: 23 Builds Done, 0 Successful, 23 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | fail | | | | | | |
| FreeBSD15-64 | fail | fail | | fail | fail | | |
| RHEL96-64 | fail | fail | | fail | fail | | |
| SUSE16-64 | fail | fail | | | | | |
| AzureLinux3.0-64 | fail | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL10.1-64 | fail | | | | | | |
| UB2404-64 | fail | fail | | | | fail | fail |
| RHEL10-64RT | fail | | | | | | |
| UB2510-64 | fail | | | | | | |
| Fedora43-64 | fail | fail | | | | | |
| OpenEuler2404-64 | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.10-64
Kernel Version: 5.10.134-18.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
x86_64-native-linuxapp-gcc
OS: FreeBSD15-64
Kernel Version: 15.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 14.2.0
Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL96-64
Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE16-64
Kernel Version: 6.12.0-160000.26-default
GCC Version: gcc (SUSE Linux) 15.2.0
Clang Version: 19.1.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL10.1-64
Kernel Version: 6.12.0-124.8.1.el10_1.x86_64
GCC Version: gcc (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
Clang Version: 20.1.8 (Red Hat, Inc. 20.1.8-1.el10)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: 18.1.3 (1ubuntu1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL10-64RT
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
x86_64-native-linuxapp-gcc
OS: UB2510-64
Kernel Version: 6.17.0-5-generic
GCC Version: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: Fedora43-64
Kernel Version: 6.17.1-300.fc43.x86_64
GCC Version: gcc (GCC) 15.2.1 20250924 (Red Hat 15.2.1-2)
Clang Version: 21.1.8 (Fedora 21.1.8-4.fc43)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: OpenEuler2404-64
Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64
GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2)
Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:8: error: expected ‘)’ before ‘addr’
addr, len, msl->page_sz);
^~~~
../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:445:27: note: in expansion of macro ‘RTE_FMT_HEAD’
RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: in expansion of macro ‘SXE2_PMD_LOG’
SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:3: note: in expansion of macro ‘PMD_LOG_ERR’
PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
^~~~~~~~~~~
../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:445:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: in expansion of macro ‘SXE2_PMD_LOG’
SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:3: note: in expansion of macro ‘PMD_LOG_ERR’
PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
^~~~~~~~~~~
../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:445:2: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: in expansion of macro ‘SXE2_PMD_LOG’
SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:3: note: in expansion of macro ‘PMD_LOG_ERR’
PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: expected ‘)’ before ‘addr’
addr, len, msl->page_sz);
^~~~
../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:446:16: note: in expansion of macro ‘RTE_FMT’
RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
^~~~~~~
../lib/log/rte_log.h:446:31: note: in expansion of macro ‘RTE_FMT_HEAD’
RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: in expansion of macro ‘SXE2_PMD_LOG’
SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:3: note: in expansion of macro ‘PMD_LOG_ERR’
PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:1: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
addr, len, msl->page_sz);
^ ~
../lib/log/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: in expansion of macro ‘SXE2_PMD_LOG’
SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:3: note: in expansion of macro ‘PMD_LOG_ERR’
PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:1: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
addr, len, msl->page_sz);
^ ~
../lib/log/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: in expansion of macro ‘SXE2_PMD_LOG’
SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:3: note: in expansion of macro ‘PMD_LOG_ERR’
PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:1: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
addr, len, msl->page_sz);
^ ~
../lib/log/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: in expansion of macro ‘SXE2_PMD_LOG’
SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:3: note: in expansion of macro ‘PMD_LOG_ERR’
PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:1: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
addr, len, msl->page_sz);
^ ~
../lib/log/rte_log.h:334:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: in expansion of macro ‘SXE2_PMD_LOG’
SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:3: note: in expansion of macro ‘PMD_LOG_ERR’
PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
^~~~~~~~~~~
cc1: all warnings being treated as errors
[498/3773] Compiling C object drivers/librte_common_qat_base_lib.a.p/common_sfc_efx_base_ef10_nic.c.o
[499/3773] Compiling C object drivers/librte_common_qat_base_lib.a.p/common_sfc_efx_base_ef10_mcdi.c.o
[500/3773] Compiling C object lib/librte_pdcp.a.p/pdcp_pdcp_ctrl_pdu.c.o
[501/3773] Compiling C object lib/librte_pdcp.a.p/pdcp_pdcp_reorder.c.o
[502/3773] Compiling C object lib/librte_fib_avx512_lib.a.p/fib_dir24_8_avx512.c.o
[503/3773] Generating lib/ipsec.sym_chk with a custom command (wrapped by meson to capture output)
[504/3773] Compiling C object lib/librte_pdcp.a.p/pdcp_pdcp_process.c.o
[505/3773] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[506/3773] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #2:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function 'sxe2_dma_mem_map':
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ')' before 'addr'
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro 'RTE_LOG_CHECK_NO_NEWLINE'
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro 'RTE_FMT_HEAD'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this '('
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function '__builtin_strchr'
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ')' before 'addr'
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro 'RTE_FMT'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro 'RTE_FMT_HEAD'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this '('
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro 'RTE_LOG'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%s' expects a matching 'char *' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%p' expects a matching 'void *' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%zu' expects a matching 'size_t' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%lu' expects a matching 'long unsigned int' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[736/2290] Compiling C object drivers/libtmp_rte_common_sfc_efx.a.p/common_sfc_efx_sfc_efx_mcdi.c.o
[737/2290] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[738/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[739/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[740/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[741/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_pmd.c.o
[742/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[743/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[744/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_session.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
clang -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
../drivers/common/sxe2/sxe2_common.c:221:8: error: expected ')'
221 | addr, len, msl->page_sz);
| ^
../drivers/common/sxe2/sxe2_common.c:220:3: note: to match this '('
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: expanded from macro 'PMD_LOG_ERR'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: expanded from macro 'SXE2_PMD_LOG'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^
../lib/log/rte_log.h:446:2: note: expanded from macro 'RTE_LOG_LINE_PREFIX'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^
../lib/log/rte_log.h:333:10: note: expanded from macro 'RTE_LOG'
333 | rte_log(RTE_LOG_ ## l, \
| ^
1 error generated.
[269/2311] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[270/2311] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[271/2311] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[272/2311] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[273/2311] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[274/2311] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_pmd.c.o
[275/2311] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[276/2311] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[277/2311] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_session.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function 'sxe2_dma_mem_map':
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ')' before 'addr'
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro 'RTE_LOG_CHECK_NO_NEWLINE'
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro 'RTE_FMT_HEAD'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this '('
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function '__builtin_strchr'
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ')' before 'addr'
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro 'RTE_FMT'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro 'RTE_FMT_HEAD'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this '('
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro 'RTE_LOG'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%s' expects a matching 'char *' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%p' expects a matching 'void *' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%zu' expects a matching 'size_t' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%lu' expects a matching 'long unsigned int' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[751/2168] Compiling C object drivers/libtmp_rte_common_sfc_efx.a.p/common_sfc_efx_sfc_efx_mcdi.c.o
[752/2168] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[753/2168] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[754/2168] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[755/2168] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[756/2168] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[757/2168] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[758/2168] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_pmd.c.o
[759/2168] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_session.c.o
ninja: build stopped
*Build Failed #5:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function 'sxe2_dma_mem_map':
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ')' before 'addr'
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro 'RTE_LOG_CHECK_NO_NEWLINE'
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro 'RTE_FMT_HEAD'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this '('
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function '__builtin_strchr'
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro 'RTE_LOG_CHECK_NO_NEWLINE'
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ')' before 'addr'
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro 'RTE_FMT'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro 'RTE_FMT_HEAD'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this '('
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro 'RTE_LOG'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%s' expects a matching 'char *' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%p' expects a matching 'void *' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%zu' expects a matching 'size_t' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format '%lu' expects a matching 'long unsigned int' argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro 'RTE_LOG_LINE_PREFIX'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro 'SXE2_PMD_LOG'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro 'PMD_LOG_ERR'
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[734/2290] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[735/2290] Compiling C object drivers/libtmp_rte_common_sfc_efx.a.p/common_sfc_efx_sfc_efx_mcdi.c.o
[736/2290] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[737/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[738/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[739/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[740/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_pmd.c.o
[741/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[742/2290] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
ninja: build stopped
*Build Failed #6:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1015/3703] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[1016/3703] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1017/3703] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1018/3703] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1019/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1020/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1021/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1022/3703] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
[1023/3703] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #7:
OS: RHEL96-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
clang -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
../drivers/common/sxe2/sxe2_common.c:221:8: error: expected ')'
221 | addr, len, msl->page_sz);
| ^
../drivers/common/sxe2/sxe2_common.c:220:3: note: to match this '('
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: expanded from macro 'PMD_LOG_ERR'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: expanded from macro 'SXE2_PMD_LOG'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^
../lib/log/rte_log.h:446:2: note: expanded from macro 'RTE_LOG_LINE_PREFIX'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^
../lib/log/rte_log.h:333:10: note: expanded from macro 'RTE_LOG'
333 | rte_log(RTE_LOG_ ## l, \
| ^
1 error generated.
[1021/3662] Compiling C object drivers/librte_common_sfc_efx.so.26.2.p/meson-generated_.._rte_common_sfc_efx.pmd.c.o
[1022/3662] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1023/3662] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1024/3662] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1025/3662] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1026/3662] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
[1027/3662] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1028/3662] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[1029/3662] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #8:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1027/3542] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[1028/3542] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1029/3542] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1030/3542] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1031/3542] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1032/3542] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1033/3542] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1034/3542] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
[1035/3542] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #9:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1016/3703] Compiling C object drivers/librte_common_sfc_efx.a.p/meson-generated_.._rte_common_sfc_efx.pmd.c.o
[1017/3703] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1018/3703] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1019/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1020/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1021/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1022/3703] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1023/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[1024/3703] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
ninja: build stopped
*Build Failed #10:
OS: SUSE16-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
clang -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
../drivers/common/sxe2/sxe2_common.c:221:8: error: expected ')'
221 | addr, len, msl->page_sz);
| ^
../drivers/common/sxe2/sxe2_common.c:220:3: note: to match this '('
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: expanded from macro 'PMD_LOG_ERR'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: expanded from macro 'SXE2_PMD_LOG'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^
../lib/log/rte_log.h:446:2: note: expanded from macro 'RTE_LOG_LINE_PREFIX'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^
../lib/log/rte_log.h:333:10: note: expanded from macro 'RTE_LOG'
333 | rte_log(RTE_LOG_ ## l, \
| ^
1 error generated.
[1014/3684] Linking static target drivers/libtmp_rte_common_sfc_efx.a
[1015/3684] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1016/3684] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1017/3684] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1018/3684] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1019/3684] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1020/3684] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
[1021/3684] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1022/3684] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
ninja: build stopped
*Build Failed #11:
OS: SUSE16-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’; expected 2, have 1
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1015/3684] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1016/3684] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[1017/3684] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1018/3684] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1019/3684] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1020/3684] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1021/3684] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1022/3684] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1023/3684] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
ninja: build stopped
*Build Failed #12:
OS: AzureLinux3.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[500/3769] Compiling C object lib/librte_fib_avx512_lib.a.p/fib_trie_avx512.c.o
[501/3769] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[502/3769] Compiling C object lib/librte_fib.a.p/fib_rte_fib.c.o
[503/3769] Compiling C object lib/librte_fib_avx512_lib.a.p/fib_dir24_8_avx512.c.o
[504/3769] Compiling C object lib/librte_fib.a.p/fib_rte_fib6.c.o
[505/3769] Compiling C object lib/librte_pdcp.a.p/pdcp_pdcp_process.c.o
[506/3769] Compiling C object lib/librte_fib.a.p/fib_dir24_8.c.o
[507/3769] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[508/3769] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #13:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%llu’ expects a matching ‘long long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[796/2757] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[797/2757] Compiling C object drivers/libtmp_rte_crypto_ionic.a.p/crypto_ionic_ionic_crypto_ops.c.o
[798/2757] Generating drivers/rte_common_qat.pmd.c with a custom command
[799/2757] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[800/2757] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto.c.o
[801/2757] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[802/2757] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[803/2757] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[804/2757] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
ninja: build stopped
*Build Failed #14:
OS: RHEL10.1-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1021/3703] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1022/3703] Generating symbol file drivers/librte_common_cnxk.so.26.2.p/librte_common_cnxk.so.26.2.symbols
[1023/3703] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1024/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1025/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1026/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1027/3703] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
[1028/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[1029/3703] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #15:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1045/3945] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[1046/3945] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1047/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1048/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto.c.o
[1049/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1050/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1051/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[1052/3945] Compiling C object drivers/libtmp_rte_net_memif.a.p/net_memif_rte_eth_memif.c.o
[1053/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
ninja: build stopped
*Build Failed #16:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1043/3945] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[1044/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1045/3945] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1046/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1047/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1048/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1049/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto.c.o
[1050/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_pmd.c.o
[1051/3945] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
ninja: build stopped
*Build Failed #17:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
clang -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
../drivers/common/sxe2/sxe2_common.c:221:8: error: expected ')'
221 | addr, len, msl->page_sz);
| ^
../drivers/common/sxe2/sxe2_common.c:220:3: note: to match this '('
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: expanded from macro 'PMD_LOG_ERR'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: expanded from macro 'SXE2_PMD_LOG'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^
../lib/log/rte_log.h:446:2: note: expanded from macro 'RTE_LOG_LINE_PREFIX'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^
../lib/log/rte_log.h:333:10: note: expanded from macro 'RTE_LOG'
333 | rte_log(RTE_LOG_ ## l, \
| ^
1 error generated.
[1043/3946] Compiling C object drivers/libtmp_rte_net_memif.a.p/net_memif_rte_eth_memif.c.o
[1044/3946] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1045/3946] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[1046/3946] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1047/3946] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1048/3946] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1049/3946] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[1050/3946] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1051/3946] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto.c.o
ninja: build stopped
*Build Failed #18:
OS: UB2404-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1042/3754] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1043/3754] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[1044/3754] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1045/3754] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1046/3754] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1047/3754] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1048/3754] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_pmd.c.o
[1049/3754] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto.c.o
[1050/3754] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
ninja: build stopped
*Build Failed #19:
OS: RHEL10-64RT
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1015/3703] Compiling C object drivers/librte_common_sfc_efx.a.p/meson-generated_.._rte_common_sfc_efx.pmd.c.o
[1016/3703] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1017/3703] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1018/3703] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1019/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1020/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1021/3703] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1022/3703] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
[1023/3703] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #20:
OS: UB2510-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’; expected 2, have 1
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1047/3941] Compiling C object drivers/libtmp_rte_net_memif.a.p/net_memif_rte_eth_memif.c.o
[1048/3941] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1049/3941] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1050/3941] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1051/3941] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto.c.o
[1052/3941] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[1053/3941] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1054/3941] Compiling C object drivers/libtmp_rte_common_zsda.a.p/crypto_zsda_zsda_crypto_pmd.c.o
[1055/3941] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #21:
OS: Fedora43-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’; expected 2, have 1
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1016/3691] Compiling C object drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_ioctl_chnl.c.o
[1017/3691] Generating drivers/rte_common_sfc_efx.pmd.c with a custom command
[1018/3691] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1019/3691] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1020/3691] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1021/3691] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1022/3691] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1023/3691] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1024/3691] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
ninja: build stopped
*Build Failed #22:
OS: Fedora43-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
clang -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
../drivers/common/sxe2/sxe2_common.c:221:8: error: expected ')'
221 | addr, len, msl->page_sz);
| ^
../drivers/common/sxe2/sxe2_common.c:220:3: note: to match this '('
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^
../drivers/common/sxe2/sxe2_common_log.h:44:2: note: expanded from macro 'PMD_LOG_ERR'
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:2: note: expanded from macro 'SXE2_PMD_LOG'
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^
../lib/log/rte_log.h:446:2: note: expanded from macro 'RTE_LOG_LINE_PREFIX'
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^
../lib/log/rte_log.h:333:10: note: expanded from macro 'RTE_LOG'
333 | rte_log(RTE_LOG_ ## l, \
| ^
1 error generated.
[1016/3691] Linking static target drivers/librte_common_sfc_efx.a
[1017/3691] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfp_rxtx_vec_avx2.c.o
[1018/3691] Compiling C object drivers/librte_net_nfp_avx2_lib.a.p/net_nfp_nfdk_nfp_nfdk_vec_avx2_dp.c.o
[1019/3691] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1020/3691] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp.c.o
[1021/3691] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1022/3691] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_flower_nfp_conntrack.c.o
[1023/3691] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1024/3691] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #23:
OS: OpenEuler2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o
gcc -Idrivers/libtmp_rte_common_sxe2.a.p -Idrivers -I../drivers -Idrivers/common/sxe2 -I../drivers/common/sxe2 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/pci -I../lib/pci -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.sxe2 -MD -MQ drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -MF drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o.d -o drivers/libtmp_rte_common_sxe2.a.p/common_sxe2_sxe2_common.c.o -c ../drivers/common/sxe2/sxe2_common.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../drivers/common/sxe2/sxe2_common.c:7:
../drivers/common/sxe2/sxe2_common.c: In function ‘sxe2_dma_mem_map’:
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:364:41: note: in definition of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~
../lib/log/rte_log.h:445:34: note: in expansion of macro ‘RTE_FMT_HEAD’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:40: note: to match this ‘(’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:24: error: too few arguments to function ‘__builtin_strchr’
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^~~~~~~~~~~~~~~~
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:364:23: error: expression in static assertion is not an integer
364 | static_assert(!__builtin_strchr(fmt, '\n'), \
| ^
../lib/log/rte_log.h:445:9: note: in expansion of macro ‘RTE_LOG_CHECK_NO_NEWLINE’
445 | RTE_LOG_CHECK_NO_NEWLINE(RTE_FMT_HEAD(prefix __VA_ARGS__ ,)); \
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:29: error: expected ‘)’ before ‘addr’
221 | addr, len, msl->page_sz);
| ^~~~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:446:23: note: in expansion of macro ‘RTE_FMT’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:446:38: note: in expansion of macro ‘RTE_FMT_HEAD’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../lib/log/rte_log.h:333:17: note: to match this ‘(’
333 | rte_log(RTE_LOG_ ## l, \
| ^
../lib/log/rte_log.h:446:9: note: in expansion of macro ‘RTE_LOG’
446 | RTE_LOG(l, t, RTE_FMT(prefix RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%p’ expects a matching ‘void *’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%zu’ expects a matching ‘size_t’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:221:8: error: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Werror=format=]
221 | addr, len, msl->page_sz);
| ^ ~
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/common/sxe2/sxe2_common_log.h:23:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
23 | RTE_LOG_LINE_PREFIX(level, log_type, "%s(): ", \
| ^~~~~~~~~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common_log.h:44:9: note: in expansion of macro ‘SXE2_PMD_LOG’
44 | SXE2_PMD_LOG(ERR, SXE2_##logtype, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/common/sxe2/sxe2_common.c:220:17: note: in expansion of macro ‘PMD_LOG_ERR’
220 | PMD_LOG_ERR(COM, "Addr=%p and len=%zu not align page size=%" PRIu64 "."
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1025/3769] Compiling C object drivers/libtmp_rte_net_netvsc.a.p/net_netvsc_hn_nvs.c.o
[1026/3769] Compiling C object drivers/libtmp_rte_net_netvsc.a.p/net_netvsc_hn_vf.c.o
[1027/3769] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_device.c.o
[1028/3769] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp.c.o
[1029/3769] Compiling C object drivers/libtmp_rte_common_zsda.a.p/common_zsda_zsda_qp_common.c.o
[1030/3769] Compiling C object drivers/libtmp_rte_net_netvsc.a.p/net_netvsc_hn_ethdev.c.o
[1031/3769] Compiling C object drivers/libtmp_rte_net_netvsc.a.p/net_netvsc_hn_rxtx.c.o
[1032/3769] Compiling C object drivers/libtmp_rte_common_zsda.a.p/compress_zsda_zsda_comp_pmd.c.o
[1033/3769] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
DPDK STV team
More information about the test-report
mailing list