|FAILURE| pw118119 [PATCH] eventdev: increase xstats ID width to 64 bits
0-day Robot
robot at bytheb.org
Thu Oct 13 13:00:26 CEST 2022
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/118119/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3241327933
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
[1877/3272] Compiling C object 'drivers/a715181@@rte_event_dpaa2 at sta/meson-generated_.._rte_event_dpaa2.pmd.c.o'.
[1878/3272] Linking static target drivers/librte_event_dpaa2.a.
[1879/3272] Generating rte_event_dpaa2.sym_chk with a meson_exe.py custom command.
[1880/3272] Compiling C object 'drivers/a715181@@rte_event_dpaa2 at sha/meson-generated_.._rte_event_dpaa2.pmd.c.o'.
[1881/3272] Linking target drivers/librte_event_dpaa2.so.23.0.
[1882/3272] Compiling C object 'drivers/a715181@@tmp_rte_event_dsw at sta/event_dsw_dsw_evdev.c.o'.
[1883/3272] Generating rte_event_dsw_def with a custom command.
[1884/3272] Compiling C object 'drivers/a715181@@tmp_rte_event_dsw at sta/event_dsw_dsw_xstats.c.o'.
FAILED: drivers/a715181@@tmp_rte_event_dsw at sta/event_dsw_dsw_xstats.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_event_dsw at sta -Idrivers -I../drivers -Idrivers/event/dsw -I../drivers/event/dsw -Ilib/eventdev -I../lib/eventdev -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/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -Wno-format-nonliteral -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.dsw -MD -MQ 'drivers/a715181@@tmp_rte_event_dsw at sta/event_dsw_dsw_xstats.c.o' -MF 'drivers/a715181@@tmp_rte_event_dsw at sta/event_dsw_dsw_xstats.c.o.d' -o 'drivers/a715181@@tmp_rte_event_dsw at sta/event_dsw_dsw_xstats.c.o' -c ../drivers/event/dsw/dsw_xstats.c
../drivers/event/dsw/dsw_xstats.c: In function ‘dsw_xstats_port_get’:
../drivers/event/dsw/dsw_xstats.c:19:39: error: left shift count >= width of type [-Werror=shift-count-overflow]
19 | #define DSW_XSTATS_ID_STAT_MASK ((1UL << DSW_XSTATS_ID_STAT_BITS) - 1)
| ^~
../drivers/event/dsw/dsw_xstats.c:25:10: note: in expansion of macro ‘DSW_XSTATS_ID_STAT_MASK’
25 | ((id) & DSW_XSTATS_ID_STAT_MASK)
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/event/dsw/dsw_xstats.c:301:27: note: in expansion of macro ‘DSW_XSTATS_ID_GET_STAT’
301 | unsigned int stat_idx = DSW_XSTATS_ID_GET_STAT(id);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1885/3272] Compiling C object 'drivers/a715181@@tmp_rte_event_opdl at sta/event_opdl_opdl_evdev.c.o'.
[1886/3272] Compiling C object 'drivers/a715181@@tmp_rte_event_dsw at sta/event_dsw_dsw_event.c.o'.
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
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list