From: Florian Forster Date: Mon, 27 Nov 2023 15:50:00 +0000 (+0100) Subject: Build workflow: request that clang produce DWARF v4 debug symbols. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4171%2Fhead;p=thirdparty%2Fcollectd.git Build workflow: request that clang produce DWARF v4 debug symbols. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4f0a8365..e31294774 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,9 @@ jobs: - container_tag: bookworm_amd64 configure_flags: '--enable-debug' - container_tag: bookworm_amd64 - configure_flags: 'CC=clang CXX=clang++' + # By default clang emits DWARF v5, which Valgrind cannot read yet. + # https://github.com/llvm/llvm-project/issues/56550 + configure_flags: 'CC=clang CXX=clang++ CFLAGS=-gdwarf-4' env: CONFIGURE_FLAGS: ${{ matrix.configure_flags }} # this env var picked up by valgrind during make check phase