diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-29 00:57:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-29 00:57:18 +0000 |
commit | eecd75a62239257eb2235bfe8697c73887a9a080 (patch) | |
tree | 8c01b16cb32e1a22ad5b8efe32d843c96cfa2ff2 /sys-devel/gcc | |
parent | 7b97d94d4769a556456398d66819200655c4d76c (diff) |
gentoo auto-resync : 29:01:2024 - 00:57:18
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-14.0.1_pre20240128.ebuild | 64 |
2 files changed, 67 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 18791c1c0dd0..aac832871195 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -30,9 +30,11 @@ DIST gcc-13.2.0-patches-12.tar.xz 47404 BLAKE2B ed018bcd7429d1c7aace746cbfc4e59d DIST gcc-13.2.0-patches-7.tar.xz 37064 BLAKE2B 4a8700a8d44bfaa84926f8bfd0da4c5b0c0377f47fc0679456e909f7c9029b9cf1b72c0ba0bc505d9035d5c38e27f7e5b029727eaf2bc7aca417a6be966b2f43 SHA512 f440c97e6782ecb8581d41608e31a648ac426e2d870bc1d171da7794cdeff2fd0546cae0c7214e72fd3a00ead8a5c66f3f633b670b74553a2f3a40378b51f20c DIST gcc-14-20231217.tar.xz 86943032 BLAKE2B 8d5ab21fedffad0d4d4e02201c74f3b90cfabe5c2c1abbc048b6c4d179cbf3977cffc6bfc1b7b679d0276b66f86d58ef5c0b8451a4fcb75b88b7240fd7baf41c SHA512 23d8e6dd76aff0a5d7687ce8753aba7bdc374d3330553314da378af84ad629e67dbb532ba416816ce81812857c4c54e31cc5460d3f86619d7a9fb368328ff11d DIST gcc-14-20240121.tar.xz 87469416 BLAKE2B a146f6f62775d2ad82f93dba0581b3aee162113cb0a1ed9fa3db6a8cfc08415555edb0dd0b24d6f4676b91d644d2096ffe22de3c03c8f88b7d6e480515601737 SHA512 af6b623bba274970c58da8cd4a5f329a2b2973cb108e7dc7a910358d7bffb89b8f33437d47d7f10a1ceeafd744f099677621f3c3fac65e54aad1ea4045d19743 +DIST gcc-14-20240128.tar.xz 87528304 BLAKE2B d3a3cce5da54b7342a11a3dceb97bfa5f1203327ea5ee5c9ab02d2b5cae2d0c2ba72feaf2da578d74fba05e10fa0f69433ee49501b5e5ef9a5f95f7284446adc SHA512 8ad32c896765a4013e2e812ab26b7dc5d3c13db27cbe40222090f072b2c26c12808175a12484cd4e0d815bc3f9389d5210a9270de9c3b796c6fa2726d0e2ef44 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 +DIST gcc-14.0.0-patches-17.tar.xz 11792 BLAKE2B 9e29f3cfaa04ccade9ec768b7d7d8c254ad244d5e71db725a98b217c5beea04c71c05873d9cb93787b84813fe761e846e4e2c2814a3e12df5aefaaed72ebe70e SHA512 fbbbf9e50b030f130cce9089463365a84ca8368fc0f3cda132867d82094a2b91bfabfb2dbf5fc2ceed7c5651e9c24ac5d8978203c724969c325b0b38a78f24dc 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 DIST gcc-9.5.0-patches-2.tar.xz 14324 BLAKE2B 1d3bf3e673108ad2fcdcb86daefb4603d1c9f6aa815e34d1591054d466b76d6f50cce124ab4760528c4951ea16eb00888a3e6485417f81ebf250548732df4a8e SHA512 a6d6f650aaf0bd193a17ac279649f0544a282cea295824384c59341c3000eac4b574b60e00dd427585d928f9768166abf85168b47772132790ad98854acacbbf @@ -59,6 +61,7 @@ EBUILD gcc-13.3.9999.ebuild 1589 BLAKE2B bf6463d9ba5db2a0d494941a33cc7a2be6fd01f EBUILD gcc-14.0.0_pre20231217.ebuild 1596 BLAKE2B b82b52e7652b6872edea7820cb8d25106b974aa5b28aa1ed68ecc721f6025e67d5f240be05e1456b644789f6404646d2ad98b64a80028183255bec0f70d5d1d4 SHA512 604729d35c656b6ab17df319e7bc78275d83fda8425e8d5835ea61a716a819108593b855c6835a3cc12ba2c664c6eaa7a114d5fd971e5cb85eeb592fb04af808 EBUILD gcc-14.0.1.9999.ebuild 1568 BLAKE2B 1a8a6f2d8236b48c81504d7462b2f1c4b8ffa98f635bd037c085ea5c9db2a448afd3a669f9f2b312de19c5e6000e47fac98d7eab815f103cdf07e352404cb822 SHA512 26f18580dcadde442995d6258d7b882cb355893d3e01f6d283e25c7df1cc28afc1988f22998934133b44752e74b2c479cec58a1e031dfe2ac2ba2271fb2e1285 EBUILD gcc-14.0.1_pre20240121.ebuild 1596 BLAKE2B 3b27f6ad95410d16d4b0a3c904eb5397d807ac3e62fcd22f6494996f7c6f9963d17be08c3f0eb6867683d503d9808c065452cef1d292a0e4fdbdfa1d85a8c218 SHA512 9b6fb3ca28de09b976326922985e0da406f5ca4929ee8bd65d56276ea49eb8442286348829b9c0da63d9660e9909b2bc241875a3d6206b907e965ecb41430f27 +EBUILD gcc-14.0.1_pre20240128.ebuild 1596 BLAKE2B c96317849d020c9c41cb4a22bf0304c5cc742b318ad461e9b53ee19ae9c8c827afb54c001a85c28fd597928eb04eb23bd46e9ff845a6c1d752dc3d71c0303e5c SHA512 34ad0c9bb4b86a42fa9a52222e030596bc0488674bebaf31202bb75729eb74e3cc19ca92158f23f5996886f54ef2f78753f490017790fecafd693e429e391a71 EBUILD gcc-8.5.0-r1.ebuild 498 BLAKE2B e24f62fdb50bf2e9957cbb85c72adc96d369938a7f552735772de964f7023b8b34bd11e7e544d268cc308e25272084a728bd061f37c568d42ea65d55bb2a2e93 SHA512 f35b353e9f54eb3e1c6f8e0ea262458b41da9bddb993793aff79f765c4d93811744979d34e50c6470a9b2cfb63b7006bd284d819b7a98e56a8b3a34ae570ae76 EBUILD gcc-9.5.0.ebuild 1206 BLAKE2B 262931215488db54cab2141549f997a48e22d0a917917eb670d41d5b155c7685e92eb1bc3843d2eca47dd15a450199aea5d99777d2870ff09b1a79ac8a63bcb0 SHA512 3737a70e70e53a581280ff1449d7d92bb9ffba0919b618ea43d4747e09b2803795a05c07c0e3a2ec8982f8d5594be58f9ac549d329b18dc236ad5159e4a47132 MISC metadata.xml 5028 BLAKE2B ec00e09a2015bbb5a54040bee9d6f06aa8f29a99541cf6719aa249c9e93c3db480b351ff72e164120c7df12acd24db46fedb5de4d88f609113d094d8f2fb6ea2 SHA512 0cb15afedcf93b40a0cb2194ffefee439820dba5fd779aa7eec00448943184e0f436305645d5f04c54935587004f1ac82dba76cc9aecd16f2043ccde7e20b343 diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240128.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240128.ebuild new file mode 100644 index 000000000000..6951477ea99e --- /dev/null +++ b/sys-devel/gcc/gcc-14.0.1_pre20240128.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="17" +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 +} |