-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI for code coverage fails on new Ubuntu images #212
Comments
Please link a related CI build log. |
See this CI run. |
If this is the only part that's failing I'd suggest to disable the coverage part for now, having CI running, then create a separate PR to update the CI definition (changed main one to also include MSYS1 etc) and after the "initial" part is in there pull it (so extended + improved CI in general, just without coverage) and in an additional draft PR try options for getting coverage to work. Is this an lcov2 and/or gcov13 issue? |
Note that this affects both 3.x and 4.x.
This is for 4.x right ? Was your PR #190 suitable for this update ?
All I can say is that on the Ubuntu 22.04 image, we use gcov 11.4.0 + lcov 1.15, while on Ubuntu 24.04 we use gcov 13.3 + lcov 2.0 Apparently, lcov2 performs some data consistency check, so maybe the errors were already there but never reported... We might workaround this by passing That may be related to this GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68080, which resulted in the new gcc option |
Hello Denis |
Since the latest Ubuntu image, lcov fails complaining about negative branch counts.
It suggests passing
fprofile-update=atomic
to gcc, but that does not seem to help either.So for now I've changed
ubuntu-latest
toubuntu-22.04
in the coverage section of the CI definition, but it probably needs more investigation.The text was updated successfully, but these errors were encountered: