diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-02 05:41:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-02 05:41:39 +0000 |
commit | a4036575de835600b3085b97974d0766ef7c7bc2 (patch) | |
tree | 545e8444bbb80f76c5faf48f8fef3719b931fd44 /sys-devel/gcc | |
parent | 1331637681273dc8391d7a7caa6175405dceb735 (diff) |
gentoo auto-resync : 02:03:2024 - 05:41:39
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-11.4.1_p20240229.ebuild | 64 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.3.1_p20240301.ebuild | 64 |
3 files changed, 132 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index e5e076621f4a..b476d20b0aa1 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -8,6 +8,7 @@ DIST gcc-11-20231214.tar.xz 76228348 BLAKE2B fded6ed91e9376d23652490f6b36cf847d1 DIST gcc-11-20240111.tar.xz 76240620 BLAKE2B dcf3b2493ca6ba1a9cd0137186cfbf1b96296ff9c5625e40ec7b89e5903b07dc151b61ad54b885fc57ccc02214e2cfa7b9249cbd755ac2554c6ca0008f0704d8 SHA512 aaed094cb6dd99166e0ec59886014108574ddab52701581f0f8e7f0abb966320d01f1bce6ff646170618ca7c2819d20523a23615f20114dbe412de43b937caf4 DIST gcc-11-20240208.tar.xz 76276224 BLAKE2B efce83c3ea03093546b73d7731ac1051da7a2b0309612ce5b809ae2756bf7a949c94f951f6a77e789f7669051315e1a4e4c33f2b12a2ec1999ee9f1f39f6b13f SHA512 a0e2b4402ff187d0804e3bc2ed0a228cfce48476c1270d57798b060899f65c7e986945651d36c358f9df5eb4b36db13321e141895329b7382c130a0aca6a8962 DIST gcc-11-20240222.tar.xz 76255148 BLAKE2B 9a406e85ccdb9447b4672841d84cb248618d75c996ed08441449713861b99be2812d79dc76db18f735efd795b7039c58e554cecb02b76ce95b4272fa856ad7f5 SHA512 6c1370221e1969060dbe3ea03357c238cc7c84500e3b71b6a6c1f47e77bc3708e46210e99e0d5482674b412e1bdcb2feab5021137ac1af286f47e51d841153ef +DIST gcc-11-20240229.tar.xz 76261680 BLAKE2B 70e99abc40fe7903570dfabc3146be207c622a1d5f9df5504e29dc0aaf367136dd8e3a29a539142382baa89da0208f23f3adad69b2f6b0ebf3de5f7caad459eb SHA512 01f93bdb18f3011be7cf24e00aa96e977c7e19b3ec6b6db7d481ecac090b4ccc08a424374a5a5672b5b693bbf76816d9c6b4e5b42ff1806e0233007da89e3fad DIST gcc-11.4.0-musl-patches-2.tar.xz 4308 BLAKE2B a2335e155fc57816fed822a648e0eaefafcba9d04e1ad0fd7baeea5a694ab6f5e3c1678cb406f2a1bd17bab25cb01699d032713a1ccf337948dfda2093844607 SHA512 17b84f907cb1bd763873655e6f35fd3ed55a40b602b70a626f04f83b4cc89c6261db1661de78d4d969187a8c56e9f6305b742515a3836b962248a21df0df5d0c DIST gcc-11.4.0-patches-10.tar.xz 13852 BLAKE2B 54937d13e30e2a5303c7e197fae09eeed35ca0b9783625e02578fcee829b5503fb22d664366322b304df7d01ae807d00af7c93db3e3ceebe4851e15647724f87 SHA512 31b4d7a2e7cc589e92e12c3583d13d41c523cafbd309bc0532df9b68ea2473c89daef4c0edd3ce2917b5823d81a7792f145b9449f16277d0d64c22ceff50bbb9 DIST gcc-11.4.0-patches-12.tar.xz 13824 BLAKE2B e4df9e0dc9512882022aaf325ebf65c540169454c91dd31f913c6f57f6eb291c79ae919671b53db1549799d4a70c09298bf45ed82ad05eb1f961443cc958369d SHA512 87fed0c3f8e28c9f702443db58350bb615110b27ebe334b5de2ea60678e2548c56cd75cffade210d69634e2ac0a9311f5100ddb45d97645aa76d5688bc421a61 @@ -16,6 +17,7 @@ DIST gcc-12-20231215.tar.xz 79804016 BLAKE2B 547def0a166db31d8654a8b85ec1320f0df DIST gcc-12-20240112.tar.xz 79832228 BLAKE2B deec7123b8ffc42ddace51e1f3e8e08d5485f7000c0d4b7273b6311912ec0e7e2cb41124297af8c54456bb369a76fa2ef51aff552d8d680ec41dd2b144b08e55 SHA512 2c0a676ad35e6edee915c042a1751ac0263fae9b7af4d324deb49d6603dc73d3ec768832184879543e6ffb1595da5c56d9117288547adab7f243646dcbfc64ac DIST gcc-12-20240209.tar.xz 79824868 BLAKE2B 1ae5a646da470f06648c4766c77475ceb287c5f6647d5102f1aef6590f973233d5e7f83b5e0241488d49dba59dd605c211938379e68a393a2dccb3834103ae4b SHA512 9f9a04f4477f41bb2a5662aedef2af75b039de50c2dc99310e504e6080cb7aae06a1255337ea2e563975cb108ddc6766adbbaf4e3d5d5712801d7ba9a5209dbd DIST gcc-12-20240223.tar.xz 79826600 BLAKE2B 408f3193c1254f3155b1bc679861fa4c994b94090cace14532a6e753ae217be9990919c5a9b2763b294b1ebbaf95876055c841e854132773cc6cb81454d0caec SHA512 e9c23cb4a5101e556123fd621fd849f961e11871fcbfbb9dd898de66a932be9b891030d327231327946300beb0e0c3abe58f8f1c72158c910785e8ecb2f687c0 +DIST gcc-12-20240301.tar.xz 79812760 BLAKE2B af6fe0a9432bf6f4e8bcc1f06a66632abfde9925ef6eec2fd092214f75383d68d3a7fbaf0e9195e602aa5e3d994b8e5005362ef7229121fb7f3ace902e53188f SHA512 4ecaff01a6c3806b14f4361881fe9c5a7bab32d258d46e5f8d5b577aebd910b2cf152915d5e832d3496a1f82644f01530ba3ee9f0ff2ee2b1b358911ae90935f DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B c7bf65f7c9ea8023ddaac821ee2b778622fa310ac72a72b2f7032494a8f304eac86217f9204622e6c21aaef9952bece0d09bc126facd4f42b602927909815ab5 SHA512 babc279fea2c1fd4c018815f2f5630214fd46015ce9f365c28af242681d51818eaca30ce298eddcab1eed5ac5f2759e2b47b2335afab9d722b4469a6d4fec326 DIST gcc-12.3.0-patches-2.tar.xz 14236 BLAKE2B 06c43662c9abb0fa3cf90d5e2273c69aecb9158e6cf6f23c04754ed5d686be2616e81e2502eb16f4298ddd50518ca7677e13249da9e9b091162d3931ff65e4fe SHA512 b0d4b85dbf1a54aaaa1997203b872e3106906b4ad49cde57e1428bc22b2f8e2d73b8cb10ae0d0b792aebaf664594da4d1dea04c44ddc34e59047410766db04d1 DIST gcc-12.3.0-patches-3.tar.xz 14852 BLAKE2B 7a5f1f43063b15f424099afd72096212fbbbc5151ff01f2de15dfb6e7cf274981c8cfaedba9ef61576c9096fb172fc550a7deb5cd7d9366fd249fd5dd3951f76 SHA512 aa89e4c2ae02f4fb42229ad5167f2eaa3a8fae51118645bf07199fe2124b9c83948590662b053d08002ef709fa870ea88315fd4ccbe4441a74e9cb62edcb82fb @@ -43,12 +45,14 @@ EBUILD gcc-11.4.1_p20231214.ebuild 1614 BLAKE2B 034251f9a0ccff2432eeec6f8ad98fbf EBUILD gcc-11.4.1_p20240111.ebuild 1606 BLAKE2B 1a8d5043d64ed6bf5bbd28c89d24e491e1123478004a9b575f9a1fd3e8d202ed98a8117e16ddab1dc1912c359d3a581cb8fe2437498cc9dc854ee659245bd47d SHA512 c5021bfb67312c7d2a76fee386e48ecb0b32297306b2599f784f9927032bed34d48dcad1a02f79b373ca5e5368811de82e9d6148dee72629eab7cc55071f7dae EBUILD gcc-11.4.1_p20240208.ebuild 1614 BLAKE2B 5cc63ba5c3d0cefe684c3df6c32f1dfe60c4d6a4fd5373d9cf690d0f3b18908387d6c0ea2d2df98e33bcd60518b8a46526f34aa4fa0af62147451964e17f490c SHA512 09d671f5f73b9c3556489df76b99ef636079519bbdc8d368790426618ac9dbaa1ffbb9a7411b8af78106d0c7ec6c44d1cbfcb35c66eb6285c7f72957e85d2baa EBUILD gcc-11.4.1_p20240222.ebuild 1615 BLAKE2B 9c08652463d428b830606ce44b42462968a10d6ef99d048018317345f6de7847a8648da53131ddf3fd21c2b9ee9753b067d602c099600c97c495bf566b024d10 SHA512 39ba5cba6e5a28d4ede775a7d2d48487fb2299f31d7879ba95c3655adc7faf346b9f3ac59e3c4234f1f302eda1820f14186ca4fbe2731513b0d3cafe184069ce +EBUILD gcc-11.4.1_p20240229.ebuild 1615 BLAKE2B 9c08652463d428b830606ce44b42462968a10d6ef99d048018317345f6de7847a8648da53131ddf3fd21c2b9ee9753b067d602c099600c97c495bf566b024d10 SHA512 39ba5cba6e5a28d4ede775a7d2d48487fb2299f31d7879ba95c3655adc7faf346b9f3ac59e3c4234f1f302eda1820f14186ca4fbe2731513b0d3cafe184069ce EBUILD gcc-11.5.9999.ebuild 1582 BLAKE2B a5b94704a65afc32a3079ad0732b544c03413a9f4965ccf1c2718fd763dc29b7a64e54b8cbb492d52e93527e3f0d4966d17eb6b6cb81fd609c6629d19f6b124d SHA512 bd165193f6ef2b12930bac05c8c3f75f6bafd143a13ed5c2960f7a1d8039608ca23ccbffe9a6b235d42c789d117e29cb3d47998c71a4a3eba30a63b8b9e0f116 EBUILD gcc-12.3.1_p20230825.ebuild 1613 BLAKE2B d0c6b99a1c529b7a518fc86b5d03c279dba37d111b0a356e416b8601f066cec460761ed14d0a4ef5faa6f16fb9af29baaf9bcb17edd55f5604d9bf012c579fd3 SHA512 b23bffb263e68b7f5045bfdf79538cb1e1abf4a4d789db7b915d586f10ebecf74a9d59715c8db5c2dd57545e559bdf72bec39a76ba50ddb13efc9db66982d56e EBUILD gcc-12.3.1_p20231215.ebuild 1620 BLAKE2B 3866983ddc8c6811e00c12af0051e80bfc7f0651a5ef6ca4af9ee651e2efea89a095a616908cccdbac88d8c1baa5ba2eaba7ce7e94f9aae6ff3a56ff52bcd0c2 SHA512 81a426e6392a42d3a28eb6aa5a2de535771fdb87224eafb60ea369c902f27a42c8265565b354d4bbac8daa968849a20370c529c62c9367f0cf58756124d08e0b EBUILD gcc-12.3.1_p20240112.ebuild 1613 BLAKE2B a7eae7955356078a07cd746200fa16b31a65fe1280866dbdf9bd6951e1bcc59b46936e10346747b53c99436e06f6b7e091cf84f522708ec1b019331de47f9a76 SHA512 833a09467f4413497f9087d4dcf10a5ab9219fd15810957f073689c183e7d4002c6eacfd898715600e16c503a75ce3962ebbde7d03c3f56b8990a62c97cd37c5 EBUILD gcc-12.3.1_p20240209.ebuild 1620 BLAKE2B 4b20ba87c4aae38e633b1fa53b5ba7ccbe763a407df04b958cbb1820876490005d933675d47ca9fc8446a2195008743ec1893db894b5844efccdaeeaf7319dd2 SHA512 cdb6db415c6c2b8295c910fccbf4aede135a821c0018c092708862fb48bc8d6b336baefb7268e9886c5cd7f40240cd78ad57a4a7664bc240090f38f0b53c15d1 EBUILD gcc-12.3.1_p20240223.ebuild 1621 BLAKE2B 98c5e6b4366c8c065345352af78a3a809fec235f344d0b6bc12e7c5bc4461f14150e60c1e2d0758e2b7ba3dc04481f0275d0949d55adabe6aae27375ef76333d SHA512 499825c6662fda18cecf1bbdc03941f42193552742dc8b3a55d518355c6e22702d577b8a1af87523a06afda54b19e36288c70ffd66a2acdfd1812123dfe74b0a +EBUILD gcc-12.3.1_p20240301.ebuild 1621 BLAKE2B 98c5e6b4366c8c065345352af78a3a809fec235f344d0b6bc12e7c5bc4461f14150e60c1e2d0758e2b7ba3dc04481f0275d0949d55adabe6aae27375ef76333d SHA512 499825c6662fda18cecf1bbdc03941f42193552742dc8b3a55d518355c6e22702d577b8a1af87523a06afda54b19e36288c70ffd66a2acdfd1812123dfe74b0a EBUILD gcc-12.4.9999.ebuild 1589 BLAKE2B 8de913409a3303b99e08e719751855382983fc3208de45a45e9f42d334c3f5b2b387b910791af804cae0c646c139d735235802bad96b4b84fe54f3cafd46cfec SHA512 fc445103363a11b7628e3f46ad8dc4b4c8e1f942dfd25078b41638779f7e4580fb9acff78812fb1039e5410e6dbdbaeea71b99f2d52ce3c4f04ec30dbf72ef7c EBUILD gcc-13.2.1_p20230826.ebuild 1613 BLAKE2B 3c5033b0f6cb8b38e00efbf7269084f173cbefab9406c40f5f6d6166154c112ef4251511c6a1210ef3ee0aeeb3da8f43339b3468610b0ce4c3f017cbf6f73a9e SHA512 89d4109992114455785562e42f6d2616160aa5578a809b9e2fe3cfb916d31da59266fddd9dadaaf948e61b4f0fa89a561939424d17f565f69bcc09a08d18a546 EBUILD gcc-13.2.1_p20231216.ebuild 1621 BLAKE2B 9f2d8e4a7e1ed4894720aa72b0014b58918adc8c9ae17c7c9bdbfa205de58f61ceecea8e73dd63fd27e8e44a7a7f32b2cf31f896944eff6e15723aaec004b096 SHA512 f2ad0a6345a22ecee844dfa8e39c7eceaff56466c519713e12b542afe7f3a169aff2da922266977c39f88c8866b8fa57b1431f2f3b95579e0c4dba99c567cd01 diff --git a/sys-devel/gcc/gcc-11.4.1_p20240229.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240229.ebuild new file mode 100644 index 000000000000..da9833f43952 --- /dev/null +++ b/sys-devel/gcc/gcc-11.4.1_p20240229.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="11.4.0" +PATCH_VER="12" +MUSL_VER="2" +MUSL_GCC_VER="11.4.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=releases/gcc-$(ver_cut 1) +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 +} diff --git a/sys-devel/gcc/gcc-12.3.1_p20240301.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240301.ebuild new file mode 100644 index 000000000000..6a9137e1c84d --- /dev/null +++ b/sys-devel/gcc/gcc-12.3.1_p20240301.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="12.3.0" +PATCH_VER="3" +MUSL_VER="1" +MUSL_GCC_VER="12.3.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=releases/gcc-$(ver_cut 1) +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 +} |