* compilation|FAILURE| pw(146904) sid(33628) job(PER_PATCH_BUILD13808)[v4, 42/42] vdpa/sfc: use rte strerror
@ 2024-10-23 8:52 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2024-10-23 8:52 UTC (permalink / raw)
To: test-report, huangdengdui
[-- Attachment #1: Type: text/plain, Size: 40807 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/146904
_Compilation issues_
Submitter: Dengdui Huang <huangdengdui@huawei.com>
Date: 2024-10-23 08:28:52
Reply_mail: <20241023082852.2780488-43-huangdengdui@huawei.com>
DPDK git baseline: Repo:dpdk, CommitID: 3ee7a3e0e0e0f5a81a4b102a834697bc488fb32f
Meson Build Summary: 23 Builds Done, 19 Successful, 4 Failures, 0 Blocked
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.9-64 | pass | | | | | | |
| FreeBSD14-64 | fail | fail | | fail | fail | | |
| RHEL94-64 | pass | pass | | pass | pass | | |
| SUSE15-64 | pass | pass | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2404-32 | pass | | | | | | |
| RHEL8.10-64 | pass | | | | | | |
| UB2404-64 | pass | pass | | | | pass | pass |
| RHEL94-64Rt | pass | | | | | | |
| UB2410-64 | pass | | | | | | |
| FC40-64 | pass | pass | | | | | |
| UB2404-64Rt | pass | | | | | | |
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
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.9-64
Kernel Version: 5.10.134-16.2.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1)
Clang Version: 15.0.7 (Anolis 15.0.7-1.0.3.module+an8.8.0+11135+e398acfc)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.1-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 13.2.0
Clang Version: 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL94-64
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.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: 6.4.0-150600.21-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 17.0.6
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL8.10-64
Kernel Version: 4.18.0-553.el8_10.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-21)
Clang Version: 17.0.6 (Red Hat 17.0.6-1.module+el8.10.0+20808+e12784c0)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL94-64Rt
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2410-64
Kernel Version: 6.11.0-8-generic
GCC Version: gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: FC40-64
Kernel Version: 6.8.5-301.fc40.x86_64
GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)
Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64Rt
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o
gcc -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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 -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -c ../drivers/bus/pci/bsd/pci.c
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_interrupts.h:10,
from ../drivers/bus/pci/bsd/pci.c:28:
../drivers/bus/pci/bsd/pci.c: In function 'pci_uio_alloc_resource':
../drivers/bus/pci/bsd/pci.c:125:61: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~~~~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:125:61: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~~~~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:125:80: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c: In function 'pci_uio_map_resource_by_index':
../drivers/bus/pci/bsd/pci.c:167:88: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
167 | PCI_LOG(ERR, "Cannot allocate memory for path: %s", rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:167:17: note: in expansion of macro 'PCI_LOG'
167 | PCI_LOG(ERR, "Cannot allocate memory for path: %s", rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:176:80: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
176 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:176:17: note: in expansion of macro 'PCI_LOG'
176 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c: In function 'rte_pci_scan':
../drivers/bus/pci/bsd/pci.c:350:62: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
350 | __func__, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:349:25: note: in expansion of macro 'PCI_LOG'
349 | PCI_LOG(ERR, "%s(): error with ioctl on /dev/pci: %s",
| ^~~~~~~
cc1: all warnings being treated as errors
[755/1947] Generating drivers/rte_common_idpf.pmd.c with a custom command
[756/1947] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_common.c.o
[757/1947] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o
[758/1947] Generating drivers/rte_common_ionic.sym_chk with a custom command (wrapped by meson to capture output)
[759/1947] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output)
[760/1947] Generating symbol file drivers/librte_common_iavf.so.25.0.p/librte_common_iavf.so.25.0.symbols
[761/1947] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_device.c.o
[762/1947] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o
[763/1947] Generating drivers/rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #2:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o
clang -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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 -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -c ../drivers/bus/pci/bsd/pci.c
../drivers/bus/pci/bsd/pci.c:125:47: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^
../drivers/bus/pci/bsd/pci.c:125:47: note: did you mean 'strerror'?
/usr/include/string.h:92:7: note: 'strerror' declared here
92 | char *strerror(int);
| ^
../drivers/bus/pci/bsd/pci.c:125:47: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
| %d
../drivers/bus/pci/private.h:20:34: note: expanded from macro 'PCI_LOG'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:761:32: note: expanded from macro 'RTE_FMT_TAIL'
761 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^
../lib/eal/include/rte_common.h:759:39: note: expanded from macro 'RTE_FMT'
759 | #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ ""
| ~~~ ^
../lib/log/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:167:55: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
167 | PCI_LOG(ERR, "Cannot allocate memory for path: %s", rte_strerror(errno));
| ^
../drivers/bus/pci/bsd/pci.c:167:55: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
167 | PCI_LOG(ERR, "Cannot allocate memory for path: %s", rte_strerror(errno));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
| %d
../drivers/bus/pci/private.h:20:34: note: expanded from macro 'PCI_LOG'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:761:32: note: expanded from macro 'RTE_FMT_TAIL'
761 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^
../lib/eal/include/rte_common.h:759:39: note: expanded from macro 'RTE_FMT'
759 | #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ ""
| ~~~ ^
../lib/log/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:176:47: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
176 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^
../drivers/bus/pci/bsd/pci.c:176:47: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
176 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
| %d
../drivers/bus/pci/private.h:20:34: note: expanded from macro 'PCI_LOG'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:761:32: note: expanded from macro 'RTE_FMT_TAIL'
761 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^
../lib/eal/include/rte_common.h:759:39: note: expanded from macro 'RTE_FMT'
759 | #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ ""
| ~~~ ^
../lib/log/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:350:15: error: call to undeclared function 'rte_strerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
350 | __func__, rte_strerror(errno));
| ^
../drivers/bus/pci/bsd/pci.c:350:15: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
349 | PCI_LOG(ERR, "%s(): error with ioctl on /dev/pci: %s",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %d
350 | __func__, rte_strerror(errno));
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../drivers/bus/pci/private.h:20:34: note: expanded from macro 'PCI_LOG'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:761:32: note: expanded from macro 'RTE_FMT_TAIL'
761 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^
../lib/eal/include/rte_common.h:759:39: note: expanded from macro 'RTE_FMT'
759 | #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ ""
| ~~~ ^
../lib/log/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
8 errors generated.
[547/1964] Generating drivers/rte_bus_ifpga.pmd.c with a custom command
[548/1964] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o
[549/1964] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_common.c.o
[550/1964] Generating symbol file drivers/librte_common_iavf.so.25.0.p/librte_common_iavf.so.25.0.symbols
[551/1964] Generating drivers/rte_common_ionic.sym_chk with a custom command (wrapped by meson to capture output)
[552/1964] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output)
[553/1964] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o
[554/1964] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[555/1964] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o
gcc -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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 -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -c ../drivers/bus/pci/bsd/pci.c
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_interrupts.h:10,
from ../drivers/bus/pci/bsd/pci.c:28:
../drivers/bus/pci/bsd/pci.c: In function 'pci_uio_alloc_resource':
../drivers/bus/pci/bsd/pci.c:125:61: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~~~~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:125:61: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~~~~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:125:80: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c: In function 'pci_uio_map_resource_by_index':
../drivers/bus/pci/bsd/pci.c:167:88: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
167 | PCI_LOG(ERR, "Cannot allocate memory for path: %s", rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:167:17: note: in expansion of macro 'PCI_LOG'
167 | PCI_LOG(ERR, "Cannot allocate memory for path: %s", rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:176:80: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
176 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:176:17: note: in expansion of macro 'PCI_LOG'
176 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c: In function 'rte_pci_scan':
../drivers/bus/pci/bsd/pci.c:350:62: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
350 | __func__, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:349:25: note: in expansion of macro 'PCI_LOG'
349 | PCI_LOG(ERR, "%s(): error with ioctl on /dev/pci: %s",
| ^~~~~~~
cc1: all warnings being treated as errors
[561/1843] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o
[562/1843] Generating drivers/rte_common_ionic.sym_chk with a custom command (wrapped by meson to capture output)
[563/1843] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_common.c.o
[564/1843] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output)
[565/1843] Generating drivers/rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output)
[566/1843] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_device.c.o
[567/1843] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o
[568/1843] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[569/1843] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o
gcc -Idrivers/libtmp_rte_bus_pci.a.p -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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 -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -MF drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o.d -o drivers/libtmp_rte_bus_pci.a.p/bus_pci_bsd_pci.c.o -c ../drivers/bus/pci/bsd/pci.c
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_interrupts.h:10,
from ../drivers/bus/pci/bsd/pci.c:28:
../drivers/bus/pci/bsd/pci.c: In function 'pci_uio_alloc_resource':
../drivers/bus/pci/bsd/pci.c:125:61: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~~~~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:125:61: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~~~~~~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:125:80: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:125:17: note: in expansion of macro 'PCI_LOG'
125 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c: In function 'pci_uio_map_resource_by_index':
../drivers/bus/pci/bsd/pci.c:167:88: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
167 | PCI_LOG(ERR, "Cannot allocate memory for path: %s", rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:167:17: note: in expansion of macro 'PCI_LOG'
167 | PCI_LOG(ERR, "Cannot allocate memory for path: %s", rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c:176:80: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
176 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:176:17: note: in expansion of macro 'PCI_LOG'
176 | PCI_LOG(ERR, "Cannot open %s: %s", devname, rte_strerror(errno));
| ^~~~~~~
../drivers/bus/pci/bsd/pci.c: In function 'rte_pci_scan':
../drivers/bus/pci/bsd/pci.c:350:62: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=]
350 | __func__, rte_strerror(errno));
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/bus/pci/private.h:20:9: note: in expansion of macro 'RTE_LOG_LINE'
20 | RTE_LOG_LINE(level, PCI_BUS, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../drivers/bus/pci/bsd/pci.c:349:25: note: in expansion of macro 'PCI_LOG'
349 | PCI_LOG(ERR, "%s(): error with ioctl on /dev/pci: %s",
| ^~~~~~~
cc1: all warnings being treated as errors
[529/1947] Compiling C object drivers/librte_common_idpf.so.25.0.p/meson-generated_.._rte_common_idpf.pmd.c.o
[530/1947] Compiling C object drivers/librte_common_ionic.a.p/meson-generated_.._rte_common_ionic.pmd.c.o
[531/1947] Generating drivers/rte_bus_ifpga.pmd.c with a custom command
[532/1947] Generating drivers/rte_bus_auxiliary.pmd.c with a custom command
[533/1947] Generating symbol file drivers/librte_common_iavf.so.25.0.p/librte_common_iavf.so.25.0.symbols
[534/1947] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common.c.o
[535/1947] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o
[536/1947] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[537/1947] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-23 8:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-23 8:52 compilation|FAILURE| pw(146904) sid(33628) job(PER_PATCH_BUILD13808)[v4, 42/42] vdpa/sfc: use rte strerror sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).