[libcxx-commits] [PATCH] D88458: [CMake] Cache the compiler-rt library search results

Andi via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 19 01:22:50 PDT 2021


Abpostelnicu added a comment.

I think this creates a build bustage when llvm is built with the following flags:

  cmake -GNinja -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_ASM_COMPILER=/usr/bin/gcc -DCMAKE_LINKER=/usr/bin/ld -DCMAKE_AR=/usr/bin/ar -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= -DCMAKE_ASM_FLAGS= -DCMAKE_EXE_LINKER_FLAGS=-Wl,-Bsymbolic-functions -fuse-ld=gold -Wl,--gc-sections -Wl,--icf=safe -DCMAKE_SHARED_LINKER_FLAGS=-Wl,-Bsymbolic-functions -fuse-ld=gold -Wl,--gc-sections -Wl,--icf=safe -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/builds/worker/fetches/llvm-project/build/stage1/clang -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_TOOL_LIBCXX_BUILD=ON -DLLVM_ENABLE_BINDINGS=OFF -DCLANG_REPOSITORY_STRING=taskcluster-UynxIUZSRCaRcXEcj3dHqA -DLLVM_ENABLE_PROJECTS=clang;compiler-rt -DLLVM_INCLUDE_TESTS=OFF -DLLVM_TOOL_LLI_BUILD=OFF -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_MEMPROF=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_RANLIB=/usr/bin/ranlib /builds/worker/fetches/llvm-project/llvm

The issues that occur are like:

  Determining if the include file histedit.h exists failed with the following output:
  
  Change Dir: /builds/worker/fetches/llvm-project/build/stage1/build/CMakeFiles/CMakeTmp
  
  
  
  Run Build Command(s):/usr/bin/ninja cmTC_14991 && [1/2] Building C object CMakeFiles/cmTC_14991.dir/CheckIncludeFile.c.o
  
  FAILED: CMakeFiles/cmTC_14991.dir/CheckIncludeFile.c.o 
  
  /usr/bin/gcc    -o CMakeFiles/cmTC_14991.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
  
  CheckIncludeFile.c:1:10: fatal error: histedit.h: No such file or directory
  
      1 | #include <histedit.h>
  
        |          ^~~~~~~~~~~~
  
  compilation terminated.
  
  ninja: build stopped: subcommand failed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88458/new/

https://reviews.llvm.org/D88458



More information about the libcxx-commits mailing list