Compiling Libc++ against newlib

Hi All.
I am trying to build a complete llvm+clang toolchain (build on X86_64 for AARCH64 target) based on newlib libc. My goal is to have llvm/clang/newlib/compiler-rt/libc++/libc++abi complete toolchain. I have successfully compiled llvm+clang and newlib and compiler-rt, but I cannot compile libc++ against newlib. There are many compilation errors for any program I compile.
Is there a configuration for libc++ which is known to work with newlib for AARCH64 targets?

My configuration for compiling libc++:
cmake -G ‘Unix Makefiles’ -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=armv8-a -ffunction-sections -fdata-sections -fno-ident -D_GNU_SOURCE --sysroot /opt/clang/lib/clang-runtimes/aarch64’ -DCMAKE_ASM_COMPILER_TARGET=aarch64-none-elf -DCMAKE_BUILD_TYPE:STRING=MinSizeRel -DCMAKE_CXX_COMPILER=/opt/clang/bin/clang++ -DCMAKE_CXX_COMPILER_TARGET=aarch64-none-elf ‘-DCMAKE_CXX_FLAGS=–target=aarch64-none-elf -march=armv8-a -ffunction-sections -fdata-sections -fno-ident -D_GNU_SOURCE --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=armv8-a -ffunction-sections -fdata-sections -fno-ident -D_GNU_SOURCE --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 ‘-DLLVM_ENABLE_RUNTIMES=libcxxabi;libcxx;libunwind’ -DLIBCXXABI_ENABLE_SHARED:BOOL=OFF -DLIBCXXABI_ENABLE_STATIC:BOOL=ON -DLIBCXXABI_BAREMETAL:BOOL=ON -DLIBCXXABI_ENABLE_ASSERTIONS:BOOL=OFF -DLIBCXXABI_ENABLE_EXCEPTIONS:BOOL=OFF -DLIBCXXABI_ENABLE_PIC:BOOL=OFF -DLIBCXXABI_ENABLE_SHARED:BOOL=OFF -DLIBCXXABI_ENABLE_STATIC:BOOL=ON -DLIBCXXABI_ENABLE_THREADS:BOOL=OFF -DLIBCXXABI_LIBCXX_INCLUDES:PATH=/opt/clang/lib/clang-runtimes/aarch64/include/c++/v1 -DLIBCXXABI_USE_COMPILER_RT:BOOL=ON -DLIBCXXABI_USE_LLVM_UNWINDER=ON -DLIBCXX_CXX_ABI:STRING=libcxxabi -DLIBCXX_ENABLE_DEBUG_MODE_SUPPORT:BOOL=OFF -DLIBCXX_ENABLE_EXCEPTIONS:BOOL=OFF -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY:BOOL=OFF -DLIBCXX_ENABLE_FILESYSTEM:BOOL=OFF -DLIBCXX_ENABLE_LOCALIZATION:BOOL=ON -DLIBCXX_ENABLE_MONOTONIC_CLOCK:BOOL=OFF -DLIBCXX_ENABLE_PARALLEL_ALGORITHMS:BOOL=OFF -DLIBCXX_ENABLE_RANDOM_DEVICE:BOOL=OFF -DLIBCXX_ENABLE_RTTI:BOOL=OFF -DLIBCXX_ENABLE_SHARED:BOOL=OFF -DLIBCXX_ENABLE_STATIC:BOOL=ON -DLIBCXX_ENABLE_THREADS:BOOL=OFF -DLIBCXX_ENABLE_WIDE_CHARACTERS=ON -DLIBCXX_INCLUDE_BENCHMARKS:BOOL=OFF -DLIBCXX_SUPPORTS_GR_FLAG=OFF -DLIBUNWIND_ENABLE_SHARED:BOOL=OFF -DLIBUNWIND_ENABLE_STATIC:BOOL=ON -DLIBUNWIND_ENABLE_THREADS:BOOL=OFF -DLIBUNWIND_IS_BAREMETAL:BOOL=ON -DLIBUNWIND_REMEMBER_HEAP_ALLOC:BOOL=ON -DLIBUNWIND_USE_COMPILER_RT:BOOL=ON …/…/llvm-project/runtimes