Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24006

ant backend build configuration invokes lcov for all compilers

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • 5.0.42rc1, 6.0.27rc1, 6.4.12rc1, 7.0.0beta1
    • None
    • None
    • S24-W18/19
    • 1

      lcov is a graphical front-end application to gcov, a code coverage generating utility intended to work with the gcc suite of tools. When compiling and generating test code coverage data with the clang/llvm tool suite, the output data format and versions are incompatible, leading to a failure in generating code coverage reports, as in backend-cmocka build #1089.

      In the clang/llvm case, the llvm-cov utility, along with supporting report formats, allows working in gcov compatibility mode and produces gcov format output.

      What projects generally appear to do is install a wrapper for gcov, which tests for the compiler in use, and passes arguments to the correct utility, or just llvm-cov in gcov mode, if it is available.

            jlambda Juris Lambda
            jlambda Juris Lambda
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: