Issue while building runtimes

Hi,

I was getting the same when i used the command

cmake -S llvm -B build -G "Ninja" -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" -DLLVM_TARGETS_TO_BUILD="ARM;AArch64;X86" -DCMAKE_BUILD_TYPE=Release -DLLVM_RUNTIME_TARGETS="x86_64-pc-windows-msvc;armv7a-none-eabi" -DLLVM_ENABLE_EH=YES LLVM_ENABLE_RTTI=ON

to build clang and the runtimes, then i saw the reply and tried to build the runtimes separately using the command below, but ended up having another error

cmake -G Ninja -S runtimes -B build -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" 
ninja -C build cxx cxxabi unwind

but got an error ‘private_’ is only enabled if USING_SJLJ_EXCEPTIONS is not defined and SEH is disabled

more about the error

Have anybody encountered this issue or am i doing something wrong?

Unfortunately not, it might help to include the full CMake log so we can see which part is failing exactly. Right now I’d guess that there’s some configuration file that’s not being generated or included properly. Either that or something in the environment isn’t allowing you to cross compile successfully.