summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-25 23:40:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-25 23:40:26 +0000
commit4846d367ad566eb7f93a432cae0d261f28f65255 (patch)
tree38ebec4206555f569cde35b9162682808f184757 /sys-devel/gcc
parent85809279ceef66e68b25eac8c3918bee6762f6cc (diff)
gentoo auto-resync : 25:02:2024 - 23:40:26
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 87fcc57ae410..2c41e86e9887 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -46,6 +46,7 @@ DIST gcc-14-20240128.tar.xz 87528304 BLAKE2B d3a3cce5da54b7342a11a3dceb97bfa5f12
DIST gcc-14-20240204.tar.xz 87563056 BLAKE2B 6723206f6cebf347df8a5645f64f05d16c257457cafc915694756af87d71e3265e411659978588591839b36744f045fd5400525434281dbdb3885a8a510c64d1 SHA512 d6c245c45bd95d34a41039ee1bb97b817781f5f137e80f88e61e9f2b4109e4cd7aaac67a528030325f96c83272664292b31d58c24153825c98bfc2270224b868
DIST gcc-14-20240211.tar.xz 87577300 BLAKE2B cfee2b4cdb52e96cd5fe752c67c9606b92449c082d31b738f0503bca9d58e9c8da488540aa9bf116fdf6e19fb29f58104340de6314734e135df1112c93846baa SHA512 a315c8e06e3e35b6046e5ae74c6758bd51ca89ad33cb7d7628091ef393a227bb8e2771000d2624377c80145ce69c3f781f9f08166e5e0ac7b0fc7539ceaa023f
DIST gcc-14-20240218.tar.xz 87636252 BLAKE2B c7680c6e704f8a50d13126f397f672be8ccf4e6ebd05cb2530d7b7a37084bdc2a77e7971b20a4aac65ec6c913874e30a2cf0b90cef94420227a65f1f363f1611 SHA512 2938fcf17d94c82bcbef8269661414cbd489dc2db4024a4407c529f8d80363b2667058c3bd39b32641dc9e067591b24fa5e0f693759ccd259ad0d3dab1d9bc53
+DIST gcc-14-20240225.tar.xz 87651536 BLAKE2B 01283581b8684e0dce73b2d9a586e473f3c87753435d905e193816911edc06f9bd2a8d542a95d69f47f1c884124349520f410925b13b7bb51b913e603000d32f SHA512 f424b0935d8fdcf9ff55067467eac20a518a11c2cb14928a47e1a218cde1f4238091f25861daf417d1125c5d5d5465d32fc1b3cb04504b3ca99fe27a7a7d5792
DIST gcc-14.0.0-musl-patches-1.tar.xz 3576 BLAKE2B 692baee8a7709905d53aeb150d73a3721c4ba47ee5f397cfb1b5be905cf003ca02b60c94ee294d90ac39645cd5cdf186c7a3aa950c47d8cf680c128ed705b807 SHA512 0592ab98a7142e404623a6511c67dff61e9ade32c3fb2c0e75b456306e0af3799ad13252b50b3d2fdd31e5815d7f0b16b0ad63ab8386fe4d78729fc9c182d617
DIST gcc-14.0.0-patches-11.tar.xz 11272 BLAKE2B 81c63b8aebcfd5b33b698ef4ef8f2d12b94ea2753ecec2b160cf9fab534dccd12875bcb16cfac2aa81211f8d9ff530cfc18f486567721beac487e08daa62363e SHA512 0f51352cbc6815cd1dbc8b73e9c83842a58242220ba712291cc76c08c19b3a612c88a3221b2da437a9c7ecb410a83c2e538aa1984b733f444843bdf79d314a71
DIST gcc-14.0.0-patches-16.tar.xz 11884 BLAKE2B bb47024c766f59222b50c5ff19ed6b763c9867508352cbcfc069d028d323a3b6fb3bbcbb2c08be7830f1ba266f54410842a17c9448c2bd9f101aa876ffb8f6ee SHA512 890a0b63485558eb2f1e9fea6a274e251442d129bcb67fd2ee11715916a6f8ea15bed0b59c72ed055fff5d6d90e2bfc3140ddee4e057af117d86fd6b7615fcbc
@@ -98,6 +99,7 @@ EBUILD gcc-14.0.1_pre20240204.ebuild 1596 BLAKE2B 086563c47a32b7f58f4e9ffb5c3b89
EBUILD gcc-14.0.1_pre20240211-r1.ebuild 1596 BLAKE2B 3285e1af8cd1ece868876d45c96199448aeb72af72afe82f8f466ad85de669d58db6cab199f954c9cd3637632138077d49cf962f792afe773eb26928aeac016a SHA512 0060b3084ac39cfe394ac784610fc5042b43663913410b1ad41c1d91c96cb26b19e6ed398686a9a4be64ed40b6e1404fbf24646f69a5c9fe2c053217a3f865b7
EBUILD gcc-14.0.1_pre20240211.ebuild 1596 BLAKE2B 4c9ca8c6fb976d62cedd5d11de152bb3271adc40710a416ada893a3f133f003c12e1948d5cc5e23bef2c1a706ad124f470e9bb87c72a9fd92c9b4a0901f104a0 SHA512 4dce2b58b51e3aee9b5c5260a32ebd7fb176e1188eb649c2066d583de6f31d5bd88ff58878671b6697485a60b28e0052206b6d6bf9ca5cc621c56bb99c4cf398
EBUILD gcc-14.0.1_pre20240218.ebuild 1596 BLAKE2B 28bc3d16f92ad77a9695ba347e78956dbccddea79ab219f7f6bcfa398134d48481a5e78b7746a796bf233ebbd5310446b4a298a50ec259999fbd73a3f28f2e57 SHA512 846edacff83f3c4be93327af1d308cd22da16482c32b24f34a861117ea25b230f8557ba76c860b209293b6bd5b6f43c7d8917a16ff9b37fd5eb8df297e21cccb
+EBUILD gcc-14.0.1_pre20240225.ebuild 1596 BLAKE2B 28bc3d16f92ad77a9695ba347e78956dbccddea79ab219f7f6bcfa398134d48481a5e78b7746a796bf233ebbd5310446b4a298a50ec259999fbd73a3f28f2e57 SHA512 846edacff83f3c4be93327af1d308cd22da16482c32b24f34a861117ea25b230f8557ba76c860b209293b6bd5b6f43c7d8917a16ff9b37fd5eb8df297e21cccb
EBUILD gcc-14.0.9999.ebuild 1322 BLAKE2B b046a70094fe4e7a946d61414b5f2884c804501a681868066027d1f29950afe41744234550019868c19218fa5562339ce2872e8ecee09839a8ff06e6c9bbb6e0 SHA512 2e02f746aa1d4269f7490db34fecafbdafa239dd7497f6e00b29667dd3ec6276e6a258345b8f1a0a2296a21bf4f5c46cfcd3d1a3e6f3f26804c305c19c0169ed
EBUILD gcc-8.5.0-r1.ebuild 498 BLAKE2B e24f62fdb50bf2e9957cbb85c72adc96d369938a7f552735772de964f7023b8b34bd11e7e544d268cc308e25272084a728bd061f37c568d42ea65d55bb2a2e93 SHA512 f35b353e9f54eb3e1c6f8e0ea262458b41da9bddb993793aff79f765c4d93811744979d34e50c6470a9b2cfb63b7006bd284d819b7a98e56a8b3a34ae570ae76
EBUILD gcc-9.5.0.ebuild 1206 BLAKE2B 262931215488db54cab2141549f997a48e22d0a917917eb670d41d5b155c7685e92eb1bc3843d2eca47dd15a450199aea5d99777d2870ff09b1a79ac8a63bcb0 SHA512 3737a70e70e53a581280ff1449d7d92bb9ffba0919b618ea43d4747e09b2803795a05c07c0e3a2ec8982f8d5594be58f9ac549d329b18dc236ad5159e4a47132
diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild
new file mode 100644
index 000000000000..07ffb3cbdbe1
--- /dev/null
+++ b/sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_GCC_VER="14.0.0"
+PATCH_VER="23"
+MUSL_VER="1"
+MUSL_GCC_VER="14.0.0"
+
+if [[ ${PV} == *.9999 ]] ; then
+ MY_PV_2=$(ver_cut 2)
+ MY_PV_3=1
+ if [[ ${MY_PV_2} == 0 ]] ; then
+ MY_PV_2=0
+ MY_PV_3=0
+ else
+ MY_PV_2=$((${MY_PV_2} - 1))
+ fi
+
+ # e.g. 12.2.9999 -> 12.1.1
+ TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
+elif [[ -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 ~ia64 ~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}"
+ BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
+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
+}