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 F3B1015800F for ; Mon, 2 Jan 2023 01:41:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15711E086A; Mon, 2 Jan 2023 01:41:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id F0197E086A for ; Mon, 2 Jan 2023 01:41:03 +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 1E6F7335DAC for ; Mon, 2 Jan 2023 01:41:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D4DC62F for ; Mon, 2 Jan 2023 01:41:01 +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: <1672621384.c6e054b9a653edf7d5f6e94ded6c3887c2f1ec60.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 11.4.0/musl/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 11.4.0/musl/50_all_calloc_libgccjit.patch X-VCS-Directories: 11.4.0/musl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c6e054b9a653edf7d5f6e94ded6c3887c2f1ec60 X-VCS-Branch: master Date: Mon, 2 Jan 2023 01:41:01 +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: 434ae0f1-6f20-474c-85e1-6435041098c8 X-Archives-Hash: d6c262e698bf93755099e2c1ff388227 commit: c6e054b9a653edf7d5f6e94ded6c3887c2f1ec60 Author: Sam James gentoo org> AuthorDate: Mon Jan 2 01:03:04 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jan 2 01:03:04 2023 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=c6e054b9 11.4.0: update calloc/musl patch Signed-off-by: Sam James gentoo.org> 11.4.0/musl/50_all_calloc_libgccjit.patch | 50 +++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/11.4.0/musl/50_all_calloc_libgccjit.patch b/11.4.0/musl/50_all_calloc_libgccjit.patch index 5dec538..bbb6787 100644 --- a/11.4.0/musl/50_all_calloc_libgccjit.patch +++ b/11.4.0/musl/50_all_calloc_libgccjit.patch @@ -12,6 +12,36 @@ 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/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/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 +--- 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/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 @@ -70,3 +100,23 @@ 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 + . */ + ++#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