diff options
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 6 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20240428.ebuild | 53 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.9999.ebuild | 4 |
3 files changed, 60 insertions, 3 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index b7a985f40248..a316acadc625 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -23,6 +23,9 @@ DIST gcc-14-20240421.tar.xz 87982608 BLAKE2B e977ee966d7256e996064d0cb3a01ccbece DIST gcc-14-20240427.tar.xz 88008160 BLAKE2B 025474f2d325ee98b099e097086637983140f75df94d66e545b21a6f251760ab11b24dcd71ccc148fa23b7117d85efa2631356166e9e014eed0e35f0b0b84ee7 SHA512 91830661070619e185d77afc039b39adc70dfc630d3a95c71d2be15a7d93618200cee80922cce430cb5acd0109a72f8754e8ae85f5b668e40211d4a6339d1f54 DIST gcc-14.0.0-musl-patches-1.tar.xz 3576 BLAKE2B 692baee8a7709905d53aeb150d73a3721c4ba47ee5f397cfb1b5be905cf003ca02b60c94ee294d90ac39645cd5cdf186c7a3aa950c47d8cf680c128ed705b807 SHA512 0592ab98a7142e404623a6511c67dff61e9ade32c3fb2c0e75b456306e0af3799ad13252b50b3d2fdd31e5815d7f0b16b0ad63ab8386fe4d78729fc9c182d617 DIST gcc-14.0.0-patches-26.tar.xz 12360 BLAKE2B a2fdd6ff1774bc94f96bc4f7da4092c373936c93e04b94e75701227ab55d530523fee6b561773d05080e51748cc7716868d8b108f51a06e37a2c26a1d7f39b33 SHA512 1275e6345417ee196e74c46845d05508c8662d71e2432fbfbf7f1eb9c220657b4ee8e3b0ca02b7b4c7e14df164f254380c65af91cadc3bda4cd7afbe6af5ea8b +DIST gcc-15-20240428.tar.xz 87999896 BLAKE2B 83e53e5a93166c741bd61f1642539823f9eef5859f89c85493cfe0be412251950c07b3704e8a983c61e00fd4b0e0027f7333867f9b4245ba45d6f606ce56953d SHA512 69aedb59fd4d9ec59b7a71098bcf330ec0515e7a51e7510d237e086e7c042526aaa52a702783b6121ee7c9133345c8234d5d2fcd89459d7ae8a1a1e09c42cce8 +DIST gcc-15.0.0-musl-patches-1.tar.xz 3596 BLAKE2B 48fddc723ec8282cc2704c795a50fb37a46738a555151e0430180dda61d039fe96b29a6c3e8a543386d69690302bf46dfc89aad572082b7e47c928c0ccefdeb0 SHA512 e43284d02e25b77b911ce90d57520897751e86c631bdd6beb7d2e4429000156801b8c11bd9a737ec11bc966812f13ae44b88c1893645f8e6c6f8dfddc636ec39 +DIST gcc-15.0.0-patches-1.tar.xz 11588 BLAKE2B 0623914dcf3ee0d44c729776cebbecfe92b256039a48c91e3fc16a27254a9c40436a1b6ea7fa9285914b153af861ea98ab845515169af204eeea0243c890a652 SHA512 7d3bcb1adcfa79c1672737125539fc0583f9c74eb8da0301ea0e441c68afeb7e1dbcbdffbf18e03b2515b4f23822a39e339298cf88ea94b93f5fc22b497cd545 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 @@ -43,7 +46,8 @@ EBUILD gcc-13.3.9999.ebuild 1635 BLAKE2B dd8eb497c0352febec3886808c4837e880b858e EBUILD gcc-14.0.1_pre20240421.ebuild 1701 BLAKE2B 2d766ac2a880ac88b323e78b7c15d1758509b2180908742742913a26d583b110204193188f23eee483d5ccba736e4ad26c51f668366df3678a92a887bd37d82c SHA512 836d8a4658144abc598d65271e97b38f94a9a8882f39e3400a319c66b1e82c07bf1171a52bd9f8c2869f80b4327976e00f35354e5387518bda419023c4d2ca21 EBUILD gcc-14.0.1_pre20240427.ebuild 1701 BLAKE2B 2d766ac2a880ac88b323e78b7c15d1758509b2180908742742913a26d583b110204193188f23eee483d5ccba736e4ad26c51f668366df3678a92a887bd37d82c SHA512 836d8a4658144abc598d65271e97b38f94a9a8882f39e3400a319c66b1e82c07bf1171a52bd9f8c2869f80b4327976e00f35354e5387518bda419023c4d2ca21 EBUILD gcc-14.0.9999.ebuild 1394 BLAKE2B 04a968c90bce4d339e8733240f491d7ca8a1a13bf927440e502727de157073de7645e430978a7d01c70475fd4a048dbe7f4c05ca6429352589ef156f77104fe8 SHA512 065f34f3bbe67f60f89b360ead2e2384080280d3d6e2670a1a081c39d0ba67e7971b237085efb88117954de7bc5d6ce863a9cefc781473000d2eb92eb1629623 -EBUILD gcc-15.0.9999.ebuild 1375 BLAKE2B c18dbe2a75c84b2b7a4fa8653bef81b7dfa69feefcb01964d98da9e6d58352019d77e2640c1ae8e4f5f807f02459d983b329a510e6fe02da0a0895f4b5bb1966 SHA512 56dfc62e5874d1b991e4d58963eb04c4cf70f11935ca72e20fccdd19b2a09c870096fc08226f79294e71abde91d8d529139a4f003d797b4271baecc418fa5232 +EBUILD gcc-15.0.0_pre20240428.ebuild 1402 BLAKE2B a2dc6549ecd166026cefa55e320a1395c507ca41eab465f534ac1be0d299ea3dc2ab256424622a5f4b36ac589554b6c5bbb2869f1b0a769d780b00fee854b36d SHA512 dac996758ef871310c21f88d67990c22ef25bd3c5f668941e67348492e35dad5b5ef5f69affa8dd73a76bfa6e33494d35115c37d74df92f68f1cea83371471e9 +EBUILD gcc-15.0.9999.ebuild 1375 BLAKE2B e7d060512e343b8e69a0d78de4fe8165f7f79ac3e45e98179d855554bc42ca3a483c6fa7412a215f01f7f2e7b6c17184290465064b2afff2af8b939d2fe7c13c SHA512 e59fb8dce92b241348d67291992c9a549c09768120e4d833413ab68d25fff31e25af9a48ac2d16256e5e674a8973e33a2f5eaf43144e33f79d5bf707c6d13ab4 EBUILD gcc-8.5.0-r1.ebuild 533 BLAKE2B 70a6e6b0b3069eef47e44de127b26b140abfb3a7aab57db3c27c9b30743be20962eeab91654259824c9a3808e30c6dbb48bac4ac3ae18525ce9c4b71eecb03be SHA512 8853dafa3f3e1e5371edddd277f1b2c9f47824fc1fee6a4836ffc8ff9f8bc3dbd126747d62017eef171232db190816b4a8b796d517d3f5ec8bc718f680c7d0ca EBUILD gcc-9.5.0.ebuild 1241 BLAKE2B 856375d942a3e927e1449c2b1d0abcbea0a0a5ef5aca203d914747b0bf1fa54de965e219d8722b635bf844cfbdbc8edd2c0f6ab6bcefceb473a4f629420f476a SHA512 d9d6ab8119dd21a43e98481882f7dd4a58f250ab9296b6d592bae86c825a253b7047ce4b067a53de8ed81254be8e2352fabb167eab656b51bba8f666e247f0f1 MISC metadata.xml 5408 BLAKE2B 14aa1cd76e0e7b0f9ac5600f34343287f3af14e7e9ca366f9c65d85dd726597b183705aaf174a6c3d3ccb87ca4792dba5f6bd6f2de439d66f8c4c689cba74933 SHA512 c58beaad2236523b0de58336c4c9c7cf74e8bf042d673d2481ef98bd3b4eb51f867e885b9eb78388625e2dd65bc627e2bf0ebd218605d088911fb4846ab3c558 diff --git a/sys-devel/gcc/gcc-15.0.0_pre20240428.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20240428.ebuild new file mode 100644 index 000000000000..0b395d4587be --- /dev/null +++ b/sys-devel/gcc/gcc-15.0.0_pre20240428.ebuild @@ -0,0 +1,53 @@ +# 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="15.0.0" +PATCH_VER="1" +MUSL_VER="1" +MUSL_GCC_VER="15.0.0" +PYTHON_COMPAT=( python3_{10..11} ) + +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 ~ia64 ~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}" + 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_user +} diff --git a/sys-devel/gcc/gcc-15.0.9999.ebuild b/sys-devel/gcc/gcc-15.0.9999.ebuild index 73d93bfe4250..ed37e9295f6d 100644 --- a/sys-devel/gcc/gcc-15.0.9999.ebuild +++ b/sys-devel/gcc/gcc-15.0.9999.ebuild @@ -4,8 +4,8 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" -PATCH_GCC_VER="14.0.0" -MUSL_GCC_VER="14.0.0" +PATCH_GCC_VER="15.0.0" +MUSL_GCC_VER="15.0.0" PYTHON_COMPAT=( python3_{10..11} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then |