diff options
author | Sam James <sam@gentoo.org> | 2024-06-09 06:27:21 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-09 06:27:41 +0100 |
commit | 9f31c13fd9ad9e87a32d18e382a1ff907af29436 (patch) | |
tree | b97d9f1ffb9a50d3a42135edf1677914f3c39817 | |
parent | media-libs/liboggz: EAPI 6 -> 8 (diff) | |
download | gentoo-9f31c13fd9ad9e87a32d18e382a1ff907af29436.tar.gz gentoo-9f31c13fd9ad9e87a32d18e382a1ff907af29436.tar.bz2 gentoo-9f31c13fd9ad9e87a32d18e382a1ff907af29436.zip |
sys-devel/gcc: add 14.1.1_p20240608
I plan to keyword this shortly for the linked bug.
Bug: https://bugs.gentoo.org/933423
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-14.1.1_p20240608.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index a013d838bc60..fea1328833ca 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -31,8 +31,10 @@ DIST gcc-13.3.0.tar.xz 87909952 BLAKE2B 0f3728b026bd8aab0e469dda54facf157a4b753d DIST gcc-14-20240518.tar.xz 87946040 BLAKE2B 83e567d680b1463cc672fb461aa180cf46555911f0e91a3fb89b11fe8b81d12d64b3a3419953849cf2deb38f1cdf0defc05169c145964f74c1105d942b5519f9 SHA512 73dae806add90e8b3cdfe1c56754ae886f6f6150ef4ef217664b48507ff19d20933648bb6a19ab62756146e83e4df037ced30e4504d562966c40b3750475f28f DIST gcc-14-20240525.tar.xz 87961136 BLAKE2B 89898dfb5ce7e135f02e88e476df6aa48d7f809ac695328d51d1dc8deec89537c0da80d542a0063d718aad45f10fc192d2540caeb0ba8f6aa61a88410de47166 SHA512 ad4a3ada606df91836a145b9b78d96251760a42ff6c879a558a16889f708aca3626dfbb2abbaff3c87107ea17a088a216dbe139399bd766ba8bb0b9231285f1c DIST gcc-14-20240601.tar.xz 87970588 BLAKE2B bd2ac4252b1fc7173bad17116249f66559a894888b844e41e3502cb370a3571ae5736e1a733d291656e16e753f80d77fc4c7377882eaea24035e63712f2609ce SHA512 ac8db89eef701f54b57581808833817d4c27e07e23a80d83f5a597003ae34297d22c7da807ea68985ae79f487b91f1fbc8d43b0e70864da2c0df8a8ceb800e52 +DIST gcc-14-20240608.tar.xz 87975596 BLAKE2B 0c86e6c5d1153151e64d77c9cf44f14b668b4605bc516b38eaa0d559d0eaf4f3bf986cd8cd6006c6af0451fca847ee16f51dd99db36dd77a44f4ab3a66665679 SHA512 e666a3d720b34ed255018ac03823a1261935a742f6e6dbddb074961eb5e6b05d3dbd3e3fecf8f9883598e532d28c867d60803589f51baaaa9cd34220e1a40e65 DIST gcc-14.1.0-musl-patches-1.tar.xz 3600 BLAKE2B 4cd920b7ca1f122cae806707564d8e45bfd48e78c88788a12a301f6068b5a5f335d8885e67479ac536c66aeaa81f2ecb7240ae56e9fc821a7246ab66b453711f SHA512 61c48d90a55dfc2129d96aee69d939d6a89f6407f69f7bd12c1a619f28989f471fd219d731958f8e62b0fd650c32300f0ad8dc06d5df23d9fc8c1a77fe210c25 DIST gcc-14.1.0-patches-1.tar.xz 11584 BLAKE2B d483f4e3324acdc26b9837028d5e20ad0cdcf3ef4bcc78a6902d63ceebc7e5ff70c8163f6a8c8e36405df47c59dd2df506147c53ce51a8ec73494e65b5902647 SHA512 3d7aea113b594d1896c93e9e6be85f467488fa75de2800ed76eab2f87cef26829b235d1f361b187e38cf13b0fb9518cd4431c3106ec1e49d0f744e7eb703eaa0 +DIST gcc-14.1.0-patches-2.tar.xz 11400 BLAKE2B 8698d9521b193a03df20b68b70bc8d2dc083e246542d95e510b86f152a4d13818162985d4728d87f74be784870595a238d195f617427ec0905919cce0ed23476 SHA512 17e97aec43dea0c131fc6c829d05b7ab56d3164a7d79715f08f54cc2cff81747d1554ca2644edcc1cbd7db3d87dba6a1c2fb71896950bd9b54c4c5c10daa3e7f DIST gcc-15-20240519.tar.xz 88058724 BLAKE2B b9a9a93132fac8f827cd9f293fa09a4705084a420072da27161792a9c5f84a8fc9f28b15e878a5e7872579d4e89ae2e383b025d0529cf9e11c7f87454d61d62f SHA512 00eaf263d3eafb8b1ff101d703d9d82a770a79dd5484a6e69adb53889313ad300b65ac5159564950921985178546475cc26d760395ca68b4a6d4433ff26a6ffc DIST gcc-15-20240526.tar.xz 88091872 BLAKE2B 71bc733910cd334227ea0b78770bec9b4253b04ae7673c8f48e92c8c3322ecb2c4169b0d15df7a2f8fb222fed379c84fcec632d211e6aad815b56442ce28e9fb SHA512 65b948026bd558d5e2c70f76f62a4676bcd37d4d1201871f473d7f0ee32faa2614bd64f52090565c46e310032c743328f6182db97de874556c872f4ec0ff2ec2 DIST gcc-15-20240602.tar.xz 88177484 BLAKE2B e3998b5608e4d6d7fed79aa41ee8dafb7165da3203823dcddb79c2548b4356900153e2135e42794eeb7097f2888b5988b7fd451ae1436b2f41fa227f1c59745f SHA512 dc9479f4171daff51a2df55cf907efcdcf02d4d91bbb50a7e1e5c64232ebd640ab424558fe8c3df50e70421b336ca66b1b02e0b59d5e3d07a13e1c97cee7b696 diff --git a/sys-devel/gcc/gcc-14.1.1_p20240608.ebuild b/sys-devel/gcc/gcc-14.1.1_p20240608.ebuild new file mode 100644 index 000000000000..7c2bc0dc66b4 --- /dev/null +++ b/sys-devel/gcc/gcc-14.1.1_p20240608.ebuild @@ -0,0 +1,56 @@ +# 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.1.0" +PATCH_VER="2" +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 + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + # m68k doesnt build (ICE, bug 932733) + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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}" + BDEPEND="amd64? ( >=${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 "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} |