From adc09cc4e6ebf7931735c02c0c272b4b885c2b30 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Jun 2024 00:08:11 +0100 Subject: gentoo auto-resync : 08:06:2024 - 00:08:11 --- sys-devel/gcc/Manifest | 4 ++ sys-devel/gcc/gcc-11.4.1_p20240605.ebuild | 65 +++++++++++++++++++++++++++++++ sys-devel/gcc/gcc-12.3.1_p20240606.ebuild | 65 +++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+) create mode 100644 sys-devel/gcc/gcc-11.4.1_p20240605.ebuild create mode 100644 sys-devel/gcc/gcc-12.3.1_p20240606.ebuild (limited to 'sys-devel/gcc') diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 079d38d1d064..66475b9f15b9 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -8,6 +8,7 @@ DIST gcc-11-20240501.tar.xz 76267628 BLAKE2B 31674f1fbaacac3bc8d4f0553b42569128c DIST gcc-11-20240515.tar.xz 76271444 BLAKE2B cf7844a31f74ba64240afcab3b4a38aa7e57bc7844b4c9a8f37b0aed59807346e53bd387c0111eba5cc0e461d7afdd89532cf682a43e5984be7dae3ec0df70cd SHA512 e74b029cc62f7d9a59b9fe3cb18ab8f17dd583aee786ca7f264dab3a98992b6d3e6a194ebd8b58e0bac960142ce76e5317990695fda8b08629fed82864d8964b DIST gcc-11-20240522.tar.xz 76266872 BLAKE2B d01569464aabcc7f5cc365bba5176c14d6f406ae69649903b214294d54fc640ebd9073b53796a29399574d0a245ae3dc830346c6c00f36394a63a02fba368de2 SHA512 d9f9277874bf9f40b584a66205c4a58464cbd5bf2884892a0fc057392a3fba6f8b1aa37a23f639d595728b21b3f46a3a5939e72ab75314a23bed7fc2c143a328 DIST gcc-11-20240529.tar.xz 76268860 BLAKE2B 351b4df815d19e918932c45688ffae5ef5d921bcee9d6fcf53a8bb495194618a1597585e543093a4107e4616edf16d6e241e478f67c02f9933ffce201641576e SHA512 8d5d120f545de2a56883b50441dfe49211b90c26d87986af1afd4f60970c00dfdd645f65f9b69a01f014c227fa1c2cd4b3ac46157d236e6917aaacd477d4ec7c +DIST gcc-11-20240605.tar.xz 76281596 BLAKE2B f102df5a47a76ab6e3d8a8ca7605aa7fc0cb19f00423473bd63f6f9f916b282c9e1d5b7c7ea821543e92a230b305b02e4bc61b4d1bdef652f0bbf8229735a248 SHA512 e493287c07775c7d70611b264760a05025a30df2069fa369303851b49bd0cccebf0cfd5e08651251935fbc241a36be12c9a924524e23aa01519992eab67b6d28 DIST gcc-11.4.0-musl-patches-2.tar.xz 4308 BLAKE2B a2335e155fc57816fed822a648e0eaefafcba9d04e1ad0fd7baeea5a694ab6f5e3c1678cb406f2a1bd17bab25cb01699d032713a1ccf337948dfda2093844607 SHA512 17b84f907cb1bd763873655e6f35fd3ed55a40b602b70a626f04f83b4cc89c6261db1661de78d4d969187a8c56e9f6305b742515a3836b962248a21df0df5d0c DIST gcc-11.4.0-patches-12.tar.xz 13824 BLAKE2B e4df9e0dc9512882022aaf325ebf65c540169454c91dd31f913c6f57f6eb291c79ae919671b53db1549799d4a70c09298bf45ed82ad05eb1f961443cc958369d SHA512 87fed0c3f8e28c9f702443db58350bb615110b27ebe334b5de2ea60678e2548c56cd75cffade210d69634e2ac0a9311f5100ddb45d97645aa76d5688bc421a61 DIST gcc-12-20240209.tar.xz 79824868 BLAKE2B 1ae5a646da470f06648c4766c77475ceb287c5f6647d5102f1aef6590f973233d5e7f83b5e0241488d49dba59dd605c211938379e68a393a2dccb3834103ae4b SHA512 9f9a04f4477f41bb2a5662aedef2af75b039de50c2dc99310e504e6080cb7aae06a1255337ea2e563975cb108ddc6766adbbaf4e3d5d5712801d7ba9a5209dbd @@ -15,6 +16,7 @@ DIST gcc-12-20240502.tar.xz 79851984 BLAKE2B e3ed4f4fb20ce2ed421fadd40dfd1c68317 DIST gcc-12-20240516.tar.xz 79851552 BLAKE2B 0ae06aa8b15be704863648bd2dffd183e5c231f1d760751e28d3aa3bfe2b18443fc7af5e176becc3d4d4c9831ce3a99e3094dcb9312bd22cb888ecbf16e135c3 SHA512 7cc60cb6f6449ac06ac0da271418506a6c05bf874fa460e471b4c3b3fc2d2a978a5340024cc82df886f5b7e31e4ff2322cba313ff922638ed9259a722725c3a8 DIST gcc-12-20240523.tar.xz 79858692 BLAKE2B fbe5ff714252f9905610ddf48896059c2c2b7e2b672a00e5cd24e6830d304a9889615d756c42be7fe5383f3e680174e3c0db7be759bbaca9c770f7c66c8f1923 SHA512 8d079cca2ab597eb3190e4b921890d92d652fee7cec69b3aae64d388e753e0b8b4e15492c5ed59a9be1f38451029e5b52567ecb2370ac2f39257dd42b25bf637 DIST gcc-12-20240530.tar.xz 79864712 BLAKE2B 766af7d9cb4a7db80b246d36097914193cb774766e38b182a2dee9ea5fa54cccc1962b272c374ce050b34ebeee52e1e1259f4880d5ee9f534c9c78e93376f358 SHA512 dbcfbe933b78b65605d28d959dc7557590823e1d3739bd4ff6cdf3d6e89b42d46ccb062270ebefc627272baf021f11a79587e981bcf64931323219a37afcb78c +DIST gcc-12-20240606.tar.xz 79866660 BLAKE2B 4b9e4564ea3a1b5fea4171803fdf9601fd0b5e1e8c20b1ceb41b1355911e3518b49254f561dee3db5f946ff589a132908f945e0f6133a9030e9849d15e3b57de SHA512 a9354ab4c85057ab627d8b04cd9d918fc744bf84916a55e53a2031ca7942c5fd02aeaa448777b6b14c6f511e8b3c154d78f3a6d34149846c1b18ed5d47add4d5 DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B c7bf65f7c9ea8023ddaac821ee2b778622fa310ac72a72b2f7032494a8f304eac86217f9204622e6c21aaef9952bece0d09bc126facd4f42b602927909815ab5 SHA512 babc279fea2c1fd4c018815f2f5630214fd46015ce9f365c28af242681d51818eaca30ce298eddcab1eed5ac5f2759e2b47b2335afab9d722b4469a6d4fec326 DIST gcc-12.3.0-patches-3.tar.xz 14852 BLAKE2B 7a5f1f43063b15f424099afd72096212fbbbc5151ff01f2de15dfb6e7cf274981c8cfaedba9ef61576c9096fb172fc550a7deb5cd7d9366fd249fd5dd3951f76 SHA512 aa89e4c2ae02f4fb42229ad5167f2eaa3a8fae51118645bf07199fe2124b9c83948590662b053d08002ef709fa870ea88315fd4ccbe4441a74e9cb62edcb82fb DIST gcc-13-20240210.tar.xz 84354416 BLAKE2B 5807623d3f7dd751b6dfe164cfd50d57b2f93485c23c3c2228a4a846a9a94cdad52a5e6f2806e5e7ee2a7b5526386ebdb339c44c7ea023d69f8652088a1b114d SHA512 14a01ced7ac2bfd9fc93de4e3819b4d0823fbe129d3f1faabeb707e9e3e2613b4173321b58b3648a7250e3b7ff5d94edfee60e6c38682f31a1f7b57b1c01433f @@ -47,12 +49,14 @@ EBUILD gcc-11.4.1_p20240501.ebuild 1660 BLAKE2B 3d2872f12a3494dfd78fab2fa7706000 EBUILD gcc-11.4.1_p20240515.ebuild 1661 BLAKE2B 664e31533717bd2d493b37406d33fb2440ece1851bcd65153b8667f4cb5d5929d951d06f588915da62fc004697922c59905c53c83370597a76b0a2fa50b158f0 SHA512 591dc70c783d3d829bbc972620e5f664cf9b262ba554738b08db34255528f13fd83cd3ca9e5e33a49fc69ba705538265cce579365b860de538e2cb82d3a4ccea EBUILD gcc-11.4.1_p20240522.ebuild 1661 BLAKE2B 664e31533717bd2d493b37406d33fb2440ece1851bcd65153b8667f4cb5d5929d951d06f588915da62fc004697922c59905c53c83370597a76b0a2fa50b158f0 SHA512 591dc70c783d3d829bbc972620e5f664cf9b262ba554738b08db34255528f13fd83cd3ca9e5e33a49fc69ba705538265cce579365b860de538e2cb82d3a4ccea EBUILD gcc-11.4.1_p20240529.ebuild 1661 BLAKE2B 664e31533717bd2d493b37406d33fb2440ece1851bcd65153b8667f4cb5d5929d951d06f588915da62fc004697922c59905c53c83370597a76b0a2fa50b158f0 SHA512 591dc70c783d3d829bbc972620e5f664cf9b262ba554738b08db34255528f13fd83cd3ca9e5e33a49fc69ba705538265cce579365b860de538e2cb82d3a4ccea +EBUILD gcc-11.4.1_p20240605.ebuild 1661 BLAKE2B 664e31533717bd2d493b37406d33fb2440ece1851bcd65153b8667f4cb5d5929d951d06f588915da62fc004697922c59905c53c83370597a76b0a2fa50b158f0 SHA512 591dc70c783d3d829bbc972620e5f664cf9b262ba554738b08db34255528f13fd83cd3ca9e5e33a49fc69ba705538265cce579365b860de538e2cb82d3a4ccea EBUILD gcc-11.5.9999.ebuild 1628 BLAKE2B 41e0f72bf9a572d576b6a5b53094af61e3053dffebbce05fe8cc92352735311256f9761573466388a81ac80f1a6d6131f7850c26941a6b19a82e8f4eb858957d SHA512 134baafc9ede870c490d089f668e37e4df052aa1af6e6651d2da484ce91141f6654548b9e74b1dde408acd01380cc3f6fa0a0f33e9616cc1ca2425032f1543c1 EBUILD gcc-12.3.1_p20240209.ebuild 1658 BLAKE2B 5e45b6a4d489f0719474fe44f6f4ce3a71a5c5127cef4bc7f7251909eefdc634260e2e4e2bde67ca679ac4d2d1c658406972d5ee557db1101404f925c0da3611 SHA512 9e8853c3ebcd411e53dd7879944c37419355b7ace602f35e1b74916e8dcfee6c4a9dd15438422f66305d3c481fcc7718a2cfb29e024edd0eb37e649e9fc6a217 EBUILD gcc-12.3.1_p20240502.ebuild 1666 BLAKE2B f01943920ce5eb15d825539492a60e2d9ed69358833a4c2f5717334c39152c4ca47db8b1b213e17e358031912c886b21c7c0c03688bdc8d77d37052b45c4bff9 SHA512 65c3d11a21a251a8dbc899f37af0aca361ae41486db40dd19db1588373f599f5a87933e8190d573d3fac523771a7e1910058c352e563f434603fc7b52e7dfd33 EBUILD gcc-12.3.1_p20240516.ebuild 1667 BLAKE2B feb14aa36ffdcc357862df79af07cf674ababd61b15a1085c8b924c5874ec771379b435572762a8a8582e80f9ac3b6087fc1ca734d3fb2b9aa1d1ca9a2660717 SHA512 b9209208815aee967f0d720f05cdd2674859c57ba73917033f11dd9f79dcf615e503ad0e68c65ab1a3d3f43f4514edb7724c64eea137cbb093c13a6b607b935d EBUILD gcc-12.3.1_p20240523.ebuild 1667 BLAKE2B feb14aa36ffdcc357862df79af07cf674ababd61b15a1085c8b924c5874ec771379b435572762a8a8582e80f9ac3b6087fc1ca734d3fb2b9aa1d1ca9a2660717 SHA512 b9209208815aee967f0d720f05cdd2674859c57ba73917033f11dd9f79dcf615e503ad0e68c65ab1a3d3f43f4514edb7724c64eea137cbb093c13a6b607b935d EBUILD gcc-12.3.1_p20240530.ebuild 1667 BLAKE2B feb14aa36ffdcc357862df79af07cf674ababd61b15a1085c8b924c5874ec771379b435572762a8a8582e80f9ac3b6087fc1ca734d3fb2b9aa1d1ca9a2660717 SHA512 b9209208815aee967f0d720f05cdd2674859c57ba73917033f11dd9f79dcf615e503ad0e68c65ab1a3d3f43f4514edb7724c64eea137cbb093c13a6b607b935d +EBUILD gcc-12.3.1_p20240606.ebuild 1667 BLAKE2B feb14aa36ffdcc357862df79af07cf674ababd61b15a1085c8b924c5874ec771379b435572762a8a8582e80f9ac3b6087fc1ca734d3fb2b9aa1d1ca9a2660717 SHA512 b9209208815aee967f0d720f05cdd2674859c57ba73917033f11dd9f79dcf615e503ad0e68c65ab1a3d3f43f4514edb7724c64eea137cbb093c13a6b607b935d EBUILD gcc-12.4.9999.ebuild 1635 BLAKE2B 3af833a998966e089c6db5df1e40733ddf2d181cdcd8f68b6df0fd7db70a3d4b65c1dd7c4edcecbdb97dda959bd7de2dd2fef6502a5ce563f20e525f767ac045 SHA512 59629d13518708f70844d7795bfeb7144d1562ce61d90b666acb41953bf56a368a16471795bce2b6d54a058b3919fcef58b0e60d4b0a89f5e954f9f6b26514e9 EBUILD gcc-13.2.1_p20240210.ebuild 1718 BLAKE2B 3955dddeac163ab623486dc29bb6442df10aa777385f18ab94db94153fe7d703fdff3a262e71f863d77833763221ba9141fa6fafcc62e33196d206dbf9c245b4 SHA512 e170a54a7c98222dfb420bf0b0eea192adcad207c982cb4a499ccdc55f19c05730673ed31b6d3ff7579a01761f4610a3f5f592e264f0ddcb7e3c3a0c6606284e EBUILD gcc-13.2.1_p20240503.ebuild 1726 BLAKE2B 381a6cd5d60a1e4ac9016198f69d1910ece06c90a42fae257076bb996a602e7abe0a22ce3a54ee44fa556ee2b8f2aa01c54d113ba2be7694b2e67356dedfb213 SHA512 cc5789f2c17046e15ea1063102db13b58be0f63460e2ed284983c487c7e131b05daf1d26a59d8f337409552b8622e04db8d4a7735587d951235ec64438194316 diff --git a/sys-devel/gcc/gcc-11.4.1_p20240605.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240605.ebuild new file mode 100644 index 000000000000..66e7925a44d5 --- /dev/null +++ b/sys-devel/gcc/gcc-11.4.1_p20240605.ebuild @@ -0,0 +1,65 @@ +# 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" +PYTHON_COMPAT=( python3_{10..12} ) + +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="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-12.3.1_p20240606.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240606.ebuild new file mode 100644 index 000000000000..1f38c9fc478d --- /dev/null +++ b/sys-devel/gcc/gcc-12.3.1_p20240606.ebuild @@ -0,0 +1,65 @@ +# 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" +PYTHON_COMPAT=( python3_{10..12} ) + +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="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 +} -- cgit v1.2.3