From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EDBED1582EF for ; Sat, 01 Mar 2025 06:50:41 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D57CB343011 for ; Sat, 01 Mar 2025 06:50:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B12451102B7; Sat, 01 Mar 2025 06:50:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 bobolink.gentoo.org (Postfix) with ESMTPS id A93F71102B7 for ; Sat, 01 Mar 2025 06:50:40 +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 66A69342FE4 for ; Sat, 01 Mar 2025 06:50:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C727D16E6 for ; Sat, 01 Mar 2025 06:50:38 +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: <1740811764.44cf2c670ce9e23133cd3d2a291fc465c739c25d.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 15.0.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 15.0.0/gentoo/81_all_PR117047-jit-gc-malloc.patch 15.0.0/gentoo/README.history X-VCS-Directories: 15.0.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 44cf2c670ce9e23133cd3d2a291fc465c739c25d X-VCS-Branch: master Date: Sat, 01 Mar 2025 06:50:38 +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: f021a16a-faa0-43d8-938f-e4a16754fb29 X-Archives-Hash: 87ef3d0fd60de032a9902539aff6d527 commit: 44cf2c670ce9e23133cd3d2a291fc465c739c25d Author: Sam James gentoo org> AuthorDate: Sat Mar 1 06:49:24 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 1 06:49:24 2025 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=44cf2c67 15.0.0: add JIT vs GGC fix (drop malloc attributes) Add a workaround patch at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047#c36. It's really a correct fix but overkill, Jakub is proposing a more moderate version that should land soon, but let's get this workaround in downstream first. Bug: https://gcc.gnu.org/PR117047 Signed-off-by: Sam James gentoo.org> 15.0.0/gentoo/81_all_PR117047-jit-gc-malloc.patch | 22 ++++++++++++++++++++++ 15.0.0/gentoo/README.history | 4 ++++ 2 files changed, 26 insertions(+) diff --git a/15.0.0/gentoo/81_all_PR117047-jit-gc-malloc.patch b/15.0.0/gentoo/81_all_PR117047-jit-gc-malloc.patch new file mode 100644 index 0000000..af8a23c --- /dev/null +++ b/15.0.0/gentoo/81_all_PR117047-jit-gc-malloc.patch @@ -0,0 +1,22 @@ +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047#c36 +--- a/gcc/ggc.h ++++ b/gcc/ggc.h +@@ -127,8 +127,7 @@ extern void gt_pch_save (FILE *f); + + /* The internal primitive. */ + extern void *ggc_internal_alloc (size_t, void (*)(void *), size_t, +- size_t CXX_MEM_STAT_INFO) +- ATTRIBUTE_MALLOC; ++ size_t CXX_MEM_STAT_INFO); + + inline void * + ggc_internal_alloc (size_t s CXX_MEM_STAT_INFO) +@@ -141,7 +140,7 @@ extern size_t ggc_round_alloc_size (size_t requested_size); + /* Allocates cleared memory. */ + extern void *ggc_internal_cleared_alloc (size_t, void (*)(void *), + size_t, size_t +- CXX_MEM_STAT_INFO) ATTRIBUTE_MALLOC; ++ CXX_MEM_STAT_INFO); + + inline void * + ggc_internal_cleared_alloc (size_t s CXX_MEM_STAT_INFO) diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history index 06c4a0d..494be1f 100644 --- a/15.0.0/gentoo/README.history +++ b/15.0.0/gentoo/README.history @@ -1,3 +1,7 @@ +47 ???? + + + 81_all_PR117047-jit-gc-malloc.patch + 46 17 February 2025 - 81_all_PR118097-ipa-cp-Perform-operations-in-the-appropriate-types-P.patch