You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2024/07/31 17:25:00 UTC
[jira] [Created] (IMPALA-13264) bin/coverage_helper.sh should always use gcov from the toolchain
Joe McDonnell created IMPALA-13264:
--------------------------------------
Summary: bin/coverage_helper.sh should always use gcov from the toolchain
Key: IMPALA-13264
URL: https://issues.apache.org/jira/browse/IMPALA-13264
Project: IMPALA
Issue Type: Task
Components: Infrastructure
Affects Versions: Impala 4.5.0
Reporter: Joe McDonnell
bin/coverage_helper.sh gets gcov from the toolchain if it is not installed on the system.
{noformat}
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`"{noformat}
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)