[PATCH] D58013: [compiler-rt] Build custom libcxx with libcxxabi

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 17 14:00:09 PST 2019


phosek added a comment.

This also broke <https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket.appspot.com/8921268940513209264/+/steps/clang/0/steps/build/0/stdout> our toolchain builders. The relevant part of the log is:

  [357/763] Performing configure step for 'libcxx_fuzzer_aarch64'
  -- The C compiler identification is Clang 9.0.0
  -- The CXX compiler identification is Clang 9.0.0
  -- Check for working C compiler: /b/s/w/ir/kitchen-workdir/recipe_cleanup/clangrCZ026/llvm_build_dir/./bin/clang
  -- Check for working C compiler: /b/s/w/ir/kitchen-workdir/recipe_cleanup/clangrCZ026/llvm_build_dir/./bin/clang -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - failed
  -- Detecting CXX compile features
  -- Detecting CXX compile features - failed
  -- Configuring for standalone build.
  -- Linker detection: LLD
  -- Performing Test LLVM_LIBSTDCXX_MIN
  -- Performing Test LLVM_LIBSTDCXX_MIN - Failed
  CMake Error at /b/s/w/ir/kitchen-workdir/llvm-project/llvm/cmake/modules/CheckCompilerVersion.cmake:72 (message):
    libstdc++ version must be at least 4.8.
  Call Stack (most recent call first):
    /b/s/w/ir/kitchen-workdir/llvm-project/llvm/cmake/modules/HandleLLVMOptions.cmake:9 (include)
    /b/s/w/ir/kitchen-workdir/llvm-project/libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake:99 (include)
    /b/s/w/ir/kitchen-workdir/llvm-project/libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake:142 (configure_out_of_tree_llvm)
    /b/s/w/ir/kitchen-workdir/llvm-project/libcxxabi/CMakeLists.txt:29 (include)
  
  
  -- Configuring incomplete, errors occurred!

I don't know yet why the `LLVM_LIBSTDCXX_MIN` check is failing but I'm going to do a local build to find out.


Repository:
  rCRT Compiler Runtime

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

https://reviews.llvm.org/D58013





More information about the llvm-commits mailing list