Valgrind does not like binaries produced by Clang 15:
$ valgrind --leak-check=full --error-exitcode=1 testprogs/findalldevstest
==23242== Memcheck, a memory error detector
==23242== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==23242== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==23242== Command: testprogs/findalldevstest
==23242==
==23242== Valgrind: debuginfo reader: ensure_valid failed:
==23242== Valgrind: during call to ML_(img_get)
==23242== Valgrind: request for range [
70669806, +4) exceeds
==23242== Valgrind: valid image size of
1078392 for image:
==23242== Valgrind: "/tmp/cirrus-ci-build/testprogs/findalldevstest"
==23242==
==23242== Valgrind: debuginfo reader: Possibly corrupted debuginfo file.
==23242== Valgrind: I can't recover. Giving up. Sorry.
script:
- apt-get -qy update >/dev/null
- apt-get -qy install libdbus-1-dev libbluetooth-dev libnl-genl-3-dev libibverbs-dev libssl-dev >/dev/null
- - apt-get -qy install flex bison autoconf make clang-15 gcc valgrind >/dev/null
+ - apt-get -qy install flex bison autoconf make clang-15 gcc >/dev/null
- apt-get -qy install cmake git bc >/dev/null # for build_matrix.sh and build.sh
- apt list --installed 'lib*-dev'
- ./autogen.sh