commit: e0567416b1eb9ca23636be56d9b017e671881269 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Apr 25 02:35:02 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Apr 25 02:35:02 2022 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=e0567416
12.0.0: update calloc patch (again again) Bug: https://bugs.gentoo.org/828580 Signed-off-by: Sam James <sam <AT> gentoo.org> 12.0.0/musl/50_all_calloc_libgccjit.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/12.0.0/musl/50_all_calloc_libgccjit.patch b/12.0.0/musl/50_all_calloc_libgccjit.patch index f50ef8f..876f186 100644 --- a/12.0.0/musl/50_all_calloc_libgccjit.patch +++ b/12.0.0/musl/50_all_calloc_libgccjit.patch @@ -1,5 +1,6 @@ https://git.alpinelinux.org/aports/plain/main/gcc/0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch https://bugs.gentoo.org/828580 +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104799 (additional two hunks thrown in from here for 12) From 72f32e3383129ad139df76d9a063fac9b03079b1 Mon Sep 17 00:00:00 2001 From: Alex McGrath <[email protected]> @@ -66,3 +67,24 @@ included #pragma GCC poison calloc #include "libgccjit.h" #include "jit-recording.h" +--- a/libcc1/libcc1plugin.cc ++++ b/libcc1/libcc1plugin.cc +@@ -17,6 +17,7 @@ + along with GCC; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. */ + ++#include <pthread.h> + #include <cc1plugin-config.h> + + #undef PACKAGE_NAME +--- a/libcc1/libcp1plugin.cc ++++ b/libcc1/libcp1plugin.cc +@@ -18,6 +18,7 @@ + along with GCC; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. */ + ++#include <pthread.h> + #include <cc1plugin-config.h> + + #undef PACKAGE_NAME +
