summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-05 06:31:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-05 06:31:58 +0000
commite4d9d6796d5018e338f0b27a3bc97716195bf0b8 (patch)
tree38d56da69a3b5d5ccc7d73796d38469f5d4e610c /sys-devel/gcc
parent38efae7f3eb932ed41510139679efd5c1e2f5eda (diff)
gentoo auto-resync : 05:01:2025 - 06:31:57edge
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-14.2.1_p20250104.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index d8b63fa40ee4..3bd507aa9534 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -23,6 +23,7 @@ DIST gcc-13.2.0.tar.xz 87858592 BLAKE2B 0034b29d3d6cc05821f0c4253ce077805943aff7
DIST gcc-13.3.0-patches-2.tar.xz 44440 BLAKE2B ebde73f6c3cd1a5fdc5bbce36414a59dda0925cba9d422d3689fc9c14fece44ee2391982a674411aa99bf47ffd49200f3ce51cc908beb8298adfff78e709a84c SHA512 eb56e0d7e69b5c3cca21f4cbff21c1204cf64ede7e66d689f45cf5ff37de8a59f24eb1f4b30d9c4222fd4126654fe4ffc146851f504761014995553c1202e8fd
DIST gcc-14-20241221.tar.xz 88198252 BLAKE2B 7491c2e1c8885e201859143bdf5cae95af4c0db77709ec7d761ad535df30042f5deb8488ba7c508de3673e4b0f2af1de8d17476f39cd47b745ddccec6a9e4470 SHA512 91fe1e1d1f8e8fad64930a2eadf942a542bd42f841fceb49f475bccac00f04692b8cd38821ea9ee05f78b5c51001d8bd39df5f71f3a3d89aab8980019cea9be8
DIST gcc-14-20241228.tar.xz 88192616 BLAKE2B 9f64852ad59b3f41ab3064f353ec29a513f08343421dc16d48df362ef210567243d653857c4932f558c2b9ed8b572112767bc7a914efc18ad14dd1da2a9f0825 SHA512 d5476a3adef59fbc492ec066ffc1eebe8cbed57c370e775dceaae97dc915cf5efc618c05423794da9cae19ca0614bdf6aacd29dba5a1dc487edc2ddd746b1310
+DIST gcc-14-20250104.tar.xz 88191884 BLAKE2B 781fb456b6e7a602503e5a56f8c0de4c677d23c24e14300c7a12a6a48adfac075baacd8dfd198f44d5bd43f9f13eae3fd189fbf915f487d20c7f2ec4b79e7272 SHA512 c55b8d4f27c8c37244ce95f18efae4be8b0eee71465c5b167dd4efed919e1933d9bef24b1753b7b37ba2b791126829478b25416fd22b1abda14e83bd8bffaeb4
DIST gcc-14.1.0-musl-patches-1.tar.xz 3600 BLAKE2B 4cd920b7ca1f122cae806707564d8e45bfd48e78c88788a12a301f6068b5a5f335d8885e67479ac536c66aeaa81f2ecb7240ae56e9fc821a7246ab66b453711f SHA512 61c48d90a55dfc2129d96aee69d939d6a89f6407f69f7bd12c1a619f28989f471fd219d731958f8e62b0fd650c32300f0ad8dc06d5df23d9fc8c1a77fe210c25
DIST gcc-14.2.0-patches-7.tar.xz 14244 BLAKE2B 11236e91e1fe83fec8ffaa40ec0cdd4b52a00a951e9aa9a7a0a932b234b8f1a9603333a7ccf55859f4ef53dd4d8ad1fd5c1d2514b6e45fce5b86bb58622a0ecc SHA512 5a4d86d943e31fa068b5a784c0132bd83c23243dcb3cf972557a42e004469a415e1b3185f31b1bb36f916594d475f266a2fda031a414e4a15e0bbfe471269eee
DIST gcc-15-20241222.tar.xz 90484776 BLAKE2B 8889a11be56a47a9cff26573e9e6fcaa2d7b92b7a5c4509503cbcd38eb03f23a009879bcbd5de33b8c993a34c25b3c5aafb6c9506ff5335f05a572523a41fc52 SHA512 5f571cb073e4c9d10154d135a4fc50986d956417af69c9735e39d9fd49f5cf460a5847ea095b61511917ed0a69197e9afb338c2c8c5b3e7b68673828a3d0d95f
@@ -49,6 +50,7 @@ EBUILD gcc-13.3.1_p20250103.ebuild 1683 BLAKE2B 206ccd1583bf86e8facebad527f8deb2
EBUILD gcc-13.4.9999.ebuild 1651 BLAKE2B 48ad06325489ff94c03e1a1584a9d92f3d624aa8c6a1bb1a55ec8818ef66a75b9acca9a3b18c2743d11b118f1643fecdd5be577f780dad86dc89f67ac095e761 SHA512 7670b8cd00501d127cfaa8ca283bf83b1b29cbe65aa3e2f956c0c3fb169a903f1ef55d298c05b833cd3a2b3e6a72c0f7a2145aca698be730e20fc1a1c406c2de
EBUILD gcc-14.2.1_p20241221.ebuild 1537 BLAKE2B c7c007768b41459ce15112d6b1847aba0793f45416979433d1416ea786c2eb93c340da86af3e78999c68bbf16cce0f67f7653587bfb549fb68cd0ba9d25dd300 SHA512 021fec1ab5cf2073a93018221caa9af35c0a2975fb9820e484a03250136edc15135ccfd2861f7815b04ea1fd1bf109bca9bd66222469c99414fecd0b5ef072be
EBUILD gcc-14.2.1_p20241228.ebuild 1440 BLAKE2B ef888964e71d44ba5d6584cc5e6345d805457369aba8ab1d17a83b390e9c1fdf0c76db232756e32c88546dec0acb18a3fa0984a654eb94d6507d3cc2e02c6cb9 SHA512 2313e17c9aa2a64ad65f123c7fa8840c0af0c99f864df3695223beb438ebd353ab06f39c8d4ebd407b9804196e284a771f8e5b01692ff6082c6dc19056b29435
+EBUILD gcc-14.2.1_p20250104.ebuild 1440 BLAKE2B e19fede45adb75c13176dc209b4ffa6818bd0753db3dd8710327bf8402307f5e48bef65116de97b437987a0eceb153156c3996250ab240f06c68d946f29f2fd5 SHA512 d966850a6b8759390507ffe1975298975699a2272f293e69cef9173b3c252065685ded61a8870700d2dd4d420525d4813243daed279ac7836e00dab4c2cd116f
EBUILD gcc-14.3.9999.ebuild 1410 BLAKE2B 0f77f0e17b7bf3d617ed4feec61406108d92e9ac8bd3597651b7f6814c45ddf56393228cda23fccf189e3fa106b9d389196da4f565283a10923bfe29a06fbfe2 SHA512 802582faf27fe46fcd75b8b917aa155739e4e0f70d010f14bf42cea3007da124a53fe1ee903e6004d4d8277350ac88d7ade78f79ce8a036b29e14dec45ba2d15
EBUILD gcc-15.0.0_pre20241222.ebuild 1360 BLAKE2B 7106fccc9afaa1111a8b29c80e15e8f7491c765b07ed33413fb8c6a6c146ea608df6fa613eb8915a393870370247ecee6c40cba37f90bb45a99c6a3e3c12f0ee SHA512 08b1d001ea54c750b01e876a42fbb74ae9a07a830761aeba8f096211bd7aa11811e251bb2192d39f446816d6955c044a8e9e3c9a00453b32e680c1c113162278
EBUILD gcc-15.0.0_pre20241229.ebuild 1360 BLAKE2B 1050655929da4f3d27312baf2c461d4f05bbb2db5f5b97b3cf986bb5c0b1e81acaba8548f723b5bc73ef5e8b034a57d2340af59a01237fa0b8b786ab70e4cb67 SHA512 988b59e11bf3d56ba22c505444b86812b78ff1f3c42f45f6480e5d4b9d7a08da1b20364b221c4ba4b69e548fa9820a795d016ccf8654ba5ea85d5f514d372a18
diff --git a/sys-devel/gcc/gcc-14.2.1_p20250104.ebuild b/sys-devel/gcc/gcc-14.2.1_p20250104.ebuild
new file mode 100644
index 000000000000..95c826f0298f
--- /dev/null
+++ b/sys-devel/gcc/gcc-14.2.1_p20250104.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2025 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="14.2.0"
+PATCH_VER="7"
+MUSL_VER="1"
+MUSL_GCC_VER="14.1.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=releases/gcc-$(ver_cut 1)
+elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
+ # m68k doesnt build (ICE, bug 932733)
+ #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
+}