Compilation errors when compiling LLVM runtimes for AArch64 baremetal

Hi All.
I am trying to compile LLVM runtimes (cxx, cxxabi, unwind) for AArch64 baremetal target.
My compilation command is:

cmake -G ‘Unix Makefiles’ -S …/llvm-project-llvmorg-15.0.6/runtimes -B . -DLLVM_ENABLE_RUNTIMES=“libunwind;libcxx;libcxxabi” -DCMAKE_BUILD_TYPE=Release -DCMAKE_ASM_COMPILER_TARGET=aarch64-none-elf -DCMAKE_AR=/opt/clang/bin/llvm-ar -DCMAKE_NM=/opt/clang/bin/llvm-nm -DCMAKE_RANLIB=/opt/clang/bin/llvm-ranlib ‘-DCMAKE_ASM_FLAGS=–target=aarch64-none-elf -march=armv9-a -ffunction-sections -fdata-sections -fno-ident --sysroot /opt/clang/lib/clang-runtimes/aarch64’ -DCMAKE_ASM_COMPILER_TARGET=aarch64-none-elf -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_CXX_COMPILER=/opt/clang/bin/clang++ -DCMAKE_CXX_COMPILER_TARGET=aarch64-none-elf ‘-DCMAKE_CXX_FLAGS=–target=aarch64-none-elf -march=armv9-a -ffunction-sections -fdata-sections -fno-ident --sysroot /opt/clang/lib/clang-runtimes/aarch64’ -DCMAKE_C_COMPILER=/opt/clang/bin/clang -DCMAKE_C_COMPILER_TARGET=aarch64-none-elf ‘-DCMAKE_C_FLAGS=–target=aarch64-none-elf -march=armv9-a -ffunction-sections -fdata-sections -fno-ident --sysroot /opt/clang/lib/clang-runtimes/aarch64’ -DCMAKE_SYSROOT=/opt/clang/lib/clang-runtimes/aarch64 -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld -DCMAKE_INSTALL_PREFIX=/opt/clang/lib/clang-runtimes/aarch64 -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY -DLIBCXX_ENABLE_ASSERTIONS:BOOL=ON -DLIBCXX_ENABLE_SHARED:BOOL=OFF -DLIBCXX_ENABLE_STATIC:BOOL=ON -DLIBCXX_ENABLE_FILESYSTEM:BOOL=OFF -DLIBCXX_ENABLE_WIDE_CHARACTERS:BOOL=OFF -DLIBCXX_CXX_ABI:STRING=libcxxabi -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY:BOOL=OFF -DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=ON -DLIBCXX_ENABLE_EXCEPTIONS:BOOL=ON -DLIBCXX_ENABLE_RTTI:BOOL=OFF -DLIBCXX_INCLUDE_TESTS:BOOL=OFF -DLIBCXX_INCLUDE_BENCHMARKS:BOOL=OFF -DLIBCXXABI_ENABLE_THREADS=OFF -DLIBUNWIND_ENABLE_SHARED=OFF -DLIBUNWIND_IS_BAREMETAL=ON -DLIBUNWIND_ENABLE_THREADS=OFF -DLIBUNWIND_USE_COMPILER_RT=ON - DLIBCXX_ENABLE_SHARED=OFF

Then when I compile I get:

/home/ben/Downloads/llvm/llvm-project-llvmorg-15.0.6/libunwind/src/DwarfParser.hpp:556:37: error: use of undeclared identifier ‘alloca’; did you mean ‘malloc’?
(PrologInfoStackEntry *)_LIBUNWIND_REMEMBER_ALLOC(
^
/home/ben/Downloads/llvm/llvm-project-llvmorg-15.0.6/libunwind/src/config.h:128:42: note: expanded from macro ‘_LIBUNWIND_REMEMBER_ALLOC’
#define _LIBUNWIND_REMEMBER_ALLOC(_size) alloca(_size)
^
/opt/clang/lib/clang-runtimes/aarch64/include/stdlib.h:108:7: note: ‘malloc’ declared here
void *malloc(size_t) __malloc_like __result_use_check __alloc_size(1) _NOTHROW;
^

Can someone help resolve this error?
Is my cmdline for compiling all run-times is correct?

Thank you