sys-devel/gcc: add 16.0.0_p20250928

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-09-29 13:59:36 +01:00
parent 8cbc5800af
commit ec701d4408
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 57 additions and 0 deletions

View File

@ -46,6 +46,7 @@ DIST gcc-16-20250831.tar.xz 95517600 BLAKE2B e1b09cd8549c66482865ae18582a4f0d1e1
DIST gcc-16-20250907.tar.xz 95560696 BLAKE2B 6b152464e39495c34de813bb9f24b42d452d56de77b013a78c5d703d3a21698af8ddbf8a04f96f710dc4e92e43ce6d75c02cdb2f367cb0260fe0e2e21c719909 SHA512 cdd68777f8e54d6808b8f0d408f5717a449490461ffaaab414c75ce9d1419d361e3593acfc80e9d6aaa66dbe5ab874cb658cd18cb4867496b102684bc8df7861
DIST gcc-16-20250914.tar.xz 95592300 BLAKE2B 2c0c87e7fe6fd7878c978a282ead74650e157265761aa41423f5b170e81759a268bd9af8a7ea3463161007ca43ccac2a04265b958a5a2da52edbd9252c70d617 SHA512 2568b8cf9950e6371547dfef573fd1cb63c5e9c221306c884bc8aa34e2882320c3cfb7761b21d71420cdc6cac4a4086471a96940d3d94c9136173711e875e9ac
DIST gcc-16-20250921.tar.xz 95683036 BLAKE2B eeb0b8fec4973d9ddcd6ade18a612e675de8a427fa7ec75208f6b041bf9da6ddb45c0c7a63cf9dda59b65114b6ad496597e241482ac09a0bfdd4788567f509a9 SHA512 233c124f639d0a65a25998effb7813e96b54e7e5320d7ecbf9fb48eacd6590ea2bc66efbd921da197b30f3f2f5460da6ef99486a51c8f6dd3d7075fe0a70c93c
DIST gcc-16-20250928.tar.xz 95726148 BLAKE2B e64e8914de05f4b811477a009b67c10ff9f47dc2735a24c6ab47449d14ae37970da6a084802dd19479b3b0878e260ee889e5d7bb3a37f47443487fef74ee8682 SHA512 bf3f948a34e30e28eafb226e3d676024c22b3f9d890a9e4ab09083f7ef9dddc404937edd05704bb8527b14ad5965bf1090ca358e5907db29f64d816fbb11be58
DIST gcc-16.0.0-musl-patches-1.tar.xz 3040 BLAKE2B 18b16357699780eb470cf44a10710281955140103198e0bd55b75e1efe3dbec233689edb11e1b9a62f782f3d97293af4906c18c2c41613b422eda085ee819467 SHA512 5ba580c7c7bb9e62935a5162d44d357cc31185a113acff7498ed7b1ac43fd0a35de7c3de0c87f02fe0be46b5e55b49bb35d1f5cd470058d21a9ea4096a37e13d
DIST gcc-16.0.0-patches-13.tar.xz 22832 BLAKE2B 1685bdd6cbca87af8b4155f97f83dfb0184d42467b3d6294b931c481973bfda7f518a58308d4cef5b13801d2bfe9dbde1eb07ce5a8e25bdd47800ce677bdce8b SHA512 461fe6cef159fb213500a541f0205adf3221bf2891cb4704afb74e338682080bb77eb9a70766e925efb78682a67588cb2c5e2cc5b6d694341178735f47219ff7
DIST gcc-16.0.0-patches-14.tar.xz 21676 BLAKE2B 6bd29ef5bb6993d846e7071a83c902354bc3c10b5576c345f60bc69e4d9725ed71086efa7cddcff2d20d0d4a8e2dec93719efd943263a6e684c543c42345c0fd SHA512 6f9080f4736d42d49b4c10b65da4f4c893be8034714b30f2ec6838a15fc2c201cde07d18cf752e0df0c689cf543a4303182e522b1d9054a8081d56e37eede6a0

View File

@ -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="16.0.0"
PATCH_VER="14"
MUSL_VER="1"
MUSL_GCC_VER="16.0.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 ~m68k ~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
}