Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.8.0
-
None
Description
When distcc is used, the compilation commands start with distcc.sh, not g++ or clang++. ccache then thinks that distcc.sh commands with the same parameters should produce the same results, but that's not true: distcc picks up its compiler from the environment, not from the parameters.
Perhpas this could be fixed by adding a parameter to distcc for the compiler, rather than relying on the environment, or making distcc-gcc.sh and distcc-clang.sh.