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

ccache does not understand that distcc.sh could be clang or gcc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.8.0
    • Impala 2.9.0
    • Infrastructure
    • 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.

      Attachments

        Activity

          People

            tarmstrong Tim Armstrong
            jbapple Jim Apple
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: