https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104799
--- Comment #2 from Mosè Giordano <mose at gnu dot org> --- Created attachment 52568 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52568&action=edit Patch for poisoned calloc on Musl systems Following the example of https://git.alpinelinux.org/aports/tree/main/gcc/0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch, reported in https://bugs.gentoo.org/828580, I wrote the attached patch for libcc1, which seems to solve the issue for me.