[libcxx-commits] [PATCH] D89041: [libc++] Include <__config_site> from <__config>

Vitaly Buka via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 21 14:58:07 PDT 2020


vitalybuka added a comment.

In D89041#2345252 <https://reviews.llvm.org/D89041#2345252>, @jhuber6 wrote:

> In D89041#2345160 <https://reviews.llvm.org/D89041#2345160>, @jhuber6 wrote:
>
>> Yeah, I think that one might've been a compiler-rt failure that broke some other time since I haven't built from scratch in awhile. I'll let you know if my build finishes without compiler-rt.
>
> Yeah, it works now, thanks.

Removing the dir does not help for my build:

cmake -GNinja ../../llvm-project/llvm -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;lld;libcxx;libcxxabi" -DLLVM_ENABLE_LLD=ON -DCMAKE_C_COMPILER=/usr/local/google/home/vitalybuka/src/clang/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/google/home/vitalybuka/src/clang/bin/clang++  -DLLVM_BINUTILS_INCDIR=/usr/include -DCMAKE_BUILD_TYPE=Release
ninja check-all

  [6891/7170] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
  FAILED: projects/compiler-rt/lib/msan/tests/MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o 
  cd /usr/local/google/home/vitalybuka/src/llvm.git/out/z/projects/compiler-rt/lib/msan/tests && /usr/local/google/home/vitalybuka/src/llvm.git/out/z/./bin/clang -nostdinc++ -isystem /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/../libcxx/include -Wno-covered-switch-default -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/utils/unittest/googletest/include -I/usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/utils/unittest/googletest -I/usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/compiler-rt/include -I/usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/compiler-rt/lib -I/usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/compiler-rt/lib/msan -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-deprecated-declarations -Wno-unused-variable -Wno-zero-length-array -Wno-uninitialized -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -fsanitize=memory -fsanitize-memory-track-origins -mllvm -msan-keep-going=1 -mllvm -msan-instrumentation-with-call-threshold=0 -m64 -c -o MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/compiler-rt/lib/msan/tests/msan_test.cpp
  In file included from /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/compiler-rt/lib/msan/tests/msan_test.cpp:15:
  In file included from /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/compiler-rt/lib/msan/tests/msan_test_config.h:17:
  In file included from /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:54:
  In file included from /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/../libcxx/include/limits:104:
  /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/../libcxx/include/__config:13:10: fatal error: '__config_site' file not found


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89041



More information about the libcxx-commits mailing list