* |FAILURE| pw127725 [PATCH v1] bus/pci: get PCI address from rte_device
[not found] <20230530114202.850814-1-eagostini@nvidia.com>
` (2 preceding siblings ...)
2023-05-30 11:50 ` |WARNING| " checkpatch
@ 2023-05-30 12:19 ` 0-day Robot
3 siblings, 0 replies; 4+ messages in thread
From: 0-day Robot @ 2023-05-30 12:19 UTC (permalink / raw)
To: test-report; +Cc: eagostini, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/127725/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/5121184999
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-mini" failed at step Build and test
"ubuntu-20.04-gcc-abi+debug+doc+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
"ubuntu-20.04-gcc-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" failed at step Build and test
"fedora:37-gcc" failed at step Build
"fedora:37-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-mini" at step Build and test
####################################################################################
[370/1439] Generating fib.sym_chk with a meson_exe.py custom command.
[371/1439] Linking target lib/librte_fib.so.23.2.
[372/1439] Generating symbol file 'lib/76b5a35@@rte_ipsec@sha/librte_ipsec.so.23.2.symbols'.
[373/1439] Generating symbol file 'lib/76b5a35@@rte_fib@sha/librte_fib.so.23.2.symbols'.
[374/1439] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_params.c.o'.
[375/1439] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common.c.o'.
[376/1439] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o'.
FAILED: drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_bus_pci@sta -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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 -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o' -MF 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o.d' -o 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o' -c ../drivers/bus/pci/pci_common_uio.c
In file included from ../drivers/bus/pci/pci_common_uio.c:14:
../drivers/bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[377/1439] Generating graph.sym_chk with a meson_exe.py custom command.
[378/1439] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci.c.o'.
FAILED: drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_bus_pci@sta -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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 -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci.c.o' -MF 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci.c.o.d' -o 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci.c.o' -c ../drivers/bus/pci/linux/pci.c
In file included from ../drivers/bus/pci/linux/pci.c:10:
../drivers/bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-mini" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-abi+debug+doc+tests" at step Build and test
####################################################################################
[504/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_ethdev_ctrl.c.o'.
[505/4342] Compiling C object 'lib/76b5a35@@rte_graph@sta/graph_graph_populate.c.o'.
[506/4342] Compiling C object 'lib/76b5a35@@rte_graph@sta/graph_graph_pcap.c.o'.
[507/4342] Linking static target lib/librte_graph.a.
[508/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_ethdev_rx.c.o'.
[509/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_ethdev_tx.c.o'.
[510/4342] Generating graph.sym_chk with a meson_exe.py custom command.
[511/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_ip4_rewrite.c.o'.
[512/4342] Linking target lib/librte_graph.so.23.2.
[513/4342] Compiling C object 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_hw_regs.c.o'.
[514/4342] Generating symbol file 'lib/76b5a35@@rte_graph@sha/librte_graph.so.23.2.symbols'.
[515/4342] Compiling C object 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_atlantic@sta -Idrivers -I../drivers -Idrivers/net/atlantic -I../drivers/net/atlantic -Ilib/ethdev -I../lib/ethdev -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.atlantic -MD -MQ 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o' -c ../drivers/net/atlantic/atl_ethdev.c
In file included from ../drivers/bus/pci/bus_pci_driver.h:13,
from ../lib/ethdev/ethdev_pci.h:15,
from ../drivers/net/atlantic/atl_ethdev.c:6:
../drivers/bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[516/4342] Compiling C object 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_rxtx.c.o'.
[517/4342] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-abi+debug+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[514/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_ethdev_tx.c.o'.
[515/4342] Compiling C object 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_hw_regs.c.o'.
[516/4342] Linking target lib/librte_graph.so.23.2.
[517/4342] Generating symbol file 'lib/76b5a35@@rte_graph@sha/librte_graph.so.23.2.symbols'.
[518/4342] Compiling C object 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_hw_atl_hw_atl_utils_fw2x.c.o'.
[519/4342] Compiling C object 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_hw_atl_hw_atl_utils.c.o'.
[520/4342] Compiling C object 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_hw_atl_hw_atl_b0.c.o'.
[521/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_log.c.o'.
[522/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_null.c.o'.
[523/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_pkt_cls.c.o'.
[524/4342] Compiling C object 'lib/76b5a35@@rte_node@sta/node_pkt_drop.c.o'.
[525/4342] Compiling C object 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o
ccache clang -Idrivers/a715181@@tmp_rte_net_atlantic@sta -Idrivers -I../drivers -Idrivers/net/atlantic -I../drivers/net/atlantic -Ilib/ethdev -I../lib/ethdev -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.atlantic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_atlantic@sta/net_atlantic_atl_ethdev.c.o' -c ../drivers/net/atlantic/atl_ethdev.c
In file included from ../drivers/net/atlantic/atl_ethdev.c:6:
In file included from ../lib/ethdev/ethdev_pci.h:15:
In file included from ../drivers/bus/pci/bus_pci_driver.h:13:
../drivers/bus/pci/rte_bus_pci.h:82:59: error: declaration of 'struct rte_device' will not be visible outside of this function [-Werror,-Wvisibility]
const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
^
1 error generated.
[526/4342] Linking static target lib/librte_node.a.
[527/4342] Generating pipeline.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
[601/3032] Compiling C object 'drivers/a715181@@rte_bus_fslmc@sha/meson-generated_.._rte_bus_fslmc.pmd.c.o'.
[602/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_ifpga@sta/bus_ifpga_ifpga_bus.c.o'.
[603/3032] Linking static target drivers/libtmp_rte_bus_ifpga.a.
[604/3032] Generating rte_bus_ifpga.pmd.c with a custom command.
[605/3032] Compiling C object 'drivers/a715181@@rte_bus_ifpga@sta/meson-generated_.._rte_bus_ifpga.pmd.c.o'.
[606/3032] Linking static target drivers/librte_bus_ifpga.a.
[607/3032] Generating rte_bus_ifpga.sym_chk with a meson_exe.py custom command.
[608/3032] Compiling C object 'drivers/a715181@@rte_bus_ifpga@sha/meson-generated_.._rte_bus_ifpga.pmd.c.o'.
[609/3032] Linking target drivers/librte_bus_ifpga.so.23.2.
[610/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common.c.o'.
[611/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_params.c.o'.
[612/3032] Generating rte_bus_dpaa.sym_chk with a meson_exe.py custom command.
[613/3032] Linking target drivers/librte_bus_dpaa.so.23.2.
[614/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o'.
FAILED: drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_bus_pci@sta -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o' -MF 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o.d' -o 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o' -c ../drivers/bus/pci/pci_common_uio.c
In file included from ../drivers/bus/pci/pci_common_uio.c:14:
../drivers/bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[615/3032] Generating symbol file 'drivers/a715181@@rte_bus_dpaa@sha/librte_bus_dpaa.so.23.2.symbols'.
[616/3032] Generating rte_bus_fslmc.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
[334/1416] Linking static target drivers/librte_bus_vdev.a.
[335/1416] Generating rte_bus_vdev_mingw with a custom command.
[336/1416] Compiling C object 'drivers/a715181@@rte_bus_vdev@sha/meson-generated_.._rte_bus_vdev.pmd.c.obj'.
[337/1416] Compiling C object 'drivers/a715181@@tmp_rte_mempool_ring@sta/mempool_ring_rte_mempool_ring.c.obj'.
[338/1416] Linking static target drivers/libtmp_rte_mempool_ring.a.
[339/1416] Linking target drivers/librte_bus_vdev-23.dll.
[340/1416] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci_netuio.c.obj'.
FAILED: drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci_netuio.c.obj
ccache x86_64-w64-mingw32-gcc -Idrivers/a715181@@tmp_rte_bus_pci@sta -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/windows -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/windows/include -I../lib/eal/windows/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/pci -I../lib/pci -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wextra -Werror -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_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci_netuio.c.obj' -MF 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci_netuio.c.obj.d' -o 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci_netuio.c.obj' -c ../drivers/bus/pci/windows/pci_netuio.c
In file included from ../drivers/bus/pci/windows/pci_netuio.c:11:
../drivers/bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[341/1416] Generating symbol file 'drivers/a715181@@rte_bus_vdev@sha/librte_bus_vdev-23.dll.symbols'.
[342/1416] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci.c.obj'.
FAILED: drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci.c.obj
ccache x86_64-w64-mingw32-gcc -Idrivers/a715181@@tmp_rte_bus_pci@sta -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/windows -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/windows/include -I../lib/eal/windows/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/pci -I../lib/pci -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wextra -Werror -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_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci.c.obj' -MF 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci.c.obj.d' -o 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci.c.obj' -c ../drivers/bus/pci/windows/pci.c
In file included from ../drivers/bus/pci/windows/pci.c:12:
../drivers/bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-aarch64" at step Build and test
####################################################################################
[312/3976] Generating kni.sym_chk with a meson_exe.py custom command.
[313/3976] Linking target lib/librte_kni.so.23.2.
[314/3976] Generating symbol file 'lib/76b5a35@@rte_latencystats@sha/librte_latencystats.so.23.2.symbols'.
[315/3976] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_ht.c.o'.
[316/3976] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_sketch.c.o'.
[317/3976] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_vbf.c.o'.
[318/3976] Linking static target lib/librte_member.a.
[319/3976] Generating symbol file 'lib/76b5a35@@rte_kni@sha/librte_kni.so.23.2.symbols'.
[320/3976] Generating lpm.sym_chk with a meson_exe.py custom command.
[321/3976] Linking target lib/librte_lpm.so.23.2.
[322/3976] Compiling C object 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_hash.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_hash.c.o
ccache aarch64-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_common_cnxk@sta -Idrivers -I../drivers -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_hash.c.o' -MF 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_hash.c.o' -c ../drivers/common/cnxk/roc_hash.c
In file included from ../drivers/common/cnxk/../../bus/pci/bus_pci_driver.h:13,
from ../drivers/common/cnxk/roc_platform.h:11,
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_hash.c:5:
../drivers/common/cnxk/../../bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[323/3976] Generating member.sym_chk with a meson_exe.py custom command.
[324/3976] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.23.2.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
cc1: all warnings being treated as errors
[331/3826] Compiling C object 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o
ccache powerpc64le-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_common_cnxk@sta -Idrivers -I../drivers -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o' -MF 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o.d' -o 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o' -c ../drivers/common/cnxk/roc_irq.c
In file included from ../drivers/common/cnxk/../../bus/pci/bus_pci_driver.h:13,
from ../drivers/common/cnxk/roc_platform.h:11,
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_irq.c:5:
../drivers/common/cnxk/../../bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[332/3826] Compiling C object 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_dpi.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_dpi.c.o
ccache powerpc64le-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_common_cnxk@sta -Idrivers -I../drivers -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_dpi.c.o' -MF 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_dpi.c.o.d' -o 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_dpi.c.o' -c ../drivers/common/cnxk/roc_dpi.c
In file included from ../drivers/common/cnxk/../../bus/pci/bus_pci_driver.h:13,
from ../drivers/common/cnxk/roc_platform.h:11,
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_dpi.c:9:
../drivers/common/cnxk/../../bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
[326/3798] Compiling C object 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_idev.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_idev.c.o
ccache riscv64-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_common_cnxk@sta -Idrivers -I../drivers -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_idev.c.o' -MF 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_idev.c.o.d' -o 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_idev.c.o' -c ../drivers/common/cnxk/roc_idev.c
In file included from ../drivers/common/cnxk/../../bus/pci/bus_pci_driver.h:13,
from ../drivers/common/cnxk/roc_platform.h:11,
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_idev.c:5:
../drivers/common/cnxk/../../bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[327/3798] Generating pcapng.sym_chk with a meson_exe.py custom command.
[328/3798] Compiling C object 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o
ccache riscv64-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_common_cnxk@sta -Idrivers -I../drivers -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o' -MF 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o.d' -o 'drivers/a715181@@tmp_rte_common_cnxk@sta/common_cnxk_roc_irq.c.o' -c ../drivers/common/cnxk/roc_irq.c
In file included from ../drivers/common/cnxk/../../bus/pci/bus_pci_driver.h:13,
from ../drivers/common/cnxk/roc_platform.h:11,
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_irq.c:5:
../drivers/common/cnxk/../../bus/pci/rte_bus_pci.h:82:59: error: ‘struct rte_device’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
82 | const struct rte_pci_addr * rte_pci_get_addr(const struct rte_device *dev);
| ^~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread