Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-13264

bin/coverage_helper.sh should always use gcov from the toolchain

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.5.0
    • Impala 4.5.0
    • Infrastructure
    • None
    • ghx-label-5

    Description

      bin/coverage_helper.sh gets gcov from the toolchain if it is not installed on the system.

      if ! which gcov > /dev/null; then
        export PATH="$PATH:$IMPALA_TOOLCHAIN_PACKAGES_HOME/gcc-$IMPALA_GCC_VERSION/bin"
      fi
      echo "Using gcov at `which gcov`"

      Since the toolchain compiler can be different from the system compiler, I think it makes more sense to always use gcov from the toolchain's GCC. Then the gcov version will always match the GCC version.

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: