Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile coverage builds with -fprofile-update=atomic
Running lcov on Ubuntu 24.04 on a coverage enabled build by hand produces the following error on Ubuntu 24.04: lcov --no-external --capture --directory . --output-file coverage.info Processing ./build/auxil/broker/caf/libcaf_core/CMakeFiles/libcaf_core_obj.dir/src/actor_system.cpp.gcda geninfo: ERROR: Unexpected negative count '-1' for /zeek/auxil/broker/caf/libcaf_core/src/actor_system.cpp:503. Perhaps you need to compile with '-fprofile-update=atomic (use "geninfo --ignore-errors negative ..." to bypass this error) Compile with -fprofile-update=atomic for coverage enabled builds.
- Loading branch information