[Openmp-commits] [libcxx] [openmp] [libc++] basic_ios<wchar_t> cannot store fill character WCHAR_MAX (PR #89305)
via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 19 11:34:34 PDT 2024
zeroomega wrote:
@daltenty
I further remove unnecessary cmake flags and it still produce the same error.
```
/Users/haowei/SRC/llvm-prebuilts/cmake/mac-amd64/bin/cmake \
-S \
/Users/haowei/SRC/llvm-project/llvm \
-GNinja \
-DCMAKE_MAKE_PROGRAM=/Users/haowei/SRC/llvm-prebuilts/ninja/mac-amd64/ninja \
-DCMAKE_INSTALL_PREFIX= \
-DCMAKE_C_COMPILER=/Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/bin/clang \
-DCMAKE_CXX_COMPILER=/Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/bin/clang++ \
-DCMAKE_ASM_COMPILER=/Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/bin/clang \
-DCLANG_REPOSITORY_STRING=https://llvm.googlesource.com/llvm-project \
-DCMAKE_LIBTOOL=/Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/bin/llvm-libtool-darwin \
-DCMAKE_LIPO=/Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/bin/llvm-lipo \
-DCMAKE_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk \
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \
"-DCMAKE_SHARED_LINKER_FLAGS=-nostdlib++ /Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/lib/libc++.a" \
"-DCMAKE_MODULE_LINKER_FLAGS=-nostdlib++ /Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/lib/libc++.a" \
"-DCMAKE_EXE_LINKER_FLAGS=-nostdlib++ /Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/lib/libc++.a" \
"-DSTAGE2_LLVM_LIT_ARGS=--resultdb-output=r.j -v" \
-DSTAGE2_LLVM_ENABLE_LTO=OFF \
-DSTAGE2_LLVM_RAEVICT_MODEL_PATH=none \
-DLLVM_ENABLE_LIBEDIT=FORCE_ON \
-C ../clang/cmake/caches/Fuchsia.cmake
```
You can get our host clang toolchain from https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/clang/mac-amd64/+/integration and you just need cmake and ninja and xcode to reproduce the build.
I will try to see if I can get a more concrete confirmation that the libc++ for the stage2 build is coming from stage1 toolchain build.
https://github.com/llvm/llvm-project/pull/89305
More information about the Openmp-commits
mailing list