https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #12 from cqwrteur <unlvsur at live dot com> --- malloc, free, memset does not exist either. Need to replace them with __builtin_malloc, __builtin_free, __builtin_memset if that is available. Then it is libquadmath's issue. no errno.h In file included from ../../../gcc/libquadmath/math/llroundq.c:21: ../../../gcc/libquadmath/quadmath-imp.h:24:10: fatal error: errno.h: No such file or directory 24 | #include <errno.h>