summaryrefslogtreecommitdiff
path: root/sys-devel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-16 06:48:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-16 06:48:32 +0000
commit80ea6e6ea87f4685ceff45cd13dd00d644688cac (patch)
treea114900a44fa7b9b4ed50067d4535d32a20379f8 /sys-devel
parentd522d1ab80efc308821a88512ab6d40850d54cb0 (diff)
gentoo auto-resync : 16:03:2024 - 06:48:31
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/Manifest.gzbin7696 -> 7692 bytes
-rw-r--r--sys-devel/gcc/Manifest4
-rw-r--r--sys-devel/gcc/gcc-11.4.1_p20240314.ebuild64
-rw-r--r--sys-devel/gcc/gcc-12.3.1_p20240315.ebuild64
-rw-r--r--sys-devel/mold/Manifest2
-rw-r--r--sys-devel/mold/mold-2.30.0.ebuild99
6 files changed, 233 insertions, 0 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz
index 520ad8d2e9d7..2a87f90a82c1 100644
--- a/sys-devel/Manifest.gz
+++ b/sys-devel/Manifest.gz
Binary files differ
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index e090ded233c8..6b028a75c7b1 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -10,6 +10,7 @@ DIST gcc-11-20240208.tar.xz 76276224 BLAKE2B efce83c3ea03093546b73d7731ac1051da7
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-20240307.tar.xz 76268160 BLAKE2B 29f61333c58e0918d4291171f4ad5cacdb3c1e7b30014a20d0d7f6263e97c2725f5b8ab327af8898d796c1207de3f110af93625918d34b735fedf63187298e61 SHA512 0f5a93ba93672d9b957efdb47a11bbf8debc417598a8439f7ea7c16faab3213ced78f84524c38eafb89ed2aae47390499ca7fe23f743cc33e87d90c1f90a2fd3
+DIST gcc-11-20240314.tar.xz 76260500 BLAKE2B 3e36e1c00464b4e67c1d9775b0f46367bbb29cab2bf8bb7b301583aeb5e8d8b6404228992941049af936e65a57b70d389b87d5eedb447c1ebe62f27bf4600177 SHA512 67a715a2affdbcf8e748951f3da99c9e6810a4a932deec665d139cff50627f12820d247746ae9c9f3534f0b8a83daee5b2bf3b2f4c0b75a55201f58fe7d27f65
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-20240112.tar.xz 79832228 BLAKE2B deec7123b8ffc42ddace51e1f3e8e08d5485f7000c0d4b7273b6311912ec0e7e2cb41124297af8c54456bb369a76fa2ef51aff552d8d680ec41dd2b144b08e55 SHA512 2c0a676ad35e6edee915c042a1751ac0263fae9b7af4d324deb49d6603dc73d3ec768832184879543e6ffb1595da5c56d9117288547adab7f243646dcbfc64ac
@@ -17,6 +18,7 @@ DIST gcc-12-20240209.tar.xz 79824868 BLAKE2B 1ae5a646da470f06648c4766c77475ceb28
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-20240308.tar.xz 79833804 BLAKE2B 08a41ab1ec664810fe7e57b59fcb9e2b429d7c8fab259d06828d74465c177ac84066b288164fbba96104a01122bbbfd76aa6113601dcc0c034446e490fa62d23 SHA512 da5348f2262ec5a7099bcd42b39c23a06ce31a28fba0a0138669ed1501b9a6e3b9e599a860b987236162927825f466354998483213becf8bbc696cb5f34ceab1
+DIST gcc-12-20240315.tar.xz 79836176 BLAKE2B 0e72c195c65b2c18cae82a2ef0e619638d3c19928b7098bc5b295b99e32243f791a10013f04498b4b95d34e93c77bfe5c7e9a980aeeab0ac44e5b5d6cbe1ebf0 SHA512 4a7a448932f4897f6514e344674bf58f0564f8a7ca6269f98ffd23f1be6fe6287117e9e2cd5cb69a597958c4c052edbb66d0b71d6ded420af3bf9b1fbaf18955
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
@@ -46,12 +48,14 @@ EBUILD gcc-11.4.1_p20240208.ebuild 1625 BLAKE2B 7b0b11273904c9ac09ae3016c57b1546
EBUILD gcc-11.4.1_p20240222.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0
EBUILD gcc-11.4.1_p20240229.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0
EBUILD gcc-11.4.1_p20240307.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0
+EBUILD gcc-11.4.1_p20240314.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0
EBUILD gcc-11.5.9999.ebuild 1593 BLAKE2B 53548c83f3180405463c0ed23c68c4b741c89a0fb2007157127db6c7772387ba51088657b0977a09192af7540f3a7cfe0c6cd184c725dd113d10bf47b04cabd3 SHA512 bf75ca5709c33db7525d552082af62df9b5cd790a343f22137d22a072d6a87c08d3a5659f427378a125f9a479863f5c75e1a82c5b4b0df2900ac56f9db773715
EBUILD gcc-12.3.1_p20240112.ebuild 1624 BLAKE2B 55470f6869d62666538715be63bf118e93d3f117c163da878047cb9f8b97f84380c92179abc40ba4b21f80787d0b8f2e67163f58ac919de8a2550f05217029a0 SHA512 2d48c02f29874f4b0a8057f821aa1430d74773789dae684b784bfd5bffba28c14f6412b1cabaad8458661933b1913b692860f08caefb597fbcc6877fe9ac4873
EBUILD gcc-12.3.1_p20240209.ebuild 1626 BLAKE2B 78310fe651070b7e809b1c4fb6c4bcec3bb67a433de7c16a17804e57065b9bf6900c185d184eebca9194cd895fbbd401090feb98179924e745d57cd22c011af2 SHA512 8f39a6a5e43f367cb636095c7caeee19dc94467ec7ca7055fe08d0df5d0622a9d4526a10d342c10e0dfc25345496ccaac14acf658c22033f81c6653a6a2ddabf
EBUILD gcc-12.3.1_p20240223.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599
EBUILD gcc-12.3.1_p20240301.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599
EBUILD gcc-12.3.1_p20240308.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599
+EBUILD gcc-12.3.1_p20240315.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599
EBUILD gcc-12.4.9999.ebuild 1600 BLAKE2B 0d6391f49ecae032403336447c8f026e47453b9e43efc447f7c6946ea2c55a6c97aa60e5bb586f6efe3615ea7c2a0cc57dc6b86043ffb5a136b9f1eacc1b37a4 SHA512 04b539938f1b1afe488d7e543f3cc3244b16a2e4daf4d311a9c20339d52a47dfe7ea0c49ef378349548b8454a56201333a36ac3c40ae9acd628c4231567393e5
EBUILD gcc-13.2.1_p20240113-r1.ebuild 1684 BLAKE2B 7e7997e86e11ed80ca9e960529be8ffbf8513b04e82886293823c6cfd31531127260da3b9ae7e6da94b1b1d7b088d7b77113f2426bae046336b92e3cb4b5bb81 SHA512 2ea187b3e2afc1fd6599410074f692f4355ea31e66e85ce127011b70773d278ba748f253bd29ab123b5945d742940cff6ac730bcae80f3be3e20141501f56aad
EBUILD gcc-13.2.1_p20240210.ebuild 1691 BLAKE2B a3f9fd3266478d67ecb2d8fa69b6a714fb150df472bce0f4c2a4d110ec95a77ffedb2437ad415da2769a243b5a6a21753d64dd3eb789dedc7d4f195cc35b5e44 SHA512 f748dbd99db35ceb4cd957e8c09bfbf52c0e94f2d88a27e71f8089b532847152fab76ae6bec1ec928b91036332a5e4cba94fade81cf34bd255fb5841c89f7499
diff --git a/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild
new file mode 100644
index 000000000000..91a92b092972
--- /dev/null
+++ b/sys-devel/gcc/gcc-11.4.1_p20240314.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="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_p20240315.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240315.ebuild
new file mode 100644
index 000000000000..44985e9fed07
--- /dev/null
+++ b/sys-devel/gcc/gcc-12.3.1_p20240315.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="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/mold/Manifest b/sys-devel/mold/Manifest
index 5a58e2e3280f..2de9001f2b95 100644
--- a/sys-devel/mold/Manifest
+++ b/sys-devel/mold/Manifest
@@ -1,8 +1,10 @@
AUX mold-2.3.0-no-pch.patch 457 BLAKE2B ac313a6409a2e43b6d26833231cb26c36d3d34f25b25d4217d50fbd1f39eda9d5b42a1939ca8ee48f6dfb73d3c27d7c6111da9beb67a43c72d3c2beb070303b0 SHA512 c79b3e998cbc23ca7069eed95a7d7871371da9c21b6970fe2a1d8dcd1009466e262f63febbc267d364e552b2eb4bebd5d74bc6dc8084d48d4c0e9e02e1d868bc
DIST mold-2.1.0.tar.gz 9278811 BLAKE2B b31e13f92177553adf5069cf35c8c75c7bc28f0af4d1726cdc0c6abc1c9d3baaa5be512c3a8fb9bc3c3110096a79e1c6751c701171769595a2234fc1fa8c441a SHA512 f1c98d349b35b4042109d71f7db6eb8d7d089dc3241735bbd7b5402d513dcc85ca17904828779e5fc8234650fa9fb97f47c3a2f3e89cc2fb3cb9e9110439e5a2
+DIST mold-2.30.0.tar.gz 9957539 BLAKE2B f45924598029dabfb2c02298e1f89aae848cd64e2e87dd80f500de323517db92e62df798feee8a2cd81cb930eff0640c2b9957808a4080f0027884015994ce64 SHA512 7cfba4f0fb332799ad267d3eafb8e2f0057af4484467b3e3fbaf8044220163a2c7e26cd1786510f250844c8b57e30c15167c8dd9688af1773abc580c5605abf3
DIST mold-2.4.0.tar.gz 9974233 BLAKE2B 0710d9ce0407b64b05a23e04db142d603b38d41cd9e5e322b650680ee2bd8684f57647e9a0b5efc23b2106eb1e38e38143be7d4b357b2d32e4fe0b6a99e41cca SHA512 e332d027f783dfb0a4f48b1fb7daf98e11e830f8de82b971b58ee8a7bae59eaa30b8155e7491b6057f0ce8e0b09ddd0ab1d364f01ea15517e1d089fdb292a4e5
DIST mold-2.4.1.tar.gz 9957259 BLAKE2B 17aab84c0793dc305d53a3c2f372ddc92395b6941ffe372af55cf94f4dd65ea8d63d4e85dcdb3e76622811e5f95577d6f10612102c373835d6f75f2a3d0bcfed SHA512 d61ee4306ecaa6ba5b4ce120636e70db081bb824a482bb3014429e13294134bc2560b1a9b477c47378f1062107f1c32dba2810e41be199cd6882cd1146971245
EBUILD mold-2.1.0.ebuild 2169 BLAKE2B b91dec8fb9890052e06cf40124f7647833a6ea786d95d44863848bfff17c0ba335f28aaac08d6971a619dbb845b9091d1134bae47f70bd811d2fde0f9ca11066 SHA512 5d27926e5003e6bd24ee3baf8258ab043aa660b7a36918500283bbec9d991ad8ea6971add52579ba6ee10a7eeeb97a6dff3a7e065c7292ced42d2f0043e33d1e
+EBUILD mold-2.30.0.ebuild 2407 BLAKE2B 46d18f13582e6271a0fc9cb0c546a9aaf2efaf021420283b99a899fbd239a6c24ccb5c88e1b020a0010c7055c1d9ab6ddfdb995f83736a5496ee0febe5db344e SHA512 5027569ac8b11e7df4dd08f546292cd364676cda05d6ec594f3b768148d7e26f51b796aa17bbb222b82be4263d80afef0491d6281430cc458cd7cfa02e818550
EBUILD mold-2.4.0.ebuild 2459 BLAKE2B 012e8034f5f9ebd72a40897e954684ee9721250c4d37735067154a2011b6344feb0da718e8106d8f7da86e0b23d16f4d952e756d92afa44781712fceae59aef3 SHA512 97c8fb81cadf290d9ccfa687cb58883288cc18241b714ba47cf54512cf36863794204d41fd49019098ff0e327541fcd4a861d8af557fbace8eb942dfebe9d6f4
EBUILD mold-2.4.1.ebuild 2407 BLAKE2B 46d18f13582e6271a0fc9cb0c546a9aaf2efaf021420283b99a899fbd239a6c24ccb5c88e1b020a0010c7055c1d9ab6ddfdb995f83736a5496ee0febe5db344e SHA512 5027569ac8b11e7df4dd08f546292cd364676cda05d6ec594f3b768148d7e26f51b796aa17bbb222b82be4263d80afef0491d6281430cc458cd7cfa02e818550
EBUILD mold-9999.ebuild 2407 BLAKE2B 46d18f13582e6271a0fc9cb0c546a9aaf2efaf021420283b99a899fbd239a6c24ccb5c88e1b020a0010c7055c1d9ab6ddfdb995f83736a5496ee0febe5db344e SHA512 5027569ac8b11e7df4dd08f546292cd364676cda05d6ec594f3b768148d7e26f51b796aa17bbb222b82be4263d80afef0491d6281430cc458cd7cfa02e818550
diff --git a/sys-devel/mold/mold-2.30.0.ebuild b/sys-devel/mold/mold-2.30.0.ebuild
new file mode 100644
index 000000000000..ac067b811ef2
--- /dev/null
+++ b/sys-devel/mold/mold-2.30.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="A Modern Linker"
+HOMEPAGE="https://github.com/rui314/mold"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/rui314/mold.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86"
+fi
+
+# mold (MIT)
+# - xxhash (BSD-2)
+LICENSE="MIT BSD-2"
+SLOT="0"
+
+RDEPEND="
+ app-arch/zstd:=
+ >=dev-cpp/tbb-2021.7.0-r1:=
+ dev-libs/blake3:=
+ sys-libs/zlib
+ !kernel_Darwin? (
+ >=dev-libs/mimalloc-2:=
+ )
+"
+DEPEND="${RDEPEND}"
+
+pkg_pretend() {
+ # Requires a c++20 compiler, see #831473
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]]; then
+ die "${PN} needs at least gcc 10"
+ elif tc-is-clang && [[ $(clang-major-version) -lt 12 ]]; then
+ die "${PN} needs at least clang 12"
+ fi
+ fi
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # Needs unpackaged dwarfdump
+ rm test/elf/{{dead,compress}-debug-sections,compressed-debug-info}.sh || die
+
+ # Heavy tests, need qemu
+ rm test/elf/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die
+ rm test/elf/lto-{archive,dso,gcc,llvm,version-script}.sh || die
+
+ # Sandbox sadness
+ rm test/elf/run.sh || die
+ sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \
+ test/elf/mold-wrapper{,2}.sh || die
+
+ # static-pie tests require glibc built with static-pie support
+ if ! has_version -d 'sys-libs/glibc[static-pie(+)]'; then
+ rm test/elf/{,ifunc-}static-pie.sh || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
+ -DMOLD_ENABLE_QEMU_TESTS=OFF
+ -DMOLD_LTO=OFF # Should be up to the user to decide this with CXXFLAGS.
+ -DMOLD_USE_MIMALLOC=$(usex !kernel_Darwin)
+ -DMOLD_USE_SYSTEM_MIMALLOC=ON
+ -DMOLD_USE_SYSTEM_TBB=ON
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ dobin "${BUILD_DIR}"/${PN}
+
+ # https://bugs.gentoo.org/872773
+ insinto /usr/$(get_libdir)/mold
+ doins "${BUILD_DIR}"/${PN}-wrapper.so
+
+ dodoc docs/{design,execstack}.md
+ doman docs/${PN}.1
+
+ dosym ${PN} /usr/bin/ld.${PN}
+ dosym ${PN} /usr/bin/ld64.${PN}
+ dosym -r /usr/bin/${PN} /usr/libexec/${PN}/ld
+}
+
+src_test() {
+ export TEST_CC="$(tc-getCC)" \
+ TEST_GCC="$(tc-getCC)" \
+ TEST_CXX="$(tc-getCXX)" \
+ TEST_GXX="$(tc-getCXX)"
+ cmake_src_test
+}