malloc.h in aarch64 centos 7

i'm trying to compile llvm 11 but i'm getting this error message
fatal error: malloc/malloc.h: No such file or directory
    1 | #include <malloc/malloc.h>

but the header file is installed

[ include]$ ls /usr/include/malloc.h
[ include]$ rpm -qf malloc.h

i'm using this command to compile it

CXX="c++-gcc9" \
CC="gcc-gcc9" \
cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;openm
p;libc;flang;debuginfo-tests;lldb;parallel-libs;utils;clang-tools-extra" -DCMAK
E_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/$HOME/llvm_local/11.0 ../ll



cmake here gives the following output and compiles OK.

– Looking for malloc/malloc.h
– Looking for malloc/malloc.h - not found

Perhaps just using the following to start with will reduce the problem scope.


Neil Nelson