[libc-commits] [compiler-rt] [libc] [libcxx] [libcxxabi] [libunwind] [llvm] [openmp] [Runtimes] Introduce variables containing resource dir paths (PR #177953)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Thu Apr 2 09:26:09 PDT 2026


petrhosek wrote:

Looks like this broke the libFuzzer build on Windows:
```
CMake Warning at C:/b/s/w/ir/x/w/llvm-llvm-project/llvm/cmake/modules/GetHostTriple.cmake:46 (message):
  unable to determine host target triple
Call Stack (most recent call first):
  CMakeLists.txt:213 (get_host_triple)


-- LLVM host triple: 
-- LLVM default target triple: 
CMake Error at C:/b/s/w/ir/x/w/llvm-llvm-project/cmake/Modules/GetToolchainDirs.cmake:69 (string):
  string begin index: -1 is out of range 0 - 0
Call Stack (most recent call first):
  C:/b/s/w/ir/x/w/llvm-llvm-project/cmake/Modules/GetToolchainDirs.cmake:126 (get_runtimes_target_libdir_common)
  C:/b/s/w/ir/x/w/llvm-llvm-project/cmake/Modules/GetToolchainDirs.cmake:33 (get_toolchain_target_dirname)
  CMakeLists.txt:261 (get_toolchain_library_subdir)
```
It's failing here: https://github.com/llvm/llvm-project/blob/ef409e649c929a3daf97f2b2bd26329d9c69406a/compiler-rt/lib/fuzzer/CMakeLists.txt#L161-L169

https://github.com/llvm/llvm-project/pull/177953


More information about the libc-commits mailing list