Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/134229 _Compilation issues_ Submitter: Dengdui Huang Date: 2023-11-14 08:25:39 Reply_mail: <20231114082539.1858594-44-huangdengdui@huawei.com> DPDK git baseline: Repo:dpdk, CommitID: fdee0f1b30ae8dfc431465878aae5295372cca6f Meson Build Summary: 25 Builds Done, 0 Successful, 25 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.8-64 | fail | | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | | RHEL92-64 | fail | fail | | fail | fail | | | | SUSE15-64 | fail | fail | | | | | | | CBL-Mariner2.0-64 | fail | | | | | | | | UB2004-64 | fail | | | | | | | | UB2204-32 | fail | | | | | | | | RHEL87-64 | fail | | | | | | | | UB2204-64 | fail | fail | | | | fail | fail | | CentOS79-64 | fail | | | | | | | | RHEL92-64Rt | fail | | | | | | | | UB2304-64 | fail | | | | | | | | FC38-64 | fail | fail | | | | | | | UB2204-64Rt | 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.8-64 Kernel Version: 5.10.134-13.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3) Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068) x86_64-native-linuxapp-gcc OS: FreeBSD13-64 Kernel Version: 13.2-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 12.2.0 Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL92-64 Kernel Version: 5.14.0-284.11.1.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.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: SUSE15-64 Kernel Version: 5.14.21-150500.53-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 15.0.7 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: CBL-Mariner2.0-64 Kernel Version: 5.15.55.1_2e9a4f9+ GCC Version: gcc (GCC) 11.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-gcc OS: UB2204-32 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL87-64 Kernel Version: 4.18.0-425.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15) Clang Version: NA x86_64-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.81.1.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: RHEL92-64Rt Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) x86_64-native-linuxapp-gcc OS: UB2304-64 Kernel Version: 6.2.0-20-generic GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC38-64 Kernel Version: 6.2.9-300.fc38.x86_64 GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0) Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.17.5-051705-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 x86_64-native-linuxapp-gcc *Build Failed #1: OS: OpenAnolis8.8-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o gcc -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_string’: ../drivers/dma/idxd/idxd_bus.c:148:27: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: in definition of macro ‘IDXD_PMD_LOG’ idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:148:27: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: in definition of macro ‘IDXD_PMD_LOG’ idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_int’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_device_int’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘dsa_scan’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:45: note: format string is defined here IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", ~^ %d cc1: all warnings being treated as errors [950/2832] Compiling C object drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o [951/2832] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_pci.c.o [952/2832] Generating drivers/rte_dma_dpaa.pmd.c with a custom command [953/2832] Generating drivers/rte_dma_cnxk.pmd.c with a custom command [954/2832] Generating symbol file drivers/librte_mempool_dpaa2.so.24.0.p/librte_mempool_dpaa2.so.24.0.symbols [955/2832] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [956/2832] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [957/2832] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [958/2832] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -c ../lib/eal/freebsd/eal_timer.c In file included from ../lib/eal/freebsd/eal_timer.c:13: ../lib/eal/freebsd/eal_timer.c: In function 'get_tsc_freq': ../lib/eal/freebsd/eal_timer.c:39:47: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_timer.c:39:47: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_timer.c:39:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_timer.c:46:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 46 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_timer.c:52:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 52 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ cc1: all warnings being treated as errors [75/1910] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o [76/1910] Linking target lib/librte_telemetry.so.24.0 [77/1910] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memory.c.o [78/1910] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o [79/1910] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o [80/1910] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o [81/1910] Generating symbol file lib/librte_kvargs.so.24.0.p/librte_kvargs.so.24.0.symbols [82/1910] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o [83/1910] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -c ../lib/eal/freebsd/eal_timer.c ../lib/eal/freebsd/eal_timer.c:39:33: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); ^ ../lib/eal/freebsd/eal_timer.c:39:33: note: did you mean 'strerror'? /usr/include/string.h:93:7: note: 'strerror' declared here char *strerror(int); ^ ../lib/eal/freebsd/eal_timer.c:39:33: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ %d ../lib/log/rte_log.h:333:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ ../lib/eal/freebsd/eal_timer.c:46:33: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ %d ../lib/log/rte_log.h:333:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ ../lib/eal/freebsd/eal_timer.c:52:33: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ %d ../lib/log/rte_log.h:333:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ 4 errors generated. [110/1910] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o [111/1910] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o [112/1910] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o [113/1910] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [114/1910] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output) [115/1910] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output) [116/1910] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [117/1910] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output) [118/1910] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -c ../lib/eal/freebsd/eal_timer.c In file included from ../lib/eal/freebsd/eal_timer.c:13: ../lib/eal/freebsd/eal_timer.c: In function 'get_tsc_freq': ../lib/eal/freebsd/eal_timer.c:39:47: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_timer.c:39:47: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_timer.c:39:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_timer.c:46:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 46 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_timer.c:52:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 52 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ cc1: all warnings being treated as errors [77/1807] Compiling C object lib/librte_eal.a.p/eal_x86_rte_hypervisor.c.o [78/1807] Compiling C object lib/librte_eal.a.p/eal_x86_rte_cpuflags.c.o [79/1807] Compiling C object lib/librte_eal.a.p/eal_x86_rte_cycles.c.o [80/1807] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o [81/1807] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_thread.c.o [82/1807] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o [83/1807] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o [84/1807] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o [85/1807] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o ninja: build stopped *Build Failed #5: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I/usr/local/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -c ../lib/eal/freebsd/eal_timer.c In file included from ../lib/eal/freebsd/eal_timer.c:13: ../lib/eal/freebsd/eal_timer.c: In function 'get_tsc_freq': ../lib/eal/freebsd/eal_timer.c:39:47: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_timer.c:39:47: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_timer.c:39:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 39 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_timer.c:46:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 46 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_timer.c:52:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] 52 | RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno)); | ~~~~~~~~~~~~~~~~~~~^ | | | int ../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG' 333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ cc1: all warnings being treated as errors [79/1958] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o [80/1958] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_thread.c.o [81/1958] Compiling C object lib/librte_eal.a.p/eal_x86_rte_cycles.c.o [82/1958] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o [83/1958] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o [84/1958] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o [85/1958] Compiling C object lib/librte_mempool.a.p/mempool_mempool_trace_points.c.o [86/1958] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o [87/1958] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o ninja: build stopped *Build Failed #6: OS: RHEL92-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o gcc -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_string’: ../drivers/dma/idxd/idxd_bus.c:148:55: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] 148 | __func__, sysfs_node, rte_strerror(errno)); | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:72: note: in definition of macro ‘IDXD_PMD_LOG’ 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:148:55: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] 148 | __func__, sysfs_node, rte_strerror(errno)); | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:72: note: in definition of macro ‘IDXD_PMD_LOG’ 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 155 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_int’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 175 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 181 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_device_int’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 202 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 208 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘dsa_scan’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 319 | IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [954/2836] Compiling C object drivers/librte_dma_cnxk.so.24.0.p/meson-generated_.._rte_dma_cnxk.pmd.c.o [955/2836] Linking static target drivers/librte_dma_cnxk.a [956/2836] Generating drivers/rte_dma_dpaa.pmd.c with a custom command [957/2836] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_pci.c.o [958/2836] Generating drivers/rte_dma_hisilicon.pmd.c with a custom command [959/2836] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [960/2836] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [961/2836] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [962/2836] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #7: OS: RHEL92-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o clang -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c ../drivers/dma/idxd/idxd_bus.c:148:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:148:27: note: did you mean 'strerror'? /usr/include/string.h:403:14: note: 'strerror' declared here extern char *strerror (int __errnum) __THROW; ^ ../drivers/dma/idxd/idxd_bus.c:148:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:156:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:156:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:176:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:176:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:182:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:182:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:203:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:203:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:209:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:209:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:320:21: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, path, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:320:21: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, path, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ 14 errors generated. [961/2797] Generating drivers/rte_dma_cnxk.pmd.c with a custom command [962/2797] Generating drivers/rte_dma_ioat.pmd.c with a custom command [963/2797] Generating drivers/rte_dma_hisilicon.pmd.c with a custom command [964/2797] Generating drivers/rte_dma_dpaa2.pmd.c with a custom command [965/2797] Generating drivers/rte_dma_dpaa.pmd.c with a custom command [966/2797] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o [967/2797] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [968/2797] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [969/2797] 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: RHEL92-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o gcc -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_string’: ../drivers/dma/idxd/idxd_bus.c:148:55: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] 148 | __func__, sysfs_node, rte_strerror(errno)); | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:72: note: in definition of macro ‘IDXD_PMD_LOG’ 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:148:55: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] 148 | __func__, sysfs_node, rte_strerror(errno)); | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:72: note: in definition of macro ‘IDXD_PMD_LOG’ 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 155 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_int’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 175 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 181 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_device_int’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 202 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 208 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘dsa_scan’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 319 | IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [962/2687] Generating drivers/rte_dma_dpaa.pmd.c with a custom command [963/2687] Compiling C object drivers/libtmp_rte_dma_cnxk.a.p/dma_cnxk_cnxk_dmadev_fp.c.o [964/2687] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_pci.c.o [965/2687] Compiling C object drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o [966/2687] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [967/2687] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [968/2687] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [969/2687] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [970/2687] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #9: OS: RHEL92-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o gcc -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_string’: ../drivers/dma/idxd/idxd_bus.c:148:55: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] 148 | __func__, sysfs_node, rte_strerror(errno)); | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:72: note: in definition of macro ‘IDXD_PMD_LOG’ 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:148:55: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] 148 | __func__, sysfs_node, rte_strerror(errno)); | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:72: note: in definition of macro ‘IDXD_PMD_LOG’ 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 155 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_int’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 175 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 181 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_device_int’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 202 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 208 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘dsa_scan’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 319 | IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [963/2882] Linking target drivers/librte_dma_dpaa.so.24.0 [964/2882] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o [965/2882] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [966/2882] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o [967/2882] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [968/2882] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [969/2882] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [970/2882] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [971/2882] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #10: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o clang -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c ../drivers/dma/idxd/idxd_bus.c:148:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:148:27: note: did you mean 'strerror'? /usr/include/string.h:397:14: note: 'strerror' declared here extern char *strerror (int __errnum) __THROW; ^ ../drivers/dma/idxd/idxd_bus.c:148:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:156:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:156:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:176:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:176:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:182:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:182:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:203:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:203:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:209:27: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:209:27: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_bus.c:320:21: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __func__, path, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_bus.c:320:21: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] __func__, path, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:65: note: expanded from macro 'IDXD_PMD_ERR' #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ~~~ ^~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: expanded from macro 'IDXD_PMD_LOG' idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ~~~ ^~~~ 14 errors generated. [953/2855] Compiling C object drivers/librte_dma_hisilicon.so.24.0.p/meson-generated_.._rte_dma_hisilicon.pmd.c.o [954/2855] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o [955/2855] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [956/2855] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [957/2855] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o [958/2855] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [959/2855] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [960/2855] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [961/2855] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #11: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o gcc -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c In file included from ../drivers/dma/idxd/idxd_bus.c:20:0: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_string’: ../drivers/dma/idxd/idxd_bus.c:148:27: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_internal.h:25:58: note: in definition of macro ‘IDXD_PMD_LOG’ idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:148:27: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] __func__, sysfs_node, rte_strerror(errno)); ^ ../drivers/dma/idxd/idxd_internal.h:25:58: note: in definition of macro ‘IDXD_PMD_LOG’ idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20:0: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20:0: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_int’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20:0: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20:0: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_device_int’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20:0: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20:0: ../drivers/dma/idxd/idxd_bus.c: In function ‘dsa_scan’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:45: note: format string is defined here IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", ~^ %d cc1: all warnings being treated as errors [949/2853] Compiling C object drivers/librte_mempool_bucket.a.p/meson-generated_.._rte_mempool_bucket.pmd.c.o [950/2853] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [951/2853] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o [952/2853] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o [953/2853] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [954/2853] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [955/2853] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [956/2853] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [957/2853] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #12: OS: CBL-Mariner2.0-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c In file included from ../lib/vhost/iotlb.h:10, from ../lib/vhost/vduse.c:22: ../lib/vhost/vduse.c: In function ‘vduse_control_queue_event’: ../lib/vhost/vduse.c:138:33: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] 138 | rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/vhost/vhost.h:680:54: note: in definition of macro ‘VHOST_LOG_CONFIG’ 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~ ../lib/vhost/vduse.c:138:33: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] 138 | rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/vhost/vhost.h:680:54: note: in definition of macro ‘VHOST_LOG_CONFIG’ 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:137:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 137 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to read control queue event: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_vring_setup’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:159:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 159 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to get VQ %u info: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:185:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 185 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to init kickfd for VQ %u: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:215:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 215 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to setup kickfd for VQ %u: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:225:25: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 225 | VHOST_LOG_CONFIG(dev->ifname, ERR, | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_vring_cleanup’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:256:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 256 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to cleanup kickfd for VQ %u: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_device_start’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:293:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 293 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to get features: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_events_handler’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:360:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 360 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to read request: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:402:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 402 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to write response %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_device_create’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:455:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 455 | VHOST_LOG_CONFIG(name, ERR, "Failed to open %s: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:461:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 461 | VHOST_LOG_CONFIG(name, ERR, "Failed to set API version: %" PRIu64 ": %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:509:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 509 | VHOST_LOG_CONFIG(name, ERR, "Failed to create VDUSE device: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:516:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 516 | VHOST_LOG_CONFIG(name, ERR, "Failed to open device %s: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:524:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 524 | VHOST_LOG_CONFIG(name, ERR, "Failed to set chardev as non-blocking: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_device_destroy’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:627:25: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 627 | VHOST_LOG_CONFIG(name, ERR, "Failed to destroy VDUSE device: %s\n", | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [405/2833] Generating symbol file lib/librte_sched.so.24.0.p/librte_sched.so.24.0.symbols [406/2833] Generating symbol file lib/librte_security.so.24.0.p/librte_security.so.24.0.symbols [407/2833] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [408/2833] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [409/2833] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o [410/2833] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o [411/2833] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o [412/2833] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [413/2833] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #13: OS: UB2004-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c ../lib/telemetry/telemetry_legacy.c: In function ‘register_client’: ../lib/telemetry/telemetry_legacy.c:122:3: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 122 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [14/2882] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [15/2882] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [16/2882] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output) [17/2882] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o [18/2882] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o [19/2882] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [20/2882] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o [21/2882] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’: ../lib/telemetry/telemetry.c:624:3: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 624 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘socket_listener’: ../lib/telemetry/telemetry.c:439:4: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 439 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘create_socket’: ../lib/telemetry/telemetry.c:479:3: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 479 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:510:4: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 510 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:518:3: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 518 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘telemetry_legacy_init’: ../lib/telemetry/telemetry.c:567:3: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 567 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [22/2882] Generating log.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #14: OS: UB2204-32 Target: i686-native-linuxapp-gcc FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c ../lib/telemetry/telemetry_legacy.c: In function ‘register_client’: ../lib/telemetry/telemetry_legacy.c:122:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 122 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [14/2264] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [15/2264] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) [16/2264] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [17/2264] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o [18/2264] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o [19/2264] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [20/2264] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output) [21/2264] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o [22/2264] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’: ../lib/telemetry/telemetry.c:624:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 624 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘socket_listener’: ../lib/telemetry/telemetry.c:439:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 439 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘create_socket’: ../lib/telemetry/telemetry.c:479:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 479 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:510:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 510 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:518:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 518 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘telemetry_legacy_init’: ../lib/telemetry/telemetry.c:567:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 567 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped *Build Failed #15: OS: RHEL87-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o gcc -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_string’: ../drivers/dma/idxd/idxd_bus.c:148:27: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: in definition of macro ‘IDXD_PMD_LOG’ idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:148:27: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] __func__, sysfs_node, rte_strerror(errno)); ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:58: note: in definition of macro ‘IDXD_PMD_LOG’ idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_int’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_device_int’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:50: note: format string is defined here IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:49: note: format string is defined here IDXD_PMD_ERR("%s(): error reading file '%s': %s", ~^ %d In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘dsa_scan’: ../drivers/dma/idxd/idxd_internal.h:25:21: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:3: note: in expansion of macro ‘IDXD_PMD_ERR’ IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:45: note: format string is defined here IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", ~^ %d cc1: all warnings being treated as errors [949/2785] Generating rte_dma_hisilicon.pmd.c with a custom command [950/2785] Generating rte_dma_dpaa.pmd.c with a custom command [951/2785] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [952/2785] Generating rte_dma_cnxk.pmd.c with a custom command [953/2785] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [954/2785] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [955/2785] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [956/2785] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command [957/2785] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #16: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c ../lib/telemetry/telemetry_legacy.c: In function ‘register_client’: ../lib/telemetry/telemetry_legacy.c:122:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 122 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [15/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [16/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [17/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o [18/2887] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output) [19/2887] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’: ../lib/telemetry/telemetry.c:624:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 624 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘socket_listener’: ../lib/telemetry/telemetry.c:439:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 439 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘create_socket’: ../lib/telemetry/telemetry.c:479:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 479 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:510:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 510 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:518:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 518 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘telemetry_legacy_init’: ../lib/telemetry/telemetry.c:567:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 567 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [20/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [21/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o [22/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o [23/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o ninja: build stopped *Build Failed #17: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c ../lib/telemetry/telemetry_legacy.c: In function ‘register_client’: ../lib/telemetry/telemetry_legacy.c:122:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 122 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [14/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [15/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [16/2883] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) [17/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o [18/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o [19/2883] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output) [20/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [21/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o [22/2883] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’: ../lib/telemetry/telemetry.c:624:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 624 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘socket_listener’: ../lib/telemetry/telemetry.c:439:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 439 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘create_socket’: ../lib/telemetry/telemetry.c:479:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 479 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:510:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 510 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:518:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 518 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘telemetry_legacy_init’: ../lib/telemetry/telemetry.c:567:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 567 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped *Build Failed #18: OS: UB2204-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c ../lib/vhost/vduse.c:138:5: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] rte_strerror(errno)); ^ ../lib/vhost/vduse.c:138:5: note: did you mean 'strerror'? /usr/include/string.h:419:14: note: 'strerror' declared here extern char *strerror (int __errnum) __THROW; ^ ../lib/vhost/vduse.c:138:5: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:160:12: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:160:12: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:186:12: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:186:12: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:216:12: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:216:12: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:227:13: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:227:13: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:257:12: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:257:12: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:294:5: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] rte_strerror(errno)); ^ ../lib/vhost/vduse.c:294:5: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:361:5: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] rte_strerror(errno)); ^ ../lib/vhost/vduse.c:361:5: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:403:5: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] rte_strerror(errno)); ^ ../lib/vhost/vduse.c:403:5: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:456:22: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] VDUSE_CTRL_PATH, rte_strerror(errno)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [408/2883] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [409/2883] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [410/2883] Generating symbol file lib/librte_sched.so.24.0.p/librte_sched.so.24.0.symbols [411/2883] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o [412/2883] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [413/2883] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o [414/2883] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o [415/2883] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [416/2883] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #19: OS: UB2204-64 Target: x86_64-native-linuxapp-doc FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c ../lib/telemetry/telemetry_legacy.c: In function ‘register_client’: ../lib/telemetry/telemetry_legacy.c:122:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 122 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [12/2855] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o [13/2855] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hexdump.c.o [14/2855] Compiling C object lib/librte_mempool.a.p/mempool_mempool_trace_points.c.o [15/2855] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) [16/2855] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [17/2855] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [18/2855] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output) [19/2855] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [20/2855] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’: ../lib/telemetry/telemetry.c:624:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 624 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘socket_listener’: ../lib/telemetry/telemetry.c:439:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 439 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘create_socket’: ../lib/telemetry/telemetry.c:479:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 479 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:510:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 510 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:518:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 518 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘telemetry_legacy_init’: ../lib/telemetry/telemetry.c:567:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 567 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped *Build Failed #20: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o gcc -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_string’: ../drivers/dma/idxd/idxd_bus.c:147:3: error: implicit declaration of function ‘rte_strerror’ [-Werror=implicit-function-declaration] IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^ ../drivers/dma/idxd/idxd_bus.c:147:3: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] ../drivers/dma/idxd/idxd_bus.c:147:3: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] ../drivers/dma/idxd/idxd_bus.c:155:3: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_int’: ../drivers/dma/idxd/idxd_bus.c:175:3: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^ ../drivers/dma/idxd/idxd_bus.c:181:3: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_device_int’: ../drivers/dma/idxd/idxd_bus.c:202:3: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", ^ ../drivers/dma/idxd/idxd_bus.c:208:3: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] IDXD_PMD_ERR("%s(): error reading file '%s': %s", ^ ../drivers/dma/idxd/idxd_bus.c: In function ‘dsa_scan’: ../drivers/dma/idxd/idxd_bus.c:319:3: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", ^ cc1: all warnings being treated as errors [964/2825] Generating drivers/rte_dma_hisilicon.pmd.c with a custom command [965/2825] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_pci.c.o [966/2825] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [967/2825] Generating symbol file drivers/librte_mempool_dpaa2.so.24.0.p/librte_mempool_dpaa2.so.24.0.symbols [968/2825] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [969/2825] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [970/2825] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [971/2825] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [972/2825] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #21: OS: RHEL92-64Rt Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o gcc -Idrivers/libtmp_rte_dma_idxd.a.p -Idrivers -I../drivers -Idrivers/dma/idxd -I../drivers/dma/idxd -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.idxd -MD -MQ drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -MF drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o.d -o drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o -c ../drivers/dma/idxd/idxd_bus.c In file included from ../drivers/dma/idxd/idxd_bus.c:20: ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_string’: ../drivers/dma/idxd/idxd_bus.c:148:55: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] 148 | __func__, sysfs_node, rte_strerror(errno)); | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:72: note: in definition of macro ‘IDXD_PMD_LOG’ 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:148:55: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] 148 | __func__, sysfs_node, rte_strerror(errno)); | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:72: note: in definition of macro ‘IDXD_PMD_LOG’ 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:147:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 147 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:155:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 155 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_wq_int’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:175:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 175 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:181:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 181 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘read_device_int’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:202:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 202 | IDXD_PMD_ERR("%s(): opening file '%s' failed: %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:208:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 208 | IDXD_PMD_ERR("%s(): error reading file '%s': %s", | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c: In function ‘dsa_scan’: ../drivers/dma/idxd/idxd_internal.h:25:35: error: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Werror=format=] 25 | idxd_pmd_logtype, "IDXD: %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ../drivers/dma/idxd/idxd_internal.h:29:39: note: in expansion of macro ‘IDXD_PMD_LOG’ 29 | #define IDXD_PMD_ERR(fmt, args...) IDXD_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~ ../drivers/dma/idxd/idxd_bus.c:319:17: note: in expansion of macro ‘IDXD_PMD_ERR’ 319 | IDXD_PMD_ERR("%s(): opendir '%s' failed: %s", | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [953/2836] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_common.c.o [954/2836] Compiling C object drivers/librte_dma_cnxk.so.24.0.p/meson-generated_.._rte_dma_cnxk.pmd.c.o [955/2836] Compiling C object drivers/librte_dma_cnxk.a.p/meson-generated_.._rte_dma_cnxk.pmd.c.o [956/2836] Generating drivers/rte_dma_hisilicon.pmd.c with a custom command [957/2836] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o [958/2836] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o [959/2836] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o [960/2836] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [961/2836] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #22: OS: UB2304-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c ../lib/telemetry/telemetry_legacy.c: In function ‘register_client’: ../lib/telemetry/telemetry_legacy.c:122:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 122 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [14/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o [15/2883] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output) [16/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [17/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [18/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o [19/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o [20/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [21/2883] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’: ../lib/telemetry/telemetry.c:624:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 624 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘socket_listener’: ../lib/telemetry/telemetry.c:439:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 439 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘create_socket’: ../lib/telemetry/telemetry.c:479:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 479 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:510:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 510 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:518:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 518 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘telemetry_legacy_init’: ../lib/telemetry/telemetry.c:567:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 567 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [22/2883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o ninja: build stopped *Build Failed #23: OS: FC38-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c In file included from ../lib/vhost/iotlb.h:10, from ../lib/vhost/vduse.c:22: ../lib/vhost/vduse.c: In function ‘vduse_control_queue_event’: ../lib/vhost/vduse.c:138:33: error: implicit declaration of function ‘rte_strerror’; did you mean ‘strerror’? [-Werror=implicit-function-declaration] 138 | rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/vhost/vhost.h:680:54: note: in definition of macro ‘VHOST_LOG_CONFIG’ 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~ ../lib/vhost/vduse.c:138:33: error: nested extern declaration of ‘rte_strerror’ [-Werror=nested-externs] 138 | rte_strerror(errno)); | ^~~~~~~~~~~~ ../lib/vhost/vhost.h:680:54: note: in definition of macro ‘VHOST_LOG_CONFIG’ 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:137:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 137 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to read control queue event: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_vring_setup’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:159:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 159 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to get VQ %u info: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:185:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 185 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to init kickfd for VQ %u: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:215:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 215 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to setup kickfd for VQ %u: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:225:25: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 225 | VHOST_LOG_CONFIG(dev->ifname, ERR, | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_vring_cleanup’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:256:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 256 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to cleanup kickfd for VQ %u: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_device_start’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:293:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 293 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to get features: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_events_handler’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:360:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 360 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to read request: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:402:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 402 | VHOST_LOG_CONFIG(dev->ifname, ERR, "Failed to write response %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_device_create’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:455:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 455 | VHOST_LOG_CONFIG(name, ERR, "Failed to open %s: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:461:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 461 | VHOST_LOG_CONFIG(name, ERR, "Failed to set API version: %" PRIu64 ": %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:509:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 509 | VHOST_LOG_CONFIG(name, ERR, "Failed to create VDUSE device: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:516:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 516 | VHOST_LOG_CONFIG(name, ERR, "Failed to open device %s: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:524:17: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 524 | VHOST_LOG_CONFIG(name, ERR, "Failed to set chardev as non-blocking: %s\n", | ^~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c: In function ‘vduse_device_destroy’: ../lib/vhost/vhost.h:680:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 680 | "VHOST_CONFIG: (%s) " fmt, prefix, ##args) | ^~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vduse.c:627:25: note: in expansion of macro ‘VHOST_LOG_CONFIG’ 627 | VHOST_LOG_CONFIG(name, ERR, "Failed to destroy VDUSE device: %s\n", | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [403/3050] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output) [404/3050] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output) [405/3050] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [406/3050] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o [407/3050] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o [408/3050] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o [409/3050] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o [410/3050] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [411/3050] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #24: OS: FC38-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c ../lib/vhost/vduse.c:138:5: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rte_strerror(errno)); ^ ../lib/vhost/vduse.c:138:5: note: did you mean 'strerror'? /usr/include/string.h:419:14: note: 'strerror' declared here extern char *strerror (int __errnum) __THROW; ^ ../lib/vhost/vduse.c:138:5: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:160:12: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:160:12: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:186:12: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:186:12: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:216:12: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:216:12: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:227:13: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:227:13: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:257:12: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] index, rte_strerror(errno)); ^ ../lib/vhost/vduse.c:257:12: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] index, rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:294:5: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rte_strerror(errno)); ^ ../lib/vhost/vduse.c:294:5: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:361:5: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rte_strerror(errno)); ^ ../lib/vhost/vduse.c:361:5: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:403:5: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rte_strerror(errno)); ^ ../lib/vhost/vduse.c:403:5: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] rte_strerror(errno)); ^~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost.h:680:40: note: expanded from macro 'VHOST_LOG_CONFIG' "VHOST_CONFIG: (%s) " fmt, prefix, ##args) ~~~ ^~~~ ../lib/vhost/vduse.c:456:22: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VDUSE_CTRL_PATH, rte_strerror(errno)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [406/3046] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [407/3046] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [408/3046] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [409/3046] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o [410/3046] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o [411/3046] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o [412/3046] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o [413/3046] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [414/3046] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #25: OS: UB2204-64Rt Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c ../lib/telemetry/telemetry_legacy.c: In function ‘register_client’: ../lib/telemetry/telemetry_legacy.c:122:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 122 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [13/2887] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’: ../lib/telemetry/telemetry.c:624:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 624 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘socket_listener’: ../lib/telemetry/telemetry.c:439:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 439 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘create_socket’: ../lib/telemetry/telemetry.c:479:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 479 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:510:25: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 510 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c:518:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 518 | strerror_r(errno, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/telemetry/telemetry.c: In function ‘telemetry_legacy_init’: ../lib/telemetry/telemetry.c:567:17: error: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 567 | strerror_r(rc, err_buf, sizeof(err_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [14/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o [15/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o [16/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [17/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [18/2887] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) [19/2887] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output) [20/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o [21/2887] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o ninja: build stopped DPDK STV team