]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Build workflow: request that clang produce DWARF v4 debug symbols. 4171/head
authorFlorian Forster <octo@collectd.org>
Mon, 27 Nov 2023 15:50:00 +0000 (16:50 +0100)
committerFlorian Forster <octo@collectd.org>
Mon, 27 Nov 2023 15:50:00 +0000 (16:50 +0100)
.github/workflows/build.yml

index b4f0a8365ff0d3ba9b393d65eacd95cddc185f2e..e312947748f0fe289fad80db6e03c4c8a0e0e4d2 100644 (file)
@@ -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