SymCC is compiled successfully. But building libcxx got me these errors (during configuration).
export SYMCC_REGULAR_LIBCXX=yes
export SYMCC_NO_SYMBOLIC_INPUT=yes
cmake -G Ninja /workspace/llvm-project/llvm \
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
-DLLVM_TARGETS_TO_BUILD="X86" \
-DLLVM_DISTRIBUTION_COMPONENTS="cxx;cxxabi;cxx-headers" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/home/vscode/libcxx_symcc \
-DCMAKE_C_COMPILER=/workspace/symcc/build/symcc \
-DCMAKE_CXX_COMPILER=/workspace/symcc/build/sym++
/workspace/symcc/build/symcc -O3 -DNDEBUG -o CMakeFiles/cmTC_a2a0a.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'malloc/malloc.h' file not found
#include <malloc/malloc.h>
^~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
...
fatal error: 'mach/mach.h' file not found
fatal error: 'CrashReporterClient.h' file not found
...
Kindly, any advice on how to fix this error would be appreciated.
SymCC is compiled successfully. But building libcxx got me these errors (during configuration).
Kindly, any advice on how to fix this error would be appreciated.