-
Notifications
You must be signed in to change notification settings - Fork 242
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
gcov 12 and 13 / lcov 2.0 version mismatch when collectin coverage with gcc 12 and 13 on ubuntu-24.04 #341
Comments
Newer lcov does a fair amount of data consistency checking (...primarily due to sad history of confusing or misleading results).
Your second issue is almost certainly an incomplete or incorrect build. For both of these: the message also tells you what to do if you want to ignore the errors and continue. When errors are downgraded: the tool tries to do something/tries its best guess. (There are some controls that you can use to tell lcov what to do in certain situations - see the man pages for details.) |
Thank you for your response, it actually offers me/us the workaround of ignoring errors but I'd like to avoid such an option/workaround so I was searching for a true solution. We will check again with your comments. |
If you think about it - the older versions were just silently ignoring all the errors and not telling you about them. If you were happy with that behaviour: then you might be interested in the On the other hand...if results don't have to be correct, then we can get them much faster. |
Describe the bug
With gcc, gcov, lcov my CI pipeline fails since version mismatches happen.
To Reproduce
Steps to reproduce the behavior:
More or less (see https://github.com/SciCompMod/GMGPolar/tree/main/.github/actions):
Expected behavior
The code above works locally with lcov-1.14 and, e.g., gcc/gcov 12
Screenshots
With gcc/gcov 12 I get:
see: https://github.com/SciCompMod/GMGPolar/actions/runs/12361346502/job/34498552858
With gcc/gcov 13 I get:
see: https://github.com/SciCompMod/GMGPolar/actions/runs/12361745308/job/34499718252
Desktop (please complete the following information)
Additional context
Appeared with recent move to ubuntu-24.04.
The text was updated successfully, but these errors were encountered: