fatal error: malloc.h: No such file or directory
AmperesAvengement opened this issue · comments
I ran into a build issue using GCC on Linux in which the compiler attempts to include malloc.h
, despite it being replaced by stdlib.h
.
I was able to fix it by changing
#include "malloc.h"
to
#if defined(_WIN32) || defined(__llvm__) || defined(_LIBC_)
#include "malloc.h"
#endif
in aocl_dtl/aoclos.h
@BhaskarNallani @kvaragan In case you haven't seen this yet... Looks like an issue with the AMD fork of BLIS.
Hi @AmperesAvengement , which gcc version used ? .Did you try this fork: https://github.com/amd/blis ?