New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/24240#issuecomment-715671265 Comment: @ap4y is this currently working on musl? I needed this patch: ```patch Fix poisoned calloc errors when building libgccjit --- gcc/jit/jit-playback.c | 4 ++-- gcc/jit/jit-recording.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/jit/jit-playback.c b/gcc/jit/jit-playback.c index b74495c58..070463d71 100644 --- a/gcc/jit/jit-playback.c +++ b/gcc/jit/jit-playback.c @@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#include + #include "config.h" #include "system.h" #include "coretypes.h" @@ -40,8 +42,6 @@ along with GCC; see the file COPYING3. If not see #include "gcc.h" #include "diagnostic.h" -#include - #include "jit-playback.h" #include "jit-result.h" #include "jit-builtins.h" diff --git a/gcc/jit/jit-recording.c b/gcc/jit/jit-recording.c index a332fe875..7184a481a 100644 --- a/gcc/jit/jit-recording.c +++ b/gcc/jit/jit-recording.c @@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#include + #include "config.h" #include "system.h" #include "coretypes.h" @@ -25,8 +27,6 @@ along with GCC; see the file COPYING3. If not see #include "pretty-print.h" #include "toplev.h" -#include - #include "jit-builtins.h" #include "jit-recording.h" #include "jit-playback.h" -- 2.28.0 ```