From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A297E158094 for ; Sun, 3 Jul 2022 00:57:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E06F3E0BCF; Sun, 3 Jul 2022 00:57:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC7A6E0BCF for ; Sun, 3 Jul 2022 00:57:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A25E341BF3 for ; Sun, 3 Jul 2022 00:57:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05DED522 for ; Sun, 3 Jul 2022 00:57:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1656809823.7c24ad73deb1a00f606e8dce7de0ae1a3984f54e.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 12.1.0/musl/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 12.1.0/musl/50_all_calloc_libgccjit.patch 12.1.0/musl/README.history X-VCS-Directories: 12.1.0/musl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7c24ad73deb1a00f606e8dce7de0ae1a3984f54e X-VCS-Branch: master Date: Sun, 3 Jul 2022 00:57:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c26285a9-f1fb-48e4-9679-6b2bff6a9397 X-Archives-Hash: 43c7f0ee9d1855aa3e57a5ac2ae2f97f commit: 7c24ad73deb1a00f606e8dce7de0ae1a3984f54e Author: Sam James gentoo org> AuthorDate: Sun Jul 3 00:21:52 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 3 00:57:03 2022 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=7c24ad73 12.1.0: musl: drop 50_all_calloc_libgccjit.patch Fixed upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104799 Signed-off-by: Sam James gentoo.org> 12.1.0/musl/50_all_calloc_libgccjit.patch | 120 ------------------------------ 12.1.0/musl/README.history | 18 +++-- 2 files changed, 10 insertions(+), 128 deletions(-) diff --git a/12.1.0/musl/50_all_calloc_libgccjit.patch b/12.1.0/musl/50_all_calloc_libgccjit.patch deleted file mode 100644 index 78c7f44..0000000 --- a/12.1.0/musl/50_all_calloc_libgccjit.patch +++ /dev/null @@ -1,120 +0,0 @@ -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 -Date: Wed, 13 Oct 2021 23:24:27 +0100 -Subject: [PATCH] Fix attempt to use poisoned calloc error in libgccjit - -This moves usages of pthread.h to above any usage of system.h as it -included #pragma GCC poison calloc ---- a/gcc/jit/jit-playback.cc -+++ b/gcc/jit/jit-playback.cc -@@ -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" -@@ -41,8 +43,6 @@ along with GCC; see the file COPYING3. If not see - #include "diagnostic.h" - #include "stmt.h" - --#include -- - #include "jit-playback.h" - #include "jit-result.h" - #include "jit-builtins.h" ---- a/gcc/jit/jit-recording.cc -+++ b/gcc/jit/jit-recording.cc -@@ -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" ---- a/gcc/jit/libgccjit.cc -+++ b/gcc/jit/libgccjit.cc -@@ -18,13 +18,14 @@ 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" - #include "timevar.h" - #include "typed-splay-tree.h" - #include "cppbuiltin.h" --#include - - #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 - . */ - -+#include - #include - - #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 - . */ - -+#include - #include - - #undef PACKAGE_NAME - ---- a/gcc/cp/mapper-client.cc -+++ b/gcc/cp/mapper-client.cc -@@ -27,6 +27,7 @@ along with GCC; see the file COPYING3. If not see - #define INCLUDE_STRING - #define INCLUDE_VECTOR - #define INCLUDE_MAP -+#include - #include "system.h" - - #include "line-map.h" ---- a/gcc/cp/module.cc -+++ b/gcc/cp/module.cc -@@ -204,6 +204,7 @@ Classes used: - #include "config.h" - #define INCLUDE_STRING - #define INCLUDE_VECTOR -+#include - #include "system.h" - #include "coretypes.h" - #include "cp-tree.h" ---- a/gcc/cp/mapper-resolver.cc -+++ b/gcc/cp/mapper-resolver.cc -@@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see - #define INCLUDE_VECTOR - #define INCLUDE_ALGORITHM - #define INCLUDE_MAP -+#include - #include "system.h" - - // We don't want or need to be aware of networking diff --git a/12.1.0/musl/README.history b/12.1.0/musl/README.history index 37283bd..a8e921d 100644 --- a/12.1.0/musl/README.history +++ b/12.1.0/musl/README.history @@ -1,21 +1,23 @@ +6 03 Jul 2022 + - 50_all_calloc_libgccjit.patch + +5 ?? ??? ??? + ? ???? + 4 26 Jun 2022 U 50_all_calloc_libgccjit.patch 3 25 Apr 2022 - - 25_all_multilib_pure64.patch - - 50_all_posix_memalign.patch U 50_all_calloc_libgccjit.patch - - 50_all_cpu_indicator.patch - - nocross/50_all_libssp_unconditionally.patch 2 25 Apr 2022 - - 25_all_multilib_pure64.patch - - 50_all_posix_memalign.patch + 25_all_multilib_pure64.patch + 50_all_posix_memalign.patch U 50_all_calloc_libgccjit.patch - - 50_all_cpu_indicator.patch - - nocross/50_all_libssp_unconditionally.patch + 50_all_cpu_indicator.patch + nocross/50_all_libssp_unconditionally.patch 1 25 Apr 2022