diff options
author | Sam James <sam@gentoo.org> | 2024-12-27 18:00:42 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-27 18:00:58 +0000 |
commit | f4370b1ba875aa9776d01bd89268e8e1a77281c8 (patch) | |
tree | 1412e821537c2fa2c767aa7c214d290fd04cbb38 /sys-devel | |
parent | sys-devel/gcc: drop old 14 snapshots (diff) | |
download | gentoo-f4370b1ba875aa9776d01bd89268e8e1a77281c8.tar.gz gentoo-f4370b1ba875aa9776d01bd89268e8e1a77281c8.tar.bz2 gentoo-f4370b1ba875aa9776d01bd89268e8e1a77281c8.zip |
sys-devel/gcc: drop old 15 snapshots
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/Manifest | 11 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc-15.0.0_pre20241117-PR112556-c-Allow-bool-and-enum-null-pointer-constants.patch | 244 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20241117-r2.ebuild | 54 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20241124.ebuild | 53 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20241201.ebuild | 53 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20241208-r1.ebuild | 53 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20241208.ebuild | 53 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20241215.ebuild | 53 |
8 files changed, 0 insertions, 574 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 7f82ec48dc6d..7eaa0020d41d 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -25,19 +25,8 @@ DIST gcc-14-20241221.tar.xz 88198252 BLAKE2B 7491c2e1c8885e201859143bdf5cae95af4 DIST gcc-14.1.0-musl-patches-1.tar.xz 3600 BLAKE2B 4cd920b7ca1f122cae806707564d8e45bfd48e78c88788a12a301f6068b5a5f335d8885e67479ac536c66aeaa81f2ecb7240ae56e9fc821a7246ab66b453711f SHA512 61c48d90a55dfc2129d96aee69d939d6a89f6407f69f7bd12c1a619f28989f471fd219d731958f8e62b0fd650c32300f0ad8dc06d5df23d9fc8c1a77fe210c25 DIST gcc-14.2.0-patches-3.tar.xz 13920 BLAKE2B 5b3efa54671581d97ae664e73629f247c776d84eea0b10f8d3223502582f1d1086fff86a6cde6c35b6b43d134af4dad3135d3de5531cfccb320a7fc884ab39ef SHA512 d47549e902055414142f650c7098f029410549741542553b1d0c0519f046a958561f92552e44f59663a7645d42316af5dab1462f54f50f2205257be6744c2fce DIST gcc-14.2.0-patches-7.tar.xz 14244 BLAKE2B 11236e91e1fe83fec8ffaa40ec0cdd4b52a00a951e9aa9a7a0a932b234b8f1a9603333a7ccf55859f4ef53dd4d8ad1fd5c1d2514b6e45fce5b86bb58622a0ecc SHA512 5a4d86d943e31fa068b5a784c0132bd83c23243dcb3cf972557a42e004469a415e1b3185f31b1bb36f916594d475f266a2fda031a414e4a15e0bbfe471269eee -DIST gcc-15-20241117.tar.xz 90065532 BLAKE2B 22ffd82f77871df3c90667d3fbc08ff721586c851aea6e79a34bf065468307c132d62581b7cceaf9b2bc6cc54be8d6ec1dbde241e01454a343e2c48c804a4cea SHA512 70fb8dbdf5a98e3216a5c64c544d9208dd153a71266312e12189ea8ef03abf8b4d29153e0550a556b93e47ef2315e60bf2f5e080db82ffb3c6bb3dc2a3c8aa10 -DIST gcc-15-20241124.tar.xz 90251704 BLAKE2B d9c2a4342ca2229e345e163a8781e7ea8f4682734f5b1f4c9783272e0a362bc4fb0c5b5042363d996ea0473836c53cbf437761389062d076ce5595c1cdb2bcf2 SHA512 36e30e658f45b3b6cd5968cdae15216d6d874349349dce30f7d8c7c7bda1eff841d4d1eb4471956acfab04300c7169872210d26a5d05dd1ae0167d601a2adeed -DIST gcc-15-20241201.tar.xz 90331368 BLAKE2B 883b9073ff5927acaf7f6e0d06c4ddd8d603b0168aba1609f476fce1a6ecd8b78b894b75c5cb7ebe383a0248afdeeb058f1221db3a4fdd4822df79a1ba29c816 SHA512 6d09f84ce609bfac816ac326f37475d61d9232aa502de9429d036a82b501370842dbb9b8c5b650b0e01f668dfb0e2a14e1f8af2d6f175b79d920f6208d596a8b -DIST gcc-15-20241208.tar.xz 90369108 BLAKE2B 83953dcb3fd42168fb0bdee6336698dda6758626499bb474da56a1eaf22f422825e743997290b9a3241ae6fc3582ebfa9c9e6e7d56df599be10412556e1af26b SHA512 64f92431c5714d598ecb7819eb30971c9b050dab53cee37401581e7587facc4c7f19312f8fa9be3b0847de55f7818defb82279a81d4c49c7fccbce9877b8846b -DIST gcc-15-20241215.tar.xz 90419336 BLAKE2B 2d36169400d3d62b101aa7e86298295f8d2eef87475e4785b2d78f2978184d55368c5b2e3e3b29d888593c723c5c1f7c31cf0e386269dca162ffd47bbd67fa6c SHA512 d8cb770ea7770b81074ef3ecf10ac5d879a7e22e9a7935c9432e53f3729dab8c667ac3cae0eb9cb798c9f72313c163a256b5f8bfdd4b6f571d3ff2fa15d24ab6 DIST gcc-15-20241222.tar.xz 90484776 BLAKE2B 8889a11be56a47a9cff26573e9e6fcaa2d7b92b7a5c4509503cbcd38eb03f23a009879bcbd5de33b8c993a34c25b3c5aafb6c9506ff5335f05a572523a41fc52 SHA512 5f571cb073e4c9d10154d135a4fc50986d956417af69c9735e39d9fd49f5cf460a5847ea095b61511917ed0a69197e9afb338c2c8c5b3e7b68673828a3d0d95f DIST gcc-15.0.0-musl-patches-2.tar.xz 3076 BLAKE2B 0073248fe4f7dd827980559017b5aa1fb5c4c46acc9ad5c410dc152fd1e44966d3066bf7152338573cb45b1c36027de5f0c519abd414d97a37bccef07f6a5281 SHA512 295f1a669020bbe2874e9b03afd46b5d083073b276fca3543f3767a2d74f35df81cf0a67abad50c200cf7a3af36ec98ff9977cb7d5c19f334af7d3bb1926a3de -DIST gcc-15.0.0-patches-26.tar.xz 18864 BLAKE2B dc11d5a4d292ae53558601a59a34a619f6e0bbe223e6645a82a04fcd3b83b5788a3a7fdd14ac6fc2fde079302355dbef1a94c283725807425e1ce8d67e28f416 SHA512 14721dffb4dac9394239a82c52e3cbf47094dadc1b310b55a71101ca7ba1a5077fd137f39fbfb89896d324117f6a13c97dc8e8fa8cedecc5c2af4179de7e7f1f -DIST gcc-15.0.0-patches-28.tar.xz 19884 BLAKE2B 36e982dd8c98853e84d977c7be9e7b1decf2ac10f61bdd76d3aed3ba415345039539cb00e03c6f6d86573a890431a39539ca04c54489aa7a3c29cb4b48faa2af SHA512 d95ee81beff83d43f2a42d440c032535e31b9121868b9c18e825e0c0185f5c42173634286274c527668897333104e52137c4b1e0305fee5d86ac4c5be9601b94 -DIST gcc-15.0.0-patches-29.tar.xz 28048 BLAKE2B 592227c6ecf581d6670ad09e09a279c018796cd9709b9c45c8d28af5a8f8858b5e9c0739b395e96fe79fedc9a7a60e82011b78581a8acadd3ceaaaa3e9751527 SHA512 4fb9d34feb570ea5e56ebca6588d367840457cf36f7818327317ee417f90593178adcace042106cd639032cf526a4a05cfd86f9e01eade1827eb5a90f03a7cc7 -DIST gcc-15.0.0-patches-30.tar.xz 30564 BLAKE2B 3d99ddcd03bc6f6b71c599cf07873c8ba6baa1db3e763227bb88181f926d128dae98c8290cf165fe484950a7fba71a8fefa8e8230c293ad50cba06b945921ddd SHA512 1d5812775b667a46b88d0d4923dfacef163bf25301f769df0e461ae1e990b6d3cc0686bda40bb9d5adc0570b33aa7e9c537c793ad4a7757939856beb320cd399 -DIST gcc-15.0.0-patches-31.tar.xz 33844 BLAKE2B 90faa70090e4a4ee9f79d7a8ca43b17cf073d2a6d33cff701d3f726517b385ab52097d0513ce73a5b94e4f3d37525074bf19b2d189e75b2bd7cc7c452832a350 SHA512 6837bbef863a9ec95adb65afc076315f7d56b7861c5eff35b47722ed9726ccdb3ab578cc8b6bfbf2b7373fbf74d78cfb06bfe06398bf217be2e079132e44e6d7 -DIST gcc-15.0.0-patches-32.tar.xz 22612 BLAKE2B d41057e3b76c75f2734462e56e5c80a55bfb1619b9e395e4777e3a49f41f7fc45686fe0b54ff6203e1e783b61721827961e0928ee2a8d3b50f7b11d80efb7bad SHA512 3569db8133cc692449705377c42b5d44cd8417cb6e228043f824fe405c9b99b3486d8628f983cd8bead2081d31f8bcda1c63e413cbf646ae6ca49a1ff428dffa DIST gcc-15.0.0-patches-34.tar.xz 30468 BLAKE2B cabe6a1831d2c9397838853a9a09482591ff9f4ffbc2304099f535b45eadb1cd61f0bd06ca016333c0e537a4481b52d4fbab4463364b49625f999645b1711846 SHA512 3a737d05991b6349eb585ae2861dba5426d11bb3cc46d33af46e8ecb95c842075eb739c858df22e4aa0fa9e3041d415aecf2141382fe9f14809fec4db48a448f DIST gcc-8.5.0-patches-4.tar.xz 18616 BLAKE2B 7594cbaea5daecf1a0b3d526c06aeba0a84c6da66aee2e105a51fda6be8d30a37ccc3814281b284a4582d892a1d556bca063551584edfc2525bed8ea5b6888e7 SHA512 1aa5742c361186637e7855f06feb1a4547e7d4d5de6e51f3d049e0ef3c19e2eff179465f52781739f59422035b7f8e4c0efa3844849f920f3c96acfdc37ca6a6 DIST gcc-8.5.0.tar.xz 63841008 BLAKE2B aa81a1a730fd7371360f6abed6ba78b5843fd18c58d5de5687acc320741b9e430e85df3535a1ef7a26051409be8d2f0945f503e5968480d919103123a99d4b12 SHA512 92f599680e6b7fbce88bcdda810f468777d541e5fddfbb287f7977d51093de2a5178bd0e6a08dfe37090ea10a0508a43ccd00220041abbbec33f1179bfc174d8 diff --git a/sys-devel/gcc/files/gcc-15.0.0_pre20241117-PR112556-c-Allow-bool-and-enum-null-pointer-constants.patch b/sys-devel/gcc/files/gcc-15.0.0_pre20241117-PR112556-c-Allow-bool-and-enum-null-pointer-constants.patch deleted file mode 100644 index b17c1e04998c..000000000000 --- a/sys-devel/gcc/files/gcc-15.0.0_pre20241117-PR112556-c-Allow-bool-and-enum-null-pointer-constants.patch +++ /dev/null @@ -1,244 +0,0 @@ -From 3d525fce70fa0ffa0b22af6e213643e1ceca5ab5 Mon Sep 17 00:00:00 2001 -Message-ID: <3d525fce70fa0ffa0b22af6e213643e1ceca5ab5.1731987909.git.sam@gentoo.org> -From: Joseph Myers <josmyers@redhat.com> -Date: Mon, 18 Nov 2024 22:24:48 +0000 -Subject: [PATCH] c: Allow bool and enum null pointer constants [PR112556] - -As reported in bug 112556, GCC wrongly rejects conversion of null -pointer constants with bool or enum type to pointers in -convert_for_assignment (assignment, initialization, argument passing, -return). Fix the code there to allow BOOLEAN_TYPE and ENUMERAL_TYPE; -it already allowed INTEGER_TYPE and BITINT_TYPE. - -This bug (together with -std=gnu23 meaning false has type bool rather -than int) has in turn resulted in people thinking they need to fix -code using false as a null pointer constant for C23 compatibility. -While such a usage is certainly questionable, it has nothing to do -with C23 compatibility and the right place for warnings about such -usage is -Wzero-as-null-pointer-constant. I think it would be -appropriate to extend -Wzero-as-null-pointer-constant to cover -BOOLEAN_TYPE, ENUMERAL_TYPE and BITINT_TYPE (in all the various -contexts in which that option generates warnings), though this patch -doesn't do anything about that option. - -Bootstrapped with no regressions for x86-64-pc-linux-gnu. - - PR c/112556 - -gcc/c/ - * c-typeck.cc (convert_for_assignment): Allow conversion of - ENUMERAL_TYPE and BOOLEAN_TYPE null pointer constants to pointers. - -gcc/testsuite/ - * gcc.dg/c11-null-pointer-constant-1.c, - gcc.dg/c23-null-pointer-constant-1.c: New tests. ---- - gcc/c/c-typeck.cc | 2 + - .../gcc.dg/c11-null-pointer-constant-1.c | 55 ++++++++ - .../gcc.dg/c23-null-pointer-constant-1.c | 120 ++++++++++++++++++ - 3 files changed, 177 insertions(+) - create mode 100644 gcc/testsuite/gcc.dg/c11-null-pointer-constant-1.c - create mode 100644 gcc/testsuite/gcc.dg/c23-null-pointer-constant-1.c - -diff --git a/gcc/c/c-typeck.cc b/gcc/c/c-typeck.cc -index 26ee0ebf91f0..a701dd090fb8 100644 ---- a/gcc/c/c-typeck.cc -+++ b/gcc/c/c-typeck.cc -@@ -8457,6 +8457,8 @@ convert_for_assignment (location_t location, location_t expr_loc, tree type, - } - else if (codel == POINTER_TYPE - && (coder == INTEGER_TYPE -+ || coder == ENUMERAL_TYPE -+ || coder == BOOLEAN_TYPE - || coder == NULLPTR_TYPE - || coder == BITINT_TYPE)) - { -diff --git a/gcc/testsuite/gcc.dg/c11-null-pointer-constant-1.c b/gcc/testsuite/gcc.dg/c11-null-pointer-constant-1.c -new file mode 100644 -index 000000000000..f463a1a59da3 ---- /dev/null -+++ b/gcc/testsuite/gcc.dg/c11-null-pointer-constant-1.c -@@ -0,0 +1,55 @@ -+/* Test zero with different types as null pointer constant: bug 112556. */ -+/* { dg-do compile } */ -+/* { dg-options "-std=c11 -pedantic-errors -Wno-pointer-compare" } */ -+ -+enum e { ZERO }; -+ -+void *p1 = 0; -+void *p2 = 0LL; -+void *p3 = (char) 0; -+void *p4 = 0UL; -+void *p5 = (_Bool) 0; -+void *p6 = (enum e) ZERO; -+ -+void f (void *); -+ -+void * -+g (void) -+{ -+ p1 = 0; -+ p2 = 0LL; -+ p3 = (char) 0; -+ p4 = 0UL; -+ p5 = (_Bool) 0; -+ p6 = (enum e) ZERO; -+ f (0); -+ f (0ULL); -+ f (0L); -+ f ((char) 0); -+ f ((_Bool) 0); -+ f ((enum e) ZERO); -+ (1 ? p1 : 0); -+ (1 ? p1 : 0L); -+ (1 ? p1 : 0ULL); -+ (1 ? p1 : (char) 0); -+ (1 ? p1 : (_Bool) 0); -+ (1 ? p1 : (enum e) 0); -+ p1 == 0; -+ p1 == 0LL; -+ p1 == 0U; -+ p1 == (char) 0; -+ p1 == (_Bool) 0; -+ p1 == (enum e) 0; -+ p1 != 0; -+ p1 != 0LL; -+ p1 != 0U; -+ p1 != (char) 0; -+ p1 != (_Bool) 0; -+ p1 != (enum e) 0; -+ return 0; -+ return 0UL; -+ return 0LL; -+ return (char) 0; -+ return (_Bool) 0; -+ return (enum e) 0; -+} -diff --git a/gcc/testsuite/gcc.dg/c23-null-pointer-constant-1.c b/gcc/testsuite/gcc.dg/c23-null-pointer-constant-1.c -new file mode 100644 -index 000000000000..71b66cc35d6b ---- /dev/null -+++ b/gcc/testsuite/gcc.dg/c23-null-pointer-constant-1.c -@@ -0,0 +1,120 @@ -+/* Test zero with different types as null pointer constant: bug 112556. */ -+/* { dg-do compile } */ -+/* { dg-options "-std=c23 -pedantic-errors -Wno-pointer-compare" } */ -+ -+enum e { ZERO }; -+enum e2 : bool { BZERO }; -+enum e3 : long { LZERO }; -+ -+void *p1 = 0; -+void *p2 = 0LL; -+void *p3 = (char) 0; -+void *p4 = 0UL; -+void *p5 = (bool) 0; -+void *p6 = (enum e) ZERO; -+void *p7 = false; -+void *p8 = BZERO; -+void *p9 = (enum e2) 0; -+void *p10 = LZERO; -+void *p11 = (enum e3) 0; -+#ifdef __BITINT_MAXWIDTH__ -+void *p12 = 0wb; -+void *p13 = 0uwb; -+#endif -+ -+void f (void *); -+ -+void * -+g (void) -+{ -+ p1 = 0; -+ p2 = 0LL; -+ p3 = (char) 0; -+ p4 = 0UL; -+ p5 = (bool) 0; -+ p6 = (enum e) ZERO; -+ p7 = false; -+ p8 = BZERO; -+ p9 = (enum e2) 0; -+ p10 = LZERO; -+ p11 = (enum e3) 0; -+#ifdef __BITINT_MAXWIDTH__ -+ p12 = 0wb; -+ p13 = 0uwb; -+#endif -+ f (0); -+ f (0ULL); -+ f (0L); -+ f ((char) 0); -+ f ((bool) 0); -+ f ((enum e) ZERO); -+ f (false); -+ f (BZERO); -+ f ((enum e2) 0); -+ f (LZERO); -+ f ((enum e3) 0); -+#ifdef __BITINT_MAXWIDTH__ -+ f (0wb); -+ f (0uwb); -+#endif -+ (1 ? p1 : 0); -+ (1 ? p1 : 0L); -+ (1 ? p1 : 0ULL); -+ (1 ? p1 : (char) 0); -+ (1 ? p1 : (bool) 0); -+ (1 ? p1 : (enum e) 0); -+ (1 ? p1 : false); -+ (1 ? p1 : BZERO); -+ (1 ? p1 : (enum e2) 0); -+ (1 ? p1 : LZERO); -+ (1 ? p1 : (enum e3) 0); -+#ifdef __BITINT_MAXWIDTH__ -+ (1 ? p1 : 0wb); -+ (1 ? p1 : 0uwb); -+#endif -+ p1 == 0; -+ p1 == 0LL; -+ p1 == 0U; -+ p1 == (char) 0; -+ p1 == (bool) 0; -+ p1 == (enum e) 0; -+ p1 == false; -+ p1 == BZERO; -+ p1 == (enum e2) 0; -+ p1 == LZERO; -+ p1 == (enum e3) 0; -+#ifdef __BITINT_MAXWIDTH__ -+ p1 == 0wb; -+ p1 == 0uwb; -+#endif -+ p1 != 0; -+ p1 != 0LL; -+ p1 != 0U; -+ p1 != (char) 0; -+ p1 != (bool) 0; -+ p1 != (enum e) 0; -+ p1 != false; -+ p1 != BZERO; -+ p1 != (enum e2) 0; -+ p1 != LZERO; -+ p1 != (enum e3) 0; -+#ifdef __BITINT_MAXWIDTH__ -+ p1 != 0wb; -+ p1 != 0uwb; -+#endif -+ return 0; -+ return 0UL; -+ return 0LL; -+ return (char) 0; -+ return (bool) 0; -+ return (enum e) 0; -+ return false; -+ return BZERO; -+ return (enum e2) 0; -+ return LZERO; -+ return (enum e3) 0; -+#ifdef __BITINT_MAXWIDTH__ -+ return 0wb; -+ return 0uwb; -+#endif -+} --- -2.47.0 diff --git a/sys-devel/gcc/gcc-15.0.0_pre20241117-r2.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20241117-r2.ebuild deleted file mode 100644 index ee327823124e..000000000000 --- a/sys-devel/gcc/gcc-15.0.0_pre20241117-r2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -TOOLCHAIN_PATCH_DEV="sam" -TOOLCHAIN_HAS_TESTS=1 -PATCH_GCC_VER="15.0.0" -PATCH_VER="26" -MUSL_VER="2" -MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) - -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}"/${P}-PR112556-c-Allow-bool-and-enum-null-pointer-constants.patch - eapply_user -} diff --git a/sys-devel/gcc/gcc-15.0.0_pre20241124.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20241124.ebuild deleted file mode 100644 index 75125b880bdc..000000000000 --- a/sys-devel/gcc/gcc-15.0.0_pre20241124.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -TOOLCHAIN_PATCH_DEV="sam" -TOOLCHAIN_HAS_TESTS=1 -PATCH_GCC_VER="15.0.0" -PATCH_VER="28" -MUSL_VER="2" -MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) - -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_user -} diff --git a/sys-devel/gcc/gcc-15.0.0_pre20241201.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20241201.ebuild deleted file mode 100644 index 7c6295bee00e..000000000000 --- a/sys-devel/gcc/gcc-15.0.0_pre20241201.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -TOOLCHAIN_PATCH_DEV="sam" -TOOLCHAIN_HAS_TESTS=1 -PATCH_GCC_VER="15.0.0" -PATCH_VER="29" -MUSL_VER="2" -MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) - -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_user -} diff --git a/sys-devel/gcc/gcc-15.0.0_pre20241208-r1.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20241208-r1.ebuild deleted file mode 100644 index 4480a9356d92..000000000000 --- a/sys-devel/gcc/gcc-15.0.0_pre20241208-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -TOOLCHAIN_PATCH_DEV="sam" -TOOLCHAIN_HAS_TESTS=1 -PATCH_GCC_VER="15.0.0" -PATCH_VER="31" -MUSL_VER="2" -MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) - -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_user -} diff --git a/sys-devel/gcc/gcc-15.0.0_pre20241208.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20241208.ebuild deleted file mode 100644 index 287aa403a70f..000000000000 --- a/sys-devel/gcc/gcc-15.0.0_pre20241208.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -TOOLCHAIN_PATCH_DEV="sam" -TOOLCHAIN_HAS_TESTS=1 -PATCH_GCC_VER="15.0.0" -PATCH_VER="30" -MUSL_VER="2" -MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) - -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_user -} diff --git a/sys-devel/gcc/gcc-15.0.0_pre20241215.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20241215.ebuild deleted file mode 100644 index 667d7ee4ba29..000000000000 --- a/sys-devel/gcc/gcc-15.0.0_pre20241215.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -TOOLCHAIN_PATCH_DEV="sam" -TOOLCHAIN_HAS_TESTS=1 -PATCH_GCC_VER="15.0.0" -PATCH_VER="32" -MUSL_VER="2" -MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) - -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_user -} |