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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC40F158088 for ; Sun, 26 Oct 2025 01:21:04 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CB86E340D58 for ; Sun, 26 Oct 2025 01:21:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 74D0F1102F2; Sun, 26 Oct 2025 01:21:02 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6D9981102F2 for ; Sun, 26 Oct 2025 01:21:02 +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 1AA23340D58 for ; Sun, 26 Oct 2025 01:21:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8532ADA7 for ; Sun, 26 Oct 2025 01:21:00 +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: <1761441619.a448204cc28fc95ba06958b0de6c48f6bf3213cc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gcc/Manifest sys-devel/gcc/gcc-15.2.1_p20251025.ebuild X-VCS-Directories: sys-devel/gcc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a448204cc28fc95ba06958b0de6c48f6bf3213cc X-VCS-Branch: master Date: Sun, 26 Oct 2025 01:21:00 +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: cb360aec-047c-48a6-86da-c2d40b267469 X-Archives-Hash: 11b72a3d1dcdd36ad928a684dba7d5eb commit: a448204cc28fc95ba06958b0de6c48f6bf3213cc Author: Sam James gentoo org> AuthorDate: Sun Oct 26 01:20:13 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 26 01:20:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a448204c sys-devel/gcc: add 15.2.1_p20251025 Signed-off-by: Sam James gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-15.2.1_p20251025.ebuild | 56 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 57b1cce77280..b6ed80e5dbf8 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -41,6 +41,7 @@ DIST gcc-15-20250927.tar.xz 92319628 BLAKE2B 1bca8818739d16c7f137650b94a6bafcf03 DIST gcc-15-20251004.tar.xz 92342084 BLAKE2B 6b8e3c7c3fa12f504c9d4e008cd445d44c4b1062e12a66495f20661e4d24b26c94e2388a024a9e45f27fa50ccfbac0077067fc6331b2cdb80741525be5996af2 SHA512 64c1aeb4639f86a37c14501bd4b384de4bef21e393fce7b728b4841eef0471bcb4bd4c68c14f51b3b455770029b5df4896fdf17899cf318c8dc4db5356a45a39 DIST gcc-15-20251011.tar.xz 92333560 BLAKE2B a9142134d202ef2974297b97dbd2f48cf490fab664a293f2ba87d50a135d5942348e8a9dd89013893a5f1a509740f6e4f285887ccfc9328ded5dd5f48c6f0d44 SHA512 6d0e60c782a504f1c0c293d2bcd9d38d82d3baac13a83d879c7810c4344e30ebf838ead9cce09800c81afa3ec88b03d38d512c613ea95d6f7d9076cfb9403a82 DIST gcc-15-20251018.tar.xz 92324856 BLAKE2B 46e5a26bb0b03f00691e83f018b1fa3a599a4f6c0f574a061f468bbfd4d45fea6ea80ac2e0b1aede6b8da2c5e5de26868d7e89d710e0f8d40d9e4eb092ee0b25 SHA512 4cbb06f653ef3c55119d7fc0646110eb294a20ea10b26e02bea3def856569b5d3579d98882e6f3257d4069658fa4812fb6caf238923034e07e6ad6540be2078d +DIST gcc-15-20251025.tar.xz 92340172 BLAKE2B 87f92ab8caf766272f6d28fa456a43bd72bfaec8f6cf1bcd26789513f252743ee7b7c70993ba3e8aac63f65740db93e6259ab0e46f898f69d7d32f85807379ec SHA512 e5be8590e246c4994171771bb78b43db382522c9d3ec7b216fecdb86e6b00297859c34f884be5a495d27d460cace0f06e7955d9794b647535bf8313750db58f1 DIST gcc-15.2.0-musl-patches-1.tar.xz 7168 BLAKE2B 6b7cfb123c3a691693240db815e6852a1e6c3820baa499368c463e0a0c1490c701053cfea10bf1d33f89dd2ba7bbddf63c4e6e0976590e3aaf1fee78b9282079 SHA512 ab80ffd69b9ead1fe06a9433faaa97ae53947d214999e77ea363fa6435de080d031a1aa6869e1dc088e800317952f2dc249a9e872113db56fb76f0a432240871 DIST gcc-15.2.0-patches-1.tar.xz 17412 BLAKE2B b761d5c75e084724a80287adb0659286fa208d40b731fc562e9c555d178f2531ecd1e3ca85b674d83f7aabe774d12b382c0b12d0cd024d45e8b915d185f7e229 SHA512 15442890b5b077e3bb392b9cab5dc7a2379c6da7820dc54d25ae337cc5238f662d834ea531882a273f3aba36672f14600baca40a2f4580fceb0e396f56b15594 DIST gcc-15.2.0.tar.xz 101056276 BLAKE2B e270320978ca690e6e8f5ef06414dc13caf561f16403a3783c76fbf3dcee57e755a2d5bba922bf7fcae0bb6120443755d819b003791ae823d54589dd799804de SHA512 89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de diff --git a/sys-devel/gcc/gcc-15.2.1_p20251025.ebuild b/sys-devel/gcc/gcc-15.2.1_p20251025.ebuild new file mode 100644 index 000000000000..b893bba58456 --- /dev/null +++ b/sys-devel/gcc/gcc-15.2.1_p20251025.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="1" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +}