Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cristianadam/3fdac8d9374511198be72110a6ff6278 to your computer and use it in GitHub Desktop.
Save cristianadam/3fdac8d9374511198be72110a6ff6278 to your computer and use it in GitHub Desktop.
ccache PCH Clang Multiple input files
[.286665 9104 ] === CCACHE 3.7.7 STARTED =========================================
[.286665 9104 ] can't rename file C:/Projects/github/ccache-test/.ccache/stats to C:/Projects/github/ccache-test/.ccache/stats.rm.unknown.9104.XXXXXX OS returned error: C:/Projects/github/ccache/repo/src/legacy_util.cpp failed with error 2: The system cannot find the file specified.
[.286665 9104 ] Unlink C:/Projects/github/ccache-test/.ccache/stats via C:/Projects/github/ccache-test/.ccache/stats.rm.unknown.9104.XXXXXX
[.286665 9104 ] x_unlink failed: Invalid argument
[.349169 524 ] === CCACHE 3.7.7 STARTED =========================================
[.349169 524 ] Config: (default) base_dir =
[.349169 524 ] Config: (environment) cache_dir = C:/Projects/github/ccache-test/.ccache
[.349169 524 ] Config: (default) cache_dir_levels = 2
[.349169 524 ] Config: (default) compiler =
[.349169 524 ] Config: (default) compiler_check = mtime
[.349169 524 ] Config: (default) compression = true
[.349169 524 ] Config: (default) compression_level = 0
[.349169 524 ] Config: (default) cpp_extension =
[.349169 524 ] Config: (environment) debug = true
[.349169 524 ] Config: (default) depend_mode = false
[.349169 524 ] Config: (default) direct_mode = true
[.349169 524 ] Config: (default) disable = false
[.349169 524 ] Config: (default) extra_files_to_hash =
[.349169 524 ] Config: (default) file_clone = false
[.349169 524 ] Config: (default) hard_link = false
[.349169 524 ] Config: (default) hash_dir = true
[.349169 524 ] Config: (default) ignore_headers_in_manifest =
[.349169 524 ] Config: (default) keep_comments_cpp = false
[.349169 524 ] Config: (default) limit_multiple = 0.8
[.349169 524 ] Config: (environment) log_file = C:/Projects/github/ccache-test/ccache.log
[.349169 524 ] Config: (default) max_files = 0
[.349169 524 ] Config: (C:/Projects/github/ccache-test/.ccache/ccache.conf) max_size = 5.0G
[.349169 524 ] Config: (default) path =
[.349169 524 ] Config: (default) pch_external_checksum = false
[.349169 524 ] Config: (default) prefix_command =
[.349169 524 ] Config: (default) prefix_command_cpp =
[.349169 524 ] Config: (default) read_only = false
[.349169 524 ] Config: (default) read_only_direct = false
[.349169 524 ] Config: (default) recache = false
[.349169 524 ] Config: (default) run_second_cpp = true
[.349169 524 ] Config: (environment) sloppiness = time_macros, pch_defines
[.349169 524 ] Config: (default) stats = true
[.349169 524 ] Config: (default) temporary_dir =
[.349169 524 ] Config: (default) umask =
[.349169 524 ] Command line: ccache C:\llvm-mingw\bin\c++.exe -O3 -DNDEBUG -Xclang -emit-pch -Xclang -include -Xclang C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx -MD -MT CMakeFiles/main.dir/cmake_pch.hxx.pch -MF CMakeFiles\main.dir\cmake_pch.hxx.pch.d -o CMakeFiles/main.dir/cmake_pch.hxx.pch -c CMakeFiles/main.dir/cmake_pch.hxx.cxx
[.364794 524 ] Hostname: unknown
[.364794 524 ] Working directory: C:\Projects\github\ccache-test\build
[.364794 524 ] Multiple input files: C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx and CMakeFiles/main.dir/cmake_pch.hxx.cxx
[.364794 524 ] Failed; falling back to running the real compiler
[.364794 524 ] Executing C:\llvm-mingw\bin\c++.exe -O3 -DNDEBUG -Xclang -emit-pch -Xclang -include -Xclang C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx -MD -MT CMakeFiles/main.dir/cmake_pch.hxx.pch -MF CMakeFiles\main.dir\cmake_pch.hxx.pch.d -o CMakeFiles/main.dir/cmake_pch.hxx.pch -c CMakeFiles/main.dir/cmake_pch.hxx.cxx
[.364794 524 ] Result: multiple source files
[.364794 524 ] lockfile_acquire: open WRONLY C:/Projects/github/ccache-test/.ccache/d/stats.lock: No such file or directory
[.364794 524 ] Acquired lock C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.364794 524 ] Releasing lock C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.364794 524 ] Unlink C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.124148 8792 ] === CCACHE 3.7.7 STARTED =========================================
[.124148 8792 ] Config: (default) base_dir =
[.124148 8792 ] Config: (environment) cache_dir = C:/Projects/github/ccache-test/.ccache
[.124148 8792 ] Config: (default) cache_dir_levels = 2
[.124148 8792 ] Config: (default) compiler =
[.124148 8792 ] Config: (default) compiler_check = mtime
[.124148 8792 ] Config: (default) compression = true
[.124148 8792 ] Config: (default) compression_level = 0
[.124148 8792 ] Config: (default) cpp_extension =
[.124148 8792 ] Config: (environment) debug = true
[.124148 8792 ] Config: (default) depend_mode = false
[.124148 8792 ] Config: (default) direct_mode = true
[.124148 8792 ] Config: (default) disable = false
[.124148 8792 ] Config: (default) extra_files_to_hash =
[.124148 8792 ] Config: (default) file_clone = false
[.124148 8792 ] Config: (default) hard_link = false
[.124148 8792 ] Config: (default) hash_dir = true
[.124148 8792 ] Config: (default) ignore_headers_in_manifest =
[.124148 8792 ] Config: (default) keep_comments_cpp = false
[.124148 8792 ] Config: (default) limit_multiple = 0.8
[.124148 8792 ] Config: (environment) log_file = C:/Projects/github/ccache-test/ccache.log
[.124148 8792 ] Config: (default) max_files = 0
[.124148 8792 ] Config: (C:/Projects/github/ccache-test/.ccache/ccache.conf) max_size = 5.0G
[.124148 8792 ] Config: (default) path =
[.124148 8792 ] Config: (default) pch_external_checksum = false
[.124148 8792 ] Config: (default) prefix_command =
[.124148 8792 ] Config: (default) prefix_command_cpp =
[.124148 8792 ] Config: (default) read_only = false
[.124148 8792 ] Config: (default) read_only_direct = false
[.124148 8792 ] Config: (default) recache = false
[.124148 8792 ] Config: (default) run_second_cpp = true
[.124148 8792 ] Config: (environment) sloppiness = time_macros, pch_defines
[.124148 8792 ] Config: (default) stats = true
[.124148 8792 ] Config: (default) temporary_dir =
[.124148 8792 ] Config: (default) umask =
[.139761 8792 ] Command line: ccache C:\llvm-mingw\bin\c++.exe -O3 -DNDEBUG -Xclang -include-pch -Xclang C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx.pch -MD -MT CMakeFiles/main.dir/main.cpp.obj -MF CMakeFiles\main.dir\main.cpp.obj.d -o CMakeFiles/main.dir/main.cpp.obj -c ../main.cpp
[.139761 8792 ] Hostname: unknown
[.139761 8792 ] Working directory: C:\Projects\github\ccache-test\build
[.139761 8792 ] Detected use of precompiled header: C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx.pch
[.139761 8792 ] Multiple input files: C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx.pch and ../main.cpp
[.139761 8792 ] Failed; falling back to running the real compiler
[.139761 8792 ] Executing C:\llvm-mingw\bin\c++.exe -O3 -DNDEBUG -Xclang -include-pch -Xclang C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx.pch -MD -MT CMakeFiles/main.dir/main.cpp.obj -MF CMakeFiles\main.dir\main.cpp.obj.d -o CMakeFiles/main.dir/main.cpp.obj -c ../main.cpp
[.139761 8792 ] Result: multiple source files
[.139761 8792 ] lockfile_acquire: open WRONLY C:/Projects/github/ccache-test/.ccache/8/stats.lock: No such file or directory
[.139761 8792 ] Acquired lock C:/Projects/github/ccache-test/.ccache/8/stats.lock
[.139761 8792 ] Releasing lock C:/Projects/github/ccache-test/.ccache/8/stats.lock
[.139761 8792 ] Unlink C:/Projects/github/ccache-test/.ccache/8/stats.lock
[.599782 8532 ] === CCACHE 3.7.7 STARTED =========================================
[.599782 8532 ] can't rename file C:/Projects/github/ccache-test/.ccache/stats to C:/Projects/github/ccache-test/.ccache/stats.rm.unknown.8532.XXXXXX OS returned error: C:/Projects/github/ccache/repo/src/legacy_util.cpp failed with error 2: The system cannot find the file specified.
[.599782 8532 ] Unlink C:/Projects/github/ccache-test/.ccache/stats via C:/Projects/github/ccache-test/.ccache/stats.rm.unknown.8532.XXXXXX
[.599782 8532 ] x_unlink failed: Invalid argument
[.599782 8532 ] Acquired lock C:/Projects/github/ccache-test/.ccache/8/stats.lock
[.615408 8532 ] Releasing lock C:/Projects/github/ccache-test/.ccache/8/stats.lock
[.615408 8532 ] Unlink C:/Projects/github/ccache-test/.ccache/8/stats.lock
[.615408 8532 ] Acquired lock C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.615408 8532 ] Releasing lock C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.615408 8532 ] Unlink C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.693532 6096 ] === CCACHE 3.7.7 STARTED =========================================
[.693532 6096 ] Config: (default) base_dir =
[.693532 6096 ] Config: (environment) cache_dir = C:/Projects/github/ccache-test/.ccache
[.693532 6096 ] Config: (default) cache_dir_levels = 2
[.693532 6096 ] Config: (default) compiler =
[.693532 6096 ] Config: (default) compiler_check = mtime
[.693532 6096 ] Config: (default) compression = true
[.693532 6096 ] Config: (default) compression_level = 0
[.693532 6096 ] Config: (default) cpp_extension =
[.693532 6096 ] Config: (environment) debug = true
[.693532 6096 ] Config: (default) depend_mode = false
[.693532 6096 ] Config: (default) direct_mode = true
[.693532 6096 ] Config: (default) disable = false
[.693532 6096 ] Config: (default) extra_files_to_hash =
[.693532 6096 ] Config: (default) file_clone = false
[.693532 6096 ] Config: (default) hard_link = false
[.693532 6096 ] Config: (default) hash_dir = true
[.693532 6096 ] Config: (default) ignore_headers_in_manifest =
[.693532 6096 ] Config: (default) keep_comments_cpp = false
[.693532 6096 ] Config: (default) limit_multiple = 0.8
[.693532 6096 ] Config: (environment) log_file = C:/Projects/github/ccache-test/ccache.log
[.693532 6096 ] Config: (default) max_files = 0
[.693532 6096 ] Config: (C:/Projects/github/ccache-test/.ccache/ccache.conf) max_size = 5.0G
[.693532 6096 ] Config: (default) path =
[.693532 6096 ] Config: (default) pch_external_checksum = false
[.693532 6096 ] Config: (default) prefix_command =
[.693532 6096 ] Config: (default) prefix_command_cpp =
[.693532 6096 ] Config: (default) read_only = false
[.693532 6096 ] Config: (default) read_only_direct = false
[.693532 6096 ] Config: (default) recache = false
[.693532 6096 ] Config: (default) run_second_cpp = true
[.693532 6096 ] Config: (environment) sloppiness = time_macros, pch_defines
[.693532 6096 ] Config: (default) stats = true
[.693532 6096 ] Config: (default) temporary_dir =
[.693532 6096 ] Config: (default) umask =
[.693532 6096 ] Command line: ccache C:\llvm-mingw\bin\c++.exe -O3 -DNDEBUG -Xclang -emit-pch -Xclang -include -Xclang C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx -MD -MT CMakeFiles/main.dir/cmake_pch.hxx.pch -MF CMakeFiles\main.dir\cmake_pch.hxx.pch.d -o CMakeFiles/main.dir/cmake_pch.hxx.pch -c CMakeFiles/main.dir/cmake_pch.hxx.cxx
[.693532 6096 ] Hostname: unknown
[.693532 6096 ] Working directory: C:\Projects\github\ccache-test\build
[.693532 6096 ] Multiple input files: C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx and CMakeFiles/main.dir/cmake_pch.hxx.cxx
[.693532 6096 ] Failed; falling back to running the real compiler
[.693532 6096 ] Executing C:\llvm-mingw\bin\c++.exe -O3 -DNDEBUG -Xclang -emit-pch -Xclang -include -Xclang C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx -MD -MT CMakeFiles/main.dir/cmake_pch.hxx.pch -MF CMakeFiles\main.dir\cmake_pch.hxx.pch.d -o CMakeFiles/main.dir/cmake_pch.hxx.pch -c CMakeFiles/main.dir/cmake_pch.hxx.cxx
[.693532 6096 ] Result: multiple source files
[.693532 6096 ] lockfile_acquire: open WRONLY C:/Projects/github/ccache-test/.ccache/6/stats.lock: No such file or directory
[.693532 6096 ] Acquired lock C:/Projects/github/ccache-test/.ccache/6/stats.lock
[.693532 6096 ] Releasing lock C:/Projects/github/ccache-test/.ccache/6/stats.lock
[.693532 6096 ] Unlink C:/Projects/github/ccache-test/.ccache/6/stats.lock
[.479383 6192 ] === CCACHE 3.7.7 STARTED =========================================
[.479383 6192 ] Config: (default) base_dir =
[.479383 6192 ] Config: (environment) cache_dir = C:/Projects/github/ccache-test/.ccache
[.479383 6192 ] Config: (default) cache_dir_levels = 2
[.479383 6192 ] Config: (default) compiler =
[.479383 6192 ] Config: (default) compiler_check = mtime
[.479383 6192 ] Config: (default) compression = true
[.479383 6192 ] Config: (default) compression_level = 0
[.479383 6192 ] Config: (default) cpp_extension =
[.479383 6192 ] Config: (environment) debug = true
[.479383 6192 ] Config: (default) depend_mode = false
[.479383 6192 ] Config: (default) direct_mode = true
[.479383 6192 ] Config: (default) disable = false
[.479383 6192 ] Config: (default) extra_files_to_hash =
[.479383 6192 ] Config: (default) file_clone = false
[.479383 6192 ] Config: (default) hard_link = false
[.479383 6192 ] Config: (default) hash_dir = true
[.479383 6192 ] Config: (default) ignore_headers_in_manifest =
[.479383 6192 ] Config: (default) keep_comments_cpp = false
[.479383 6192 ] Config: (default) limit_multiple = 0.8
[.479383 6192 ] Config: (environment) log_file = C:/Projects/github/ccache-test/ccache.log
[.479383 6192 ] Config: (default) max_files = 0
[.479383 6192 ] Config: (C:/Projects/github/ccache-test/.ccache/ccache.conf) max_size = 5.0G
[.479383 6192 ] Config: (default) path =
[.479383 6192 ] Config: (default) pch_external_checksum = false
[.479383 6192 ] Config: (default) prefix_command =
[.479383 6192 ] Config: (default) prefix_command_cpp =
[.479383 6192 ] Config: (default) read_only = false
[.479383 6192 ] Config: (default) read_only_direct = false
[.479383 6192 ] Config: (default) recache = false
[.479383 6192 ] Config: (default) run_second_cpp = true
[.479383 6192 ] Config: (environment) sloppiness = time_macros, pch_defines
[.479383 6192 ] Config: (default) stats = true
[.479383 6192 ] Config: (default) temporary_dir =
[.479383 6192 ] Config: (default) umask =
[.479383 6192 ] Command line: ccache C:\llvm-mingw\bin\c++.exe -O3 -DNDEBUG -Xclang -include-pch -Xclang C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx.pch -MD -MT CMakeFiles/main.dir/main.cpp.obj -MF CMakeFiles\main.dir\main.cpp.obj.d -o CMakeFiles/main.dir/main.cpp.obj -c ../main.cpp
[.479383 6192 ] Hostname: unknown
[.479383 6192 ] Working directory: C:\Projects\github\ccache-test\build
[.479383 6192 ] Detected use of precompiled header: C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx.pch
[.479383 6192 ] Multiple input files: C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx.pch and ../main.cpp
[.479383 6192 ] Failed; falling back to running the real compiler
[.479383 6192 ] Executing C:\llvm-mingw\bin\c++.exe -O3 -DNDEBUG -Xclang -include-pch -Xclang C:/Projects/github/ccache-test/build/CMakeFiles/main.dir/cmake_pch.hxx.pch -MD -MT CMakeFiles/main.dir/main.cpp.obj -MF CMakeFiles\main.dir\main.cpp.obj.d -o CMakeFiles/main.dir/main.cpp.obj -c ../main.cpp
[.479383 6192 ] Result: multiple source files
[.479383 6192 ] Acquired lock C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.495079 6192 ] Releasing lock C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.495079 6192 ] Unlink C:/Projects/github/ccache-test/.ccache/d/stats.lock
[.854375 948 ] === CCACHE 3.7.7 STARTED =========================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment