summaryrefslogtreecommitdiff
path: root/sys-devel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-10 02:01:16 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-10 02:01:16 +0000
commit59437d191de3ff33f9bfa37f8656d849184fcaf0 (patch)
tree7d5e645c0aac6d8b71229a0e53d7a93136f83781 /sys-devel
parent1a95f960273f276a4fdefb824336b073d83bcb5e (diff)
gentoo auto-resync : 10:12:2024 - 02:01:16
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/Manifest.gzbin7843 -> 7851 bytes
-rw-r--r--sys-devel/bpf-toolchain/Manifest2
-rw-r--r--sys-devel/bpf-toolchain/bpf-toolchain-14.2.0_p1.ebuild2
-rw-r--r--sys-devel/clang-common/Manifest2
-rw-r--r--sys-devel/clang-common/clang-common-17.0.6-r10.ebuild2
-rw-r--r--sys-devel/crossdev/Manifest2
-rw-r--r--sys-devel/crossdev/crossdev-20241202.ebuild2
-rw-r--r--sys-devel/mold/Manifest16
-rw-r--r--sys-devel/mold/files/mold-2.32.1-libdl.patch20
-rw-r--r--sys-devel/mold/files/mold-2.33.0-icf.patch41
-rw-r--r--sys-devel/mold/mold-2.32.1.ebuild103
-rw-r--r--sys-devel/mold/mold-2.33.0-r1.ebuild106
-rw-r--r--sys-devel/mold/mold-2.33.0.ebuild99
-rw-r--r--sys-devel/mold/mold-2.34.0.ebuild103
-rw-r--r--sys-devel/mold/mold-2.34.1-r1.ebuild2
-rw-r--r--sys-devel/mold/mold-2.34.1.ebuild103
-rw-r--r--sys-devel/mold/mold-2.35.0.ebuild19
-rw-r--r--sys-devel/mold/mold-9999.ebuild19
18 files changed, 32 insertions, 611 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz
index 37fadf3eee61..eb646a5bf7d8 100644
--- a/sys-devel/Manifest.gz
+++ b/sys-devel/Manifest.gz
Binary files differ
diff --git a/sys-devel/bpf-toolchain/Manifest b/sys-devel/bpf-toolchain/Manifest
index 4466c15635e8..dd900e0c491a 100644
--- a/sys-devel/bpf-toolchain/Manifest
+++ b/sys-devel/bpf-toolchain/Manifest
@@ -1,4 +1,4 @@
DIST binutils-2.43.1.tar.xz 28174300 BLAKE2B c4cd765cea326cd00b5cfe306e2937d820603b42f07a714ceb1349d36ddba0d45c3e125599dadf290d97954035c381781067155600ed87066e494cb9c4b34b45 SHA512 20977ad17729141a2c26d358628f44a0944b84dcfefdec2ba029c2d02f40dfc41cc91c0631044560d2bd6f9a51e1f15846b4b311befbe14f1239f14ff7d57824
DIST gcc-14.2.0.tar.xz 92306460 BLAKE2B 87baf2a06dfa75d8fb6cd62c747ef1f57d3b9bbbe33a360d9ed3de4b4dbeaa8d920504c67e409bd9863414202c14fd854b46108e984418171205119216d03d3b SHA512 932bdef0cda94bacedf452ab17f103c0cb511ff2cec55e9112fc0328cbf1d803b42595728ea7b200e0a057c03e85626f937012e49a7515bc5dd256b2bf4bc396
-EBUILD bpf-toolchain-14.2.0_p1.ebuild 6453 BLAKE2B 284ca07a519b33f055ca88e9561b92b06d571fe288bc7ee2410df50f0f17fc21a649e4f1fd92d4478a70d1bbf4ab91dbca2501d86c7791cb612659921f01d6f1 SHA512 48669dfff5eef096d2b8e872a0ce8b57af7ca2949b67e016a8a02be50f4dab2ce2b92f85604c5e76bb135e778543242eec3952240c18a14a4112e519be26e3be
+EBUILD bpf-toolchain-14.2.0_p1.ebuild 6452 BLAKE2B ba774748409cf6110363ed4d92174b6ceb695d8b0e75c0a6848e81bf495d9d878873a7747b25ebba1cef619e1c4f794851cd60c3029d278712d2ae310c845c10 SHA512 796e7620cf2923a9433dea670ef609f8aacec550f6f5688637647f1df1118820e688aaff16129047856e958ce55ca735062ddc2f7e8de13e27a11f48e044034e
MISC metadata.xml 599 BLAKE2B c41d219a2ba989105be860668dae9a75ed7283924017bc5f452853325f7800d90f87f3acd8c56c51efbc150a45d630f20dff2867a73753e4a71fef2cc5adea04 SHA512 c0e7d480106f9803602288191de6b5295d80c8f4da7458dd1630dcb40ea67cf0e1258865bd7be646306b60700c991ed15c487d54c083f2a65717ac46c27a70de
diff --git a/sys-devel/bpf-toolchain/bpf-toolchain-14.2.0_p1.ebuild b/sys-devel/bpf-toolchain/bpf-toolchain-14.2.0_p1.ebuild
index 569fc12ca057..a166f045908d 100644
--- a/sys-devel/bpf-toolchain/bpf-toolchain-14.2.0_p1.ebuild
+++ b/sys-devel/bpf-toolchain/bpf-toolchain-14.2.0_p1.ebuild
@@ -40,7 +40,7 @@ LICENSE="
LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 )
"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="+bin-symlinks custom-cflags +strip"
RDEPEND="
diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 7067d41721d5..c306bf306bfa 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -14,7 +14,7 @@ DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 BLAK
DIST llvm-project-a348f223cab54b21a7b1c38dec7bc6aa2f81c949.tar.gz 223630067 BLAKE2B 3c2121a8d13e3a84a9ee98d17c58e5fd5a31d5870ac21c633c78c49b4af0c401310f7e91f64ff3b7cf7f6e8d205c730458b8b1101b1255f422659974d48e2ecb SHA512 33cc09a904e4fe0d529611a1d71d764e6d49f014cea903aadc0755d0420f65cfc763fdcfd4bb9a96adad79ce1c4475d8c005dcac37c4fe130a1fb3665172f1db
EBUILD clang-common-15.0.7-r10.ebuild 5469 BLAKE2B 3d05e1a5136c75731b5b5ed4f1ad21272f1e224d8b27439e19e6268edb716bf01e789803880bbd9f4e9cf65e036e5dec42ee34914b3cc6e6d4b4b9e64aa70db0 SHA512 03a2e624e1ffe63a2e0d133a9cb2f64c56596a244706b538943e9c008054e967af6e595f8aa4ec53ab5555240bd1871bd5a50561af16adaeb501de83e8791202
EBUILD clang-common-16.0.6-r6.ebuild 5721 BLAKE2B cb0a6256eeeda5c8978f9fce4205429c8252612a64a3b5eb3464f321d70704291cccfff1d1126c56acf4b134be57655380741212a7a4cf968728c913f8653c3f SHA512 274ba0e7bca181d1e593fedbac5129e87e2e04a3e47679a9d37dfc0047de78ef0f0dbd5d116dae56abad95ff4b09cdefacc36e853c6f76ad397cd6155c491ab6
-EBUILD clang-common-17.0.6-r10.ebuild 9030 BLAKE2B b4edcc8b33f36d568db46b3e2b72c804b499aed28d66a918e5be6e9523abb2e67dbccf80c5894f7967be01d26c85f177361b0be595100787ffec54ce10fe04cf SHA512 b0d2ed97e0e2f5fec45f2edbc27002173475eb3bee3e2051fa189e4b8a9ce142a16b1b67fbd6b71574aee611cea91e00fd52ade751ed84ffeb641129edca89ab
+EBUILD clang-common-17.0.6-r10.ebuild 9029 BLAKE2B afff02643461f7a0a3d59cf0b1dce3e6eba54cc99ebe607cd10970252c72045c265df05412ad953659735c8ea1998f566f77504ac6c8c6a7202346365095b1e9 SHA512 199fa304bd91d31e993349f4f19641a81a8ee9a7ff8cea9341a35e8958e9fd265345fdccd42157d509b2d12f80433c8fc8a029228074a1f1468dcced5ff494a7
EBUILD clang-common-17.0.6-r9.ebuild 9005 BLAKE2B 9417c98621ffed85971661a6531bb70fdeadc9b0b4dbc6cfd389c550c016376ca0171f5245afe2a6fb03afb9527438f6873a4161f891e63f867aeb18d9fc103b SHA512 61b4950846f3051ce6f891c0dd9534ed8ababf19f320f0b0f7a2693a8e0ea5902098d60b109981a597d48e14094b87eebc72d0060d2c8dcf3a8afcc9687d6c80
EBUILD clang-common-18.1.8-r3.ebuild 9152 BLAKE2B 6529cf887633dd83826162f7f5e9b38a23a4c9c50b9c55dc265189fd288952d4c316fa1654b7b7f284d74c226dce4fa58e2234fc4c1499ffe2578f4f53dcc1b3 SHA512 91704efb26dfbe464afb5cff8f2a1dddd9127810e28ab2271dc5aba90256cc812a6bab00d12aa0001987e38cab230feacfb7524670f856bae8246b70a6a9b429
EBUILD clang-common-19.1.4.ebuild 9393 BLAKE2B ef4fc0c4fe51f4cde474f3e3eb455196e76de79297bcf46d6f5209091ec6dce8ae45e1972ffa2b160fe5bfc5cf35ca1bcad418cb2a889cedf6595446e6fb5af7 SHA512 87c58233f8e20babc63a970f94bfd7c5f2beb526b3118bb8a2f50a80ccbbaa7c3251d825458195848c60aa1508626199587a051b6bc5aeed4b6ee8c402421a5d
diff --git a/sys-devel/clang-common/clang-common-17.0.6-r10.ebuild b/sys-devel/clang-common/clang-common-17.0.6-r10.ebuild
index 0770e0337cbd..b7f5fcd8d0e0 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r10.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r10.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos"
IUSE="
default-compiler-rt default-libcxx default-lld
bootstrap-prefix cet hardened llvm-libunwind
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index e902667f1d21..ec4ccd6f035c 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1,6 +1,6 @@
DIST crossdev-20240921.tar.xz 31008 BLAKE2B 9daeabcbeefa32624d71b86c5ddeb1f6bf6ccdf4e6f590bf7517388d4d68b73ae2651ca09d122f128f002568127bd5d7d767db9d6c043e5330b62c3104929848 SHA512 6b7f0bce309d2b0a8fdf9b28cf72098de9dafaf7f338a8308e94e2068cefc15cd2407eee39a9eeb0ea0a1bc46569cedc69a51bb01f140faebe374b660cb1cdf6
DIST crossdev-20241202.tar.xz 33032 BLAKE2B 74ec859e1ae5f816397349c18f8bd98d8fae2f4de471112d70621767733a6c91dfffaabb33afc4bdabf5bed31b83a0cdf8afaffaba3e0df95f70d43cf249fb94 SHA512 c6a8c534135aa15b2005546d3f006953570de1e54ae3d3170c71bed62f044c2db79412ecde3b91fd85fca92e7c996762ba086db29c6132f6f1d9e9a48f1e79ea
EBUILD crossdev-20240921.ebuild 954 BLAKE2B 5ae957db542f8ff8fcadc1dbb054e241c4ae3fe46d9a186941c135f54b41bcb4813f3185f79bfe138a8389b23088c030f6d193c60b78ce2dcf9a84eddb6b40cb SHA512 e2a45deb36b708337c9e717026351de14d455a2feb405ca047b5ab105305ce31b41d7c405cfbc42b0d39526f8fafdbb854caeb7e51fc660885c28256599ebcef
-EBUILD crossdev-20241202.ebuild 955 BLAKE2B ea233a892d577809695cccaeffddd94240fa9e18f9789e15ee88d9b7c45911c60db4ae3b76de328aa8e09e6a0e829612cd51a8d700714aca06f4e8c0e72b43d4 SHA512 1cf56abbf4580b3e41eb61a2088ee410181bb8e082fc271e7e16d765c7824fd01d63cc30aa853a36bd413ec28e7a953d1d87bf3266ec449e35ee4e631f7d048f
+EBUILD crossdev-20241202.ebuild 954 BLAKE2B 66922b0faad2cee95d130efaec8e8c267c3f682d4a95dcd31c790a2686bd0af25f825071150e3716a5fff4882823614da6e287dff550253063abf272aaa731b3 SHA512 bec25c5ec9de447fc305a51ca7d2a95bf3fee6a4a8c1c9fcc9c7432e0fffb7faf6331a6940500a27a665aa65497752f263ad26da3b719cb6cd0e17d8dfab28ec
EBUILD crossdev-99999999.ebuild 960 BLAKE2B 8e9e752d6c74cc8812ba110c018607fde79945f487d8f7915c2a61e112d56c3c3a7a23d6ca64a149d34f10753467162a2e52d03e44bcf869350d32a857b63756 SHA512 a233556b61751d4c0b10c66b6cb1390a879e2e619c3f9d7329c20ce2c5252060760b4d0c59f961ec3994e298c587ba8d24097fa54f5b99a6332c5988485a9219
MISC metadata.xml 624 BLAKE2B 3f6609db4ad549927d9e7c0f259926de694435707aba7fabd2d08333294bc38bad42b59b7ab9f6372bec292708ebfdb88d88ee0e8dca1ed29389e33427a1d46e SHA512 4605364fe155bb8facae233aa29fadae23fe3d1f012451f8611933252f81aa3d3337ac9d68feabe059c959e2a94a67a85e6d88f7fa08d6d31e2418034b60010a
diff --git a/sys-devel/crossdev/crossdev-20241202.ebuild b/sys-devel/crossdev/crossdev-20241202.ebuild
index 750ec15d986b..6b9cf4e9bc85 100644
--- a/sys-devel/crossdev/crossdev-20241202.ebuild
+++ b/sys-devel/crossdev/crossdev-20241202.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "99999999" ]] ; then
"
else
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86"
fi
DESCRIPTION="Gentoo Cross-toolchain generator"
diff --git a/sys-devel/mold/Manifest b/sys-devel/mold/Manifest
index e0033c8f8938..52b24c4b3a9d 100644
--- a/sys-devel/mold/Manifest
+++ b/sys-devel/mold/Manifest
@@ -1,19 +1,9 @@
-AUX mold-2.32.1-libdl.patch 632 BLAKE2B db9a5911f5587c33d27a38347a027c3d93cbca41a0328e6a290760c32a4738db4a7241eb3b041d81c1ebb6e20bd9b752573d4e13e1812925adf07dcda2fe5d4f SHA512 6fd38910d1d7cd1126579b15c7442ceccc8c06ba1c439d647334316b035e2dc7b073239b27d29ae94b7dd83b2b8ba7c6e19377d905530fa9118fcb463985b2d3
-AUX mold-2.33.0-icf.patch 1618 BLAKE2B 3c1953a854874218b532fa6db91b20a0625bb71d4ed154a0b7f86a19691d99257db6bd28ab174452830749b66ad0dcdddcc8f7292ce4de2fa9553d67ea21ec88 SHA512 86d74a1e00789552606493d469e7fae7ca8b2022bfb3542aecf8478a7ebf49dcf123b57e8e536dfe4e3004a2b42ece7ee3a7b73170db8585fb0012112313d407
AUX mold-2.34.1-linux-6.11.patch 940 BLAKE2B b089023c689323046456d7484d89f6577feabf90f4695ee512cadccd6fc07869b2c0aad5854cca2c67eb0dc0d7b2f0f5437c7e5c870348042dd0038ff4466d22 SHA512 6d67d779a10ea82aab807f76b2314e152e65c9d8a0daa5f565bd91a13eb8f90fd4f86b2c45f3c87249871ecd17fe0642e93430e3d86989b65a719658ee2c0163
DIST mold-2.1.0.tar.gz 9278811 BLAKE2B b31e13f92177553adf5069cf35c8c75c7bc28f0af4d1726cdc0c6abc1c9d3baaa5be512c3a8fb9bc3c3110096a79e1c6751c701171769595a2234fc1fa8c441a SHA512 f1c98d349b35b4042109d71f7db6eb8d7d089dc3241735bbd7b5402d513dcc85ca17904828779e5fc8234650fa9fb97f47c3a2f3e89cc2fb3cb9e9110439e5a2
-DIST mold-2.32.1.tar.gz 10010384 BLAKE2B b020d57df25d91fac9b6ef994e9f7f73b6736d18a73be3caebe03a851a1db1986abe395b5481a1e30e01f38362c3705cb5903251b7201c0003c745dee37a5148 SHA512 d38b12faf81ba8015fc0cdb52944ac94366877c3033871a92610087e036d75b3d072baf9bbf107a9029495521e067fb36c0809b5138f90976492547b39c33085
-DIST mold-2.33.0.tar.gz 10061838 BLAKE2B 65c460035f3bdbc101120a27e30b70982d549a4222cf4beb1b7228c0c961afd3eb8928cacde5be20734a80a80765eb60e6d961bd5cb001ecaef1aba1152730b9 SHA512 67c41ae33f8a229f32aabf32ffb8bcb261eff047dedd189b8751e5de43ef12a2dbd05f45632c8baeac2ceff99c40256256d7d5c790cc12e4fecf1dc3cfebeb11
-DIST mold-2.34.0.tar.gz 10056591 BLAKE2B 88ee86c7f78b05cc79d67152a2f5cad7c88e2155f47674f2fe5aca5ef66c7cad607154f4a52cbd97e720a24e1b25ecf8452a88e626e9cf1c4d3f76401df5644d SHA512 b252f873f6fd4aa2e63344017c57e0bcff3fda5db86e4db2587b29ac1e44ee34a1a36c3b96b08bf607909dc5e877fa59617c32f7399ebe09591f84dd833c5bb5
DIST mold-2.34.1.tar.gz 10057683 BLAKE2B 9a9b166e64c4e5d48631147e781ce0d58acf76420f172bdee31fe5c44f37a8e2b098ae5696b52b668255f9a5967b0fb567a51d9fb8b26cddba0e14ed5a3e3464 SHA512 6ddfda8b81b710555272ee67eac7f2b3088a7a78f308843caa1730c1b631fc7031b8f5eac33379b9926c9f000d7b27864c12bb62ea75051d2f1caf9f9d2946ab
DIST mold-2.35.0.tar.gz 10056856 BLAKE2B 9b039031047263aa959aa6f2bf296d11d51bf02d0a66afa76e08200d4547ee5d66cf522497b86fce7fd8cbd43559b8d19ad0264c749833988592cf7291fd55fe SHA512 6f7be924cb6ea38c0089f0c34beec9ef51160daea3510dac4ed68c519efefe4496739271b35c271f7384c9e436bd8a0636ce47e0847aa2b4daf227accecc7314
EBUILD mold-2.1.0.ebuild 2169 BLAKE2B b91dec8fb9890052e06cf40124f7647833a6ea786d95d44863848bfff17c0ba335f28aaac08d6971a619dbb845b9091d1134bae47f70bd811d2fde0f9ca11066 SHA512 5d27926e5003e6bd24ee3baf8258ab043aa660b7a36918500283bbec9d991ad8ea6971add52579ba6ee10a7eeeb97a6dff3a7e065c7292ced42d2f0043e33d1e
-EBUILD mold-2.32.1.ebuild 2448 BLAKE2B 88d6d168b5de620f787abf540531759dcba0be4830a71ee43bf23beb011d465b2a98f036365583dad411772a6ba1332d8d7dae3632592b7d8cd22424934b2991 SHA512 a5485b242d40e43ffcd2dfff62df1f54ca31b154acb98df4b90f23135cc61ef23d9e0950da47983d3f2362ca7d4435d3108f2c8f54814ce4730bbdc008c64dd3
-EBUILD mold-2.33.0-r1.ebuild 2519 BLAKE2B 0160432fa8384e06d2c518b6735ea56cfbfe834066d56e13910b3c4fe901f986700ed2635ae484c821b1960daf6df4cecf190da92d1313f52d13ce0ee4135975 SHA512 82b65306d43e513a7df2d863a40b453e2028133c8321569c7b1abfb2495f2ea466cf27b15716e3d4608845c10d9d8507abcf7e81ca88dce3d9d0a30c2323825a
-EBUILD mold-2.33.0.ebuild 2409 BLAKE2B 770982e41dec11dd488e13a581c75744239897bacc5f8742491f19d4fefe6718971e54ef274ce61e6cff9f83df0b97320a15aac26a6d970c11f1d6953ecce4bf SHA512 7f8968d75136cf5c763e5127a5f26cd60ab4bce97dc5048292393053788de2b17858738b67c43fffe9920f28b9694a7f54fc17da95bc6efd30c477b5ae6260f6
-EBUILD mold-2.34.0.ebuild 2550 BLAKE2B 3f43cd81dd5f9332926d3271c24bfc32f0851dd92dfe6e5424a69bd61d964f38adf2f4094538939b14ce392132ef44dff0c4d97e749b6cf1dcf1c7049a22c5ed SHA512 9e04c92b9a3f7bfb33006c90642abd30fad9b96b8dd8d493dfd0ab83375e2cfb7c7fc6c2b8d9b50ae0ba4294bad84672236ca043eceb98e3e6e676369418c86a
-EBUILD mold-2.34.1-r1.ebuild 2608 BLAKE2B 673c5c6932d2e553b3cbb6f07916d446d0074c37f0959d45225d10f6890bacee9ec00933a6b93b0f74b7ce4c779d382318b2d0caede4c4de20db775e40a3ed28 SHA512 1cddebf1ceed28c01d795cf7dfe3aad011c08c79cbea5e4dcd415441f6a8323551a8a86518beda95345b8b324580374f8815aaa42415494005f49ed90f9d5926
-EBUILD mold-2.34.1.ebuild 2549 BLAKE2B 5fb73622e8e6e55b36774a6c92ab7ef26b13cd44aba17c591a0ec101a478687eeeb7c683a62fbbe385418c5fe9193d68ecdebec5f0354ef849fd4ee07c84e12f SHA512 6198ef52a35060cc5875e46ceafe48b43bd2998474146d91f89d4fc2c7d749f17bb8129084cf789c796989bf2897f0792c260e59023fb1df90d07d4709c81b76
-EBUILD mold-2.35.0.ebuild 2608 BLAKE2B 673c5c6932d2e553b3cbb6f07916d446d0074c37f0959d45225d10f6890bacee9ec00933a6b93b0f74b7ce4c779d382318b2d0caede4c4de20db775e40a3ed28 SHA512 1cddebf1ceed28c01d795cf7dfe3aad011c08c79cbea5e4dcd415441f6a8323551a8a86518beda95345b8b324580374f8815aaa42415494005f49ed90f9d5926
-EBUILD mold-9999.ebuild 2608 BLAKE2B 673c5c6932d2e553b3cbb6f07916d446d0074c37f0959d45225d10f6890bacee9ec00933a6b93b0f74b7ce4c779d382318b2d0caede4c4de20db775e40a3ed28 SHA512 1cddebf1ceed28c01d795cf7dfe3aad011c08c79cbea5e4dcd415441f6a8323551a8a86518beda95345b8b324580374f8815aaa42415494005f49ed90f9d5926
+EBUILD mold-2.34.1-r1.ebuild 2607 BLAKE2B c66a19a984037a201d104e8365bc99b27c4bbe7c5ebc293853c0531d702a7c8a91acbe89a59092d1b4c80f1cf4559623d6c49095e9f90069341190887b225790 SHA512 616530beced37416e392c1a2b240353abdfb8526ac03d9b058894bff8102cd0ae3fb9a0d516348c6152c15367f0e389e9c39bd59a438a0adcfa08d7bc20b2337
+EBUILD mold-2.35.0.ebuild 2700 BLAKE2B 22391c2b5d7f50668b01b96b193d6c269bf7c55ddb209332f9d1f1bf528794c0eaf41846b643c3a59914f24b1dce77b5613d235ec6ec9c626399d63a13a40151 SHA512 d901bd69d355bbb86f322134f6307d7854bfb0ff442de82ed39636d26e5b5577a76ff2f70ae87489092c848d58eeac36b6fe0f6e7caac75bab43d389db122b29
+EBUILD mold-9999.ebuild 2700 BLAKE2B 22391c2b5d7f50668b01b96b193d6c269bf7c55ddb209332f9d1f1bf528794c0eaf41846b643c3a59914f24b1dce77b5613d235ec6ec9c626399d63a13a40151 SHA512 d901bd69d355bbb86f322134f6307d7854bfb0ff442de82ed39636d26e5b5577a76ff2f70ae87489092c848d58eeac36b6fe0f6e7caac75bab43d389db122b29
MISC metadata.xml 424 BLAKE2B a1c0cbdcb86c323fa1e6143c9665ec548f7713e74002a25b2fc26c51b60dae00922d3448a5aaecd5027a8cb026a681386ca7dea90657a3e10b25fb194dafc0d3 SHA512 1adc934e78ca0210743a1aa7479ebc4b5ea0b66a348c4408423460f02b404b885d3a8eca6e89ea8ac53ac9c76e85116965f1eef79e3f3e1f0451c8cf5ce0dfd6
diff --git a/sys-devel/mold/files/mold-2.32.1-libdl.patch b/sys-devel/mold/files/mold-2.32.1-libdl.patch
deleted file mode 100644
index 994137938b68..000000000000
--- a/sys-devel/mold/files/mold-2.32.1-libdl.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://github.com/rui314/mold/commit/091395df335d577adc2a09e854a129f02081c576
-
-From 091395df335d577adc2a09e854a129f02081c576 Mon Sep 17 00:00:00 2001
-From: Rui Ueyama <ruiu@cs.stanford.edu>
-Date: Fri, 28 Jun 2024 11:00:36 +0900
-Subject: [PATCH] Link with `-ldl` for dlopen()
-
-Fixes https://github.com/rui314/mold/issues/1293
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -61,6 +61,8 @@ target_compile_features(mold PRIVATE cxx_std_20)
-
- if(MINGW)
- target_link_libraries(mold PRIVATE dl)
-+else()
-+ target_link_libraries(mold PRIVATE ${CMAKE_DL_LIBS})
- endif()
-
- if(NOT "${CMAKE_CXX_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC")
-
diff --git a/sys-devel/mold/files/mold-2.33.0-icf.patch b/sys-devel/mold/files/mold-2.33.0-icf.patch
deleted file mode 100644
index e5b90fbfd9e3..000000000000
--- a/sys-devel/mold/files/mold-2.33.0-icf.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-https://bugs.gentoo.org/938009
-https://github.com/rui314/mold/issues/1326
-https://github.com/rui314/mold/commit/5a9919b43344b4fb92ea701f0b32a7e20857b9ca
-
-From 5a9919b43344b4fb92ea701f0b32a7e20857b9ca Mon Sep 17 00:00:00 2001
-From: Rui Ueyama <ruiu@cs.stanford.edu>
-Date: Fri, 9 Aug 2024 12:08:03 +0900
-Subject: [PATCH] Fix a crash bug
-
-Fixes https://github.com/rui314/mold/issues/1326
---- a/elf/output-chunks.cc
-+++ b/elf/output-chunks.cc
-@@ -1730,21 +1730,18 @@ ElfSym<E> to_output_esym(Context<E> &ctx, Symbol<E> &sym, u32 st_name,
- esym.st_type = STT_FUNC;
- esym.st_visibility = sym.visibility;
- esym.st_value = sym.get_plt_addr(ctx);
-- } else if (!isec->output_section) {
-+ } else if ((isec->shdr().sh_flags & SHF_MERGE) &&
-+ !(isec->shdr().sh_flags & SHF_ALLOC)) {
- // Symbol in a mergeable non-SHF_ALLOC section, such as .debug_str
-- assert(!(isec->shdr().sh_flags & SHF_ALLOC));
-- assert(isec->shdr().sh_flags & SHF_MERGE);
-- assert(!sym.file->is_dso);
--
- ObjectFile<E> *file = (ObjectFile<E> *)sym.file;
-- MergeableSection<E> *m =
-- file->mergeable_sections[file->get_shndx(sym.esym())].get();
-+ MergeableSection<E> &m =
-+ *file->mergeable_sections[file->get_shndx(sym.esym())];
-
- SectionFragment<E> *frag;
- i64 frag_addend;
-- std::tie(frag, frag_addend) = m->get_fragment(sym.esym().st_value);
-+ std::tie(frag, frag_addend) = m.get_fragment(sym.esym().st_value);
-
-- shndx = m->parent.shndx;
-+ shndx = m.parent.shndx;
- esym.st_visibility = sym.visibility;
- esym.st_value = frag->get_addr(ctx) + frag_addend;
- } else {
-
diff --git a/sys-devel/mold/mold-2.32.1.ebuild b/sys-devel/mold/mold-2.32.1.ebuild
deleted file mode 100644
index 8a4c59535484..000000000000
--- a/sys-devel/mold/mold-2.32.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# 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)
-# - siphash ( MIT CC0-1.0 )
-LICENSE="MIT BSD-2 CC0-1.0"
-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}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-libdl.patch
-)
-
-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=(
- -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
-}
diff --git a/sys-devel/mold/mold-2.33.0-r1.ebuild b/sys-devel/mold/mold-2.33.0-r1.ebuild
deleted file mode 100644
index 27b583561b71..000000000000
--- a/sys-devel/mold/mold-2.33.0-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic 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 ~ppc ~riscv ~sparc ~x86"
-fi
-
-# mold (MIT)
-# - xxhash (BSD-2)
-# - siphash ( MIT CC0-1.0 )
-LICENSE="MIT BSD-2 CC0-1.0"
-SLOT="0"
-IUSE="debug"
-
-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}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-icf.patch
-)
-
-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() {
- use debug || append-cppflags "-DNDEBUG"
-
- local mycmakeargs=(
- -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
-}
diff --git a/sys-devel/mold/mold-2.33.0.ebuild b/sys-devel/mold/mold-2.33.0.ebuild
deleted file mode 100644
index c125e91b311b..000000000000
--- a/sys-devel/mold/mold-2.33.0.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# 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 ~ppc ~riscv ~sparc ~x86"
-fi
-
-# mold (MIT)
-# - xxhash (BSD-2)
-# - siphash ( MIT CC0-1.0 )
-LICENSE="MIT BSD-2 CC0-1.0"
-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=(
- -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
-}
diff --git a/sys-devel/mold/mold-2.34.0.ebuild b/sys-devel/mold/mold-2.34.0.ebuild
deleted file mode 100644
index 456f654912e4..000000000000
--- a/sys-devel/mold/mold-2.34.0.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic 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"
- # -alpha: https://github.com/rui314/mold/commit/3711ddb95e23c12991f6b8c7bfeba4f1421d19d4
- KEYWORDS="-alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86"
-fi
-
-# mold (MIT)
-# - xxhash (BSD-2)
-# - siphash ( MIT CC0-1.0 )
-LICENSE="MIT BSD-2 CC0-1.0"
-SLOT="0"
-IUSE="debug"
-
-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/{{dead,compress}-debug-sections,compressed-debug-info}.sh || die
-
- # Heavy tests, need qemu
- rm test/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die
- rm test/lto-{archive,dso,gcc,llvm,version-script}.sh || die
-
- # Sandbox sadness
- rm test/run.sh || die
- sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \
- test/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/{,ifunc-}static-pie.sh || die
- fi
-}
-
-src_configure() {
- use debug || append-cppflags "-DNDEBUG"
-
- local mycmakeargs=(
- -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
-}
diff --git a/sys-devel/mold/mold-2.34.1-r1.ebuild b/sys-devel/mold/mold-2.34.1-r1.ebuild
index e9cd29a7fe47..e8d9cd581db3 100644
--- a/sys-devel/mold/mold-2.34.1-r1.ebuild
+++ b/sys-devel/mold/mold-2.34.1-r1.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]] ; then
else
SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
# -alpha: https://github.com/rui314/mold/commit/3711ddb95e23c12991f6b8c7bfeba4f1421d19d4
- KEYWORDS="-alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86"
+ KEYWORDS="-alpha amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86"
fi
# mold (MIT)
diff --git a/sys-devel/mold/mold-2.34.1.ebuild b/sys-devel/mold/mold-2.34.1.ebuild
deleted file mode 100644
index a0350478640f..000000000000
--- a/sys-devel/mold/mold-2.34.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic 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"
- # -alpha: https://github.com/rui314/mold/commit/3711ddb95e23c12991f6b8c7bfeba4f1421d19d4
- KEYWORDS="-alpha amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86"
-fi
-
-# mold (MIT)
-# - xxhash (BSD-2)
-# - siphash ( MIT CC0-1.0 )
-LICENSE="MIT BSD-2 CC0-1.0"
-SLOT="0"
-IUSE="debug"
-
-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/{{dead,compress}-debug-sections,compressed-debug-info}.sh || die
-
- # Heavy tests, need qemu
- rm test/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die
- rm test/lto-{archive,dso,gcc,llvm,version-script}.sh || die
-
- # Sandbox sadness
- rm test/run.sh || die
- sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \
- test/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/{,ifunc-}static-pie.sh || die
- fi
-}
-
-src_configure() {
- use debug || append-cppflags "-DNDEBUG"
-
- local mycmakeargs=(
- -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
-}
diff --git a/sys-devel/mold/mold-2.35.0.ebuild b/sys-devel/mold/mold-2.35.0.ebuild
index e9cd29a7fe47..29ba8bfdb0b4 100644
--- a/sys-devel/mold/mold-2.35.0.ebuild
+++ b/sys-devel/mold/mold-2.35.0.ebuild
@@ -83,6 +83,17 @@ src_configure() {
cmake_src_configure
}
+src_test() {
+ local CMAKE_SKIP_TESTS=(
+ # https://github.com/rui314/mold/issues/1370
+ x86_64-range-extension-thunk2
+ )
+
+ export TEST_CC="$(tc-getCC)" TEST_GCC="$(tc-getCC)" \
+ TEST_CXX="$(tc-getCXX)" TEST_GXX="$(tc-getCXX)"
+ cmake_src_test
+}
+
src_install() {
dobin "${BUILD_DIR}"/${PN}
@@ -97,11 +108,3 @@ src_install() {
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
-}
diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
index e9cd29a7fe47..29ba8bfdb0b4 100644
--- a/sys-devel/mold/mold-9999.ebuild
+++ b/sys-devel/mold/mold-9999.ebuild
@@ -83,6 +83,17 @@ src_configure() {
cmake_src_configure
}
+src_test() {
+ local CMAKE_SKIP_TESTS=(
+ # https://github.com/rui314/mold/issues/1370
+ x86_64-range-extension-thunk2
+ )
+
+ export TEST_CC="$(tc-getCC)" TEST_GCC="$(tc-getCC)" \
+ TEST_CXX="$(tc-getCXX)" TEST_GXX="$(tc-getCXX)"
+ cmake_src_test
+}
+
src_install() {
dobin "${BUILD_DIR}"/${PN}
@@ -97,11 +108,3 @@ src_install() {
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
-}