]> The Tcpdump Group git mirrors - libpcap/commitdiff
Cirrus CI: Don't try Valgrind on Linux. [skip appveyor]
authorDenis Ovsienko <[email protected]>
Mon, 8 May 2023 20:21:15 +0000 (21:21 +0100)
committerDenis Ovsienko <[email protected]>
Mon, 8 May 2023 20:23:57 +0000 (21:23 +0100)
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.

.cirrus.yml

index 367d2663c65ed317fc66ae07c282ea106c06a4a6..904808d1e9fce061c44dc44d394662e57f6ad815 100644 (file)
@@ -37,7 +37,7 @@ linux_task:
   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