Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1668843
Summary: | gcc creates gcno files not readable by lcov | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukas Slebodnik <lslebodn> |
Component: | lcov | Assignee: | Daniel Berrangé <berrange> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | atikhono, a.willer, bberg, berrange, cfergeau, ckellner, crobinso, davejohansen, dmalcolm, fweimer, jakub, jwakely, law, mpolacek, msebor, nickc, roland, stewart, tbzatek, thomas.moschny |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | lcov-1.14-1.fc30 lcov-1.14-1.fc29 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-25 01:25:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lukas Slebodnik
2019-01-23 17:07:46 UTC
Maybe bug is in lcov; but you might have a useful tips what should be changed. Then lcov needs to be adjusted to parse it. I think the only changes that could affect the format are http://gcc.gnu.org/r264462 and http://gcc.gnu.org/r261189. I forwarded this report to upstream bug tracker, since I can't resolve this kind of problem myself. I'll pull in any fix that they come up with. (In reply to Lukas Slebodnik from comment #0) > gcc-9.0.0-0.4.fc30.x86_64 > lcov-1.13-5.fc29.noarch > ... > geninfo: WARNING: /tmp/t.gcno: Overlong record at end of file! > ... > lcov: ERROR: no valid records found in tracefile ex_test.info The same problem with "gcc-9.0.1-0.3.fc30.x86_64" and "lcov-1.13-5.fc29.noarch" And still applies with: gcc-9.0.1-0.11.fc31.x86_64 lcov-1.13-6.fc30.noarch Can confirm, updated to F30 yesterday and now get similar error messages: $ lcov -c --no-recursion -d /home/foobar/vcs/libeet/build/x86_debug/src -d /home/foobar/vcs/libeet/build/x86_debug/test -o /home/foobar/vcs/libeet/build/x86_debug/test/coverage.info' err: geninfo: WARNING: /home/foobar/vcs/libeet/build/x86_debug/src/eet_fmpool.c.1.gcno: Overlong record at end of file! Cannot open source file ../../src/eet_fmpool.c geninfo: WARNING: cannot find an entry for ^#^#src#eet_fmpool.c.gcov in .gcno file, skipping file! Software versions: lcov-1.13-6.fc30.noarch gcc-9.1.1-1.fc30.x86_64 https://bugzilla.redhat.com/show_bug.cgi?id=1713541 would fix this as 1.14 contains the fix for this issue, which is https://github.com/linux-test-project/lcov/commit/a5dd9529f9232b8d901a4d6eb9ae54cae179e5b3 (In reply to Stewart Smith from comment #8) > https://bugzilla.redhat.com/show_bug.cgi?id=1713541 would fix this as 1.14 > contains the fix for this issue, which is > https://github.com/linux-test-project/lcov/commit/ > a5dd9529f9232b8d901a4d6eb9ae54cae179e5b3 AFAIU, 1.1.4 brings only gcc8 support. For gcc9, two more commits are needed (ebfeb3e1 and 75fbae1c), see my PR above. (In reply to Thomas Moschny from comment #9) > (In reply to Stewart Smith from comment #8) > > https://bugzilla.redhat.com/show_bug.cgi?id=1713541 would fix this as 1.14 > > contains the fix for this issue, which is > > https://github.com/linux-test-project/lcov/commit/ > > a5dd9529f9232b8d901a4d6eb9ae54cae179e5b3 > > AFAIU, 1.1.4 brings only gcc8 support. For gcc9, two more commits are needed > (ebfeb3e1 and 75fbae1c), see my PR above. ahhh, yes. Native GCC is GCC9, but the ppc64 cross toolchain is GCC8 (for some reason they're different). So, for me and my main use case, I just need GCC8 but for everybody who isn't me, gcc9 is probably more applicable :) FEDORA-2019-ef47f81c74 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ef47f81c74 FEDORA-2019-14c85e08bf has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-14c85e08bf lcov-1.14-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-ef47f81c74 lcov-1.14-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-14c85e08bf lcov-1.14-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. lcov-1.14-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |