This series fixes a number of issues reported by UBSan and adds a simple job in GHA to avoid introducing undefined behavior in the core components. There is way more work/fixes to do if we want to run with a full set of components, but baby steps first.
-- David Marchand David Marchand (10): ci: save ccache on failure test/telemetry: fix test calling all commands test/mempool: fix test without stack driver eal: fix plugin dir walk cmdline: fix port list parsing cmdline: fix highest bit port list parsing tailq: fix cast macro for null pointer hash: fix unaligned access in predictable RSS stack: fix unaligned accesses on 128-bit build: support Undefined Behavior Sanitizer .ci/linux-build.sh | 27 +++++++++++++++++++++-- .github/workflows/build.yml | 11 ++++++++++ app/test/suites/meson.build | 3 +-- app/test/suites/test_telemetry.sh | 2 +- app/test/test_mempool.c | 32 +++++++++++++++++----------- config/meson.build | 18 +++++++++++++++- devtools/words-case.txt | 1 + lib/cmdline/cmdline_parse_portlist.c | 17 ++++++++++----- lib/eal/common/eal_common_options.c | 15 +++++++++---- lib/eal/include/rte_tailq.h | 2 +- lib/hash/rte_thash.c | 6 +++--- lib/stack/rte_stack_lf_c11.h | 8 +++---- lib/stack/rte_stack_lf_generic.h | 8 +++---- 13 files changed, 111 insertions(+), 39 deletions(-) -- 2.49.0