summaryrefslogtreecommitdiff
path: root/sys-devel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/Manifest.gzbin6214 -> 6218 bytes
-rw-r--r--sys-devel/gcc/Manifest6
-rw-r--r--sys-devel/gcc/gcc-12.4.1_p20241219.ebuild65
-rw-r--r--sys-devel/gcc/gcc-13.3.1_p20241220.ebuild66
-rw-r--r--sys-devel/gcc/gcc-14.2.1_p20241221.ebuild54
-rw-r--r--sys-devel/mold/Manifest5
-rw-r--r--sys-devel/mold/files/mold-2.35.1-system-mimalloc.patch64
-rw-r--r--sys-devel/mold/mold-2.35.1.ebuild105
-rw-r--r--sys-devel/mold/mold-9999.ebuild4
9 files changed, 364 insertions, 5 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz
index 3abed1f11b33..bee98405b8e4 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 8f2d64196fc1..9367d3784f75 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -13,6 +13,7 @@ DIST gcc-12-20241121.tar.xz 79909252 BLAKE2B c0ee7abfa350dd8bf3bb763b167eb8d869d
DIST gcc-12-20241128.tar.xz 79904116 BLAKE2B 74b4aa14d85656e64cacf0036e7662eae7b45dbf84eb17a5bdbecc02e54a6c32aa5d0ae7c591c2259202598c7a486c6a07197ff5f6cfcbb008129c2cfcca7f26 SHA512 158372f20ebf61618e829ac285e43e9aac55c7f98eebb5034a47bd024dd73d593cac703093752e695e4516478aaec7e7a95c352603df22b547b37bcde55ff307
DIST gcc-12-20241205.tar.xz 79911996 BLAKE2B fa4f78fd356920c8a6a1b7618e24fef95acf7b1c6b6e5fff71b66cdab5de25c32374f732ce8df8f97590f84409ae74e5aadc4b7fa10480da662266adeeec7db8 SHA512 e22b8f03504e26a5fb385d626485f18abcbffc449d5ad8d0d3796d588ff2a888d3698af706f833c7a59d01e9988ffabf7d316d7609abb8b7a3f197ec931bb09f
DIST gcc-12-20241212.tar.xz 79904024 BLAKE2B 11d6c7f83b64c84789b9764e1dc69be0332df47a04710ce20f13bbf8b685b212c336fc40ec59cb8a7d515bc08655610f9ca9d34aaeb3f562540ca50a48d21f4d SHA512 2b669f3d65b90974f644a54b5e15c74200b79f70cf91f0c5d3c6db7b860e49e97540e3487a7aa0fdd26dbd9a759bab9678dbe00a971830f8f898a0f9cc7dc8e2
+DIST gcc-12-20241219.tar.xz 79920016 BLAKE2B 71044352515f33eaf0bcc64cc6eacdecb8b7b1dbca6d8836b629f76e60320f5090178ff37b6804fbda0913c0f55afca37588647974fd72e9961edd338ccf6ffb SHA512 e0c08366f392083feb1ae242242e9bd335681234808ed44d4e75afe157be2814bef321d2327186d217f38bbb6176706e1258228904d31fdb3bb37c8e245dacb0
DIST gcc-12.4.0-musl-patches-1.tar.xz 3068 BLAKE2B e5e39c24934072ea89e4467d0dc5196f3dadfb5ffba0c856d051648a2fbf57d434a57e95227cdf2b8cea45f0f5555aec2bc372d2f6cb0b69efd87831d248d364 SHA512 b9db204845a25be043d76cae826d42eebeeb4f9be7c3049af6fe7601a552bedfd24731156a6a36b4b5e2e2af656a589a5c556d2b0b3ded33ba290a773ee87c62
DIST gcc-12.4.0-patches-1.tar.xz 15576 BLAKE2B 98c29888de7701b365be7ac9062f0cee3340d58c85485e26f0d02f1483ec64cc9c10651488a4fd937551afe30f4e19777e6766871a724ae3ba6c290c16f4fdf1 SHA512 3f7c5d36e56e07ea9dd143a5d13342a6c1ccbf0643abd1c0bcbfb46bb7c7b1308aef6e3e882031c9c191610f01af906b19be5aa2b139cf617614f46e97463aec
DIST gcc-12.4.0-patches-2.tar.xz 14876 BLAKE2B 6bf5abbb2abba4b9fe9fa153ac4112fe5f563e97cd4e1b885ccd0d88abf1124fa91f20d6be972e2242410447be73bca60014785f8551b8087ed0d4cc3e868225 SHA512 dfd5f02d4c1076fad4ee998b2f620171dd3eb65a1160312def9dae89b18327a06db853f569e0e3c049e5ab06c61488bb6faecec52bafe737fddeb43628c54a1f
@@ -24,6 +25,7 @@ DIST gcc-13-20241122.tar.xz 84515040 BLAKE2B 50f64a0d202cbcf27e1c3e31e9fa5eb3923
DIST gcc-13-20241129.tar.xz 84510968 BLAKE2B 7342df790d49e82d075bff2df94a5f78455bdabc9c376449091cb06197dd98cb7db6d8cb1fcccc3efef224e273c443248f1183f8bdb21f676640ebd8646d76c0 SHA512 c7a3d4c331324527cc2ff9ccce45e01a19ede413c391b9ca564149456e69d778c5d7d729da33097a2b572e5f5d61f56a81200a0cf6f3cf79be62227078b63604
DIST gcc-13-20241206.tar.xz 84526612 BLAKE2B 5b599a93082519c6535ea8cfe14648f28c3868236fee35ea75f9aba60a0601eaa8459ac8bdceda2f6994dc860b63fc82e9da8255ab6772ea0775d1a923900905 SHA512 217aeca85d4a9945c859bb4d036b3add5e3ded24a07f36e1f9ac450ef1a3dc44e93f1d976abcac660e49930ec473c8fc9db5b84187ffb5f6c0caa62adf54beab
DIST gcc-13-20241213.tar.xz 84503900 BLAKE2B 26aecd596244e98fcdabe0bc9325f10678debfb5bff6c48b021f57e46e500d431ef07a0f17dd9bf59c2ba1be4ea3d997ea3cb221ff9b50db791a5c423ce418dc SHA512 710266cd13631fa5189ed63298199e8b4ec0a19851c2714d0ce80f9cf17049f19c404f48430e07fcf3b10d2cd482aed08f414d7ed30c17e17f55f51912fdd6ea
+DIST gcc-13-20241220.tar.xz 84504500 BLAKE2B 60d6dcdcafa36399a0c0de7fef3a4eb4ca8e0b6780cd31c9eace2965c53115205bf64e8247b833a4375c1e3ad2d94820b5bdc97a4689be95d8ab55a676afa689 SHA512 10fe009dc3b8872b24350e4fb999f71b848bd5a03e48e8292f76e6eca3dbdef8383a3b13b813aada983ebdbe3ecab1642961b3210cd1e0063a86655a44493017
DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69
DIST gcc-13.2.0-patches-3.tar.xz 30956 BLAKE2B 29ce043b46645640ca1e983397af3e158588ad87575f0bc59451ea4a7dd5e3bb5b190ed031de6a22cd790d423ba111e95d222187dd09985dceb12db9f0a2d907 SHA512 4ffecae7be320124ad0c4e71e39e142b7aa8db0e70b5f486f491d7a33ea31efc6464c6abeea77df02a8bd5cf81f08225d625c8af5c27f9afa32c0d7d989f7a3c
DIST gcc-13.2.0.tar.xz 87858592 BLAKE2B 0034b29d3d6cc05821f0c4253ce077805943aff7b370729dd203bda57d89c107edd657eeddc2fb1e69ea15c7b0323b961f46516c7f4af89a3ccf7fea84701be2 SHA512 d99e4826a70db04504467e349e9fbaedaa5870766cda7c5cab50cdebedc4be755ebca5b789e1232a34a20be1a0b60097de9280efe47bdb71c73251e30b0862a2
@@ -34,6 +36,7 @@ DIST gcc-14-20241123.tar.xz 88234244 BLAKE2B 3975c6f6e5adbf8506136c58678a9d13638
DIST gcc-14-20241130.tar.xz 88209220 BLAKE2B 86cc5b455ca7a3ba53fb7c16785b7c23762c66dbc3ce27b6067cd834514464fa7057be3ebc780d909122e0220734106aeab5389eca4c372e25e7d6d52de9d3f9 SHA512 cf6ce7d4beca717637ace8fc285d771f9deb2db44dbd446b7a7ea45e1c1cf59b165d4054ea480f2e59f19af465f027cc0862f66c8088fd8fb1199e90d8486052
DIST gcc-14-20241207.tar.xz 88216972 BLAKE2B 0dab2b33486d435ebcb2f116834aafac9c35fa3b1659ccea3596ef648fb344cb0138d07810055399ea87ae357647c08515ac33178d4fad5bf47ab539910097b0 SHA512 df264c7ecc22aaa3d667757afc2afee7ac2010b6a32d28fecc5d9e9d0fb5bfe689117024f4a351569c3016321b28acd428ddb996ed01bae68d0d4b774f38d719
DIST gcc-14-20241214.tar.xz 88204340 BLAKE2B f9c9dcd323b7b3052582f5f48a9f64c410f3c6a3d5b81f836d00af3009955def923fc6d4dc4fd1379c3299c4a8d87f632a7a95c1c70c4d01dde203ab806704ef SHA512 92e16b6c0dbea64464b1745535ee54a9ea09d473851b42cc200a30b10681e220a0ac3b40fadded1c6832c3c4fd3e8057b4ce5b6f6d90cabe8b840f6f7f572ba2
+DIST gcc-14-20241221.tar.xz 88198252 BLAKE2B 7491c2e1c8885e201859143bdf5cae95af4c0db77709ec7d761ad535df30042f5deb8488ba7c508de3673e4b0f2af1de8d17476f39cd47b745ddccec6a9e4470 SHA512 91fe1e1d1f8e8fad64930a2eadf942a542bd42f841fceb49f475bccac00f04692b8cd38821ea9ee05f78b5c51001d8bd39df5f71f3a3d89aab8980019cea9be8
DIST gcc-14.1.0-musl-patches-1.tar.xz 3600 BLAKE2B 4cd920b7ca1f122cae806707564d8e45bfd48e78c88788a12a301f6068b5a5f335d8885e67479ac536c66aeaa81f2ecb7240ae56e9fc821a7246ab66b453711f SHA512 61c48d90a55dfc2129d96aee69d939d6a89f6407f69f7bd12c1a619f28989f471fd219d731958f8e62b0fd650c32300f0ad8dc06d5df23d9fc8c1a77fe210c25
DIST gcc-14.2.0-patches-3.tar.xz 13920 BLAKE2B 5b3efa54671581d97ae664e73629f247c776d84eea0b10f8d3223502582f1d1086fff86a6cde6c35b6b43d134af4dad3135d3de5531cfccb320a7fc884ab39ef SHA512 d47549e902055414142f650c7098f029410549741542553b1d0c0519f046a958561f92552e44f59663a7645d42316af5dab1462f54f50f2205257be6744c2fce
DIST gcc-14.2.0-patches-5.tar.xz 13532 BLAKE2B 0e594f00710f9ac4f8833092b74bc74ce82b54cea6047db654497ab216c45d593cce90a1a6f918ae7613628598f8037909e485ffb69ac06bae4a44d90f9a2ddb SHA512 18d7b3fbeb6b116b53b64ade636585f35e306bb49771b0f3a4a67d61edc7dcfda9e9bf9a3a9cbbec2512d35de4e235c397c044507e637387ede9b84070d0d666
@@ -64,6 +67,7 @@ EBUILD gcc-12.4.1_p20241121.ebuild 1624 BLAKE2B 0d7068a4fa409f73c89623cdc13e7e92
EBUILD gcc-12.4.1_p20241128.ebuild 1624 BLAKE2B a7c1a58a9199c739480806813ad26cf535a7c2dc7fc1cc43c5950aaa761dfce6fad44ca5c1200bb8a0ae946662643e923adcb24249b306d41ac56deb6fe0df46 SHA512 657bee4f4cc635f4c6891e0ddaf0b4922c0494cc96680687764ad07e922e70231375a0af37db8f8c3a8214d7e02ba001ca7fce8eaa06b5ed17b76385f5b4b2f9
EBUILD gcc-12.4.1_p20241205.ebuild 1624 BLAKE2B a7c1a58a9199c739480806813ad26cf535a7c2dc7fc1cc43c5950aaa761dfce6fad44ca5c1200bb8a0ae946662643e923adcb24249b306d41ac56deb6fe0df46 SHA512 657bee4f4cc635f4c6891e0ddaf0b4922c0494cc96680687764ad07e922e70231375a0af37db8f8c3a8214d7e02ba001ca7fce8eaa06b5ed17b76385f5b4b2f9
EBUILD gcc-12.4.1_p20241212.ebuild 1624 BLAKE2B a7c1a58a9199c739480806813ad26cf535a7c2dc7fc1cc43c5950aaa761dfce6fad44ca5c1200bb8a0ae946662643e923adcb24249b306d41ac56deb6fe0df46 SHA512 657bee4f4cc635f4c6891e0ddaf0b4922c0494cc96680687764ad07e922e70231375a0af37db8f8c3a8214d7e02ba001ca7fce8eaa06b5ed17b76385f5b4b2f9
+EBUILD gcc-12.4.1_p20241219.ebuild 1624 BLAKE2B a7c1a58a9199c739480806813ad26cf535a7c2dc7fc1cc43c5950aaa761dfce6fad44ca5c1200bb8a0ae946662643e923adcb24249b306d41ac56deb6fe0df46 SHA512 657bee4f4cc635f4c6891e0ddaf0b4922c0494cc96680687764ad07e922e70231375a0af37db8f8c3a8214d7e02ba001ca7fce8eaa06b5ed17b76385f5b4b2f9
EBUILD gcc-12.5.9999.ebuild 1592 BLAKE2B 287d83b5979c9cf974e890e5835bab37fa34a97dfc8fd473d1344e9896835a2980c885e7584649ebaede68b06dcf5cdbbc0f768aa1fa6c1603d3b0135a93d170 SHA512 025fa1a7803303e99c2186bc2eb2e69e9cd5401f787aa4eac2f0ad709558142130adff6fb75e610d2b9acf9ea7775540e4b249ecbd348d30167a04108e97d523
EBUILD gcc-13.2.0.ebuild 1682 BLAKE2B 5a19639504afafced19bd1ad913e3106a65d16b4b3d5aeabedb0cbc891bdac22d9cd0a21928eef51b88dcbbe64927fabe8fc9bf0fe19ea755ad5959bf5acfb67 SHA512 3865dff4bb19f022f6a1a2d653bc8f7eab9c47e99ec5b30e4600506faab301f410ff26f1155b5305f219f3b89f344cc8271aef8b6d6fb2568e8937d5867ea843
EBUILD gcc-13.3.1_p20240614.ebuild 1674 BLAKE2B 371c78ae5036d48e0b96fc621e6a7eb35347d810ad68c6f11d4702f8634e333fe1802cfbb2078c9a35ef18325b32fa7b3b898050eb9d65178ef1e3f24d990f84 SHA512 4fe1522f2700782bac8235524d95d3b596c6783dd08577f17e319c5d58650938a93d40e2dd07a4707cae60310247c83418c3dd31515346566e0d476cc79c9731
@@ -73,12 +77,14 @@ EBUILD gcc-13.3.1_p20241122.ebuild 1683 BLAKE2B a922595b41f142c96c1c540848375b16
EBUILD gcc-13.3.1_p20241129.ebuild 1683 BLAKE2B 7eb388fb9b127bafecda5064246bb53786601b283e352c557d9095e25850ca462d96cf4cd86b267253b59c6481914bb731dc7ca6ba7a3a34a627ee6f9e9b6762 SHA512 1e4f923a43d7af5d4b19e7f4e6d1cf65994bda692630fdfef55b3d23e724557bc531ee2cf7156fbe821413a8db10305e197b9fc7f3adbdf8de244f90fa43456f
EBUILD gcc-13.3.1_p20241206.ebuild 1683 BLAKE2B 7eb388fb9b127bafecda5064246bb53786601b283e352c557d9095e25850ca462d96cf4cd86b267253b59c6481914bb731dc7ca6ba7a3a34a627ee6f9e9b6762 SHA512 1e4f923a43d7af5d4b19e7f4e6d1cf65994bda692630fdfef55b3d23e724557bc531ee2cf7156fbe821413a8db10305e197b9fc7f3adbdf8de244f90fa43456f
EBUILD gcc-13.3.1_p20241213.ebuild 1683 BLAKE2B 7eb388fb9b127bafecda5064246bb53786601b283e352c557d9095e25850ca462d96cf4cd86b267253b59c6481914bb731dc7ca6ba7a3a34a627ee6f9e9b6762 SHA512 1e4f923a43d7af5d4b19e7f4e6d1cf65994bda692630fdfef55b3d23e724557bc531ee2cf7156fbe821413a8db10305e197b9fc7f3adbdf8de244f90fa43456f
+EBUILD gcc-13.3.1_p20241220.ebuild 1683 BLAKE2B 7eb388fb9b127bafecda5064246bb53786601b283e352c557d9095e25850ca462d96cf4cd86b267253b59c6481914bb731dc7ca6ba7a3a34a627ee6f9e9b6762 SHA512 1e4f923a43d7af5d4b19e7f4e6d1cf65994bda692630fdfef55b3d23e724557bc531ee2cf7156fbe821413a8db10305e197b9fc7f3adbdf8de244f90fa43456f
EBUILD gcc-13.4.9999.ebuild 1651 BLAKE2B 48ad06325489ff94c03e1a1584a9d92f3d624aa8c6a1bb1a55ec8818ef66a75b9acca9a3b18c2743d11b118f1643fecdd5be577f780dad86dc89f67ac095e761 SHA512 7670b8cd00501d127cfaa8ca283bf83b1b29cbe65aa3e2f956c0c3fb169a903f1ef55d298c05b833cd3a2b3e6a72c0f7a2145aca698be730e20fc1a1c406c2de
EBUILD gcc-14.2.1_p20241116.ebuild 1431 BLAKE2B d7a80df88dd4243d6864a3c10bd7cf50bfb3ef49ed7065040970695799b897f8713099db818db45ff167ee0e7ea8d6b8e94d04274ad394685e45df3eaedbe7f6 SHA512 07910535d1bad6dad4a717f58027e9763b7bbaef6dedec6af57fdca0f68f9e77a56c7f964f531e6afa3df920ee8e73a1094fd75d38b963609169d6a136608685
EBUILD gcc-14.2.1_p20241123.ebuild 1471 BLAKE2B 604432346e6d948408a19aca8b34f5db50d399d56984ac578b3a603cbd28b3350e88a0de1a1602ed472483ffffce4c1d963fe361f5adfd9b3754e69143e1151b SHA512 7dd673e55e27d00ae4c9be3ae828f836e78d280b72e9ac954f82c0f37a9bad05b8d8f5d12a2f2a94c82f7bd55d2d9ebe29ec104426c0ad7feb13835b1aba3c66
EBUILD gcc-14.2.1_p20241130.ebuild 1440 BLAKE2B 549acf35ea02eb6fd9564c47e05fb0f80d098a8f4dbbbb84bbda416d9b37c3800ce542d3dc41f0ee32e5f9e1dc620f3bab94261a77f03e4019a362c060d04bc7 SHA512 a7c078eace78b51148060ebc4e314f64f2152b4339b38983d46bc1853cc02bc45dea1556b6f4cf5db47129a620362341a8a19e76366035bdf916f5d55c527a15
EBUILD gcc-14.2.1_p20241207.ebuild 1440 BLAKE2B 40a02c1bbd853899c10c3d291e00a045b68d792c73cc25b2c933ecd4275f58819029b6db7ee0354eb8e1d83525d6f4ee52988bac9821dc2c94f5d207a2f2a293 SHA512 f342310f0709440bf7088aba6add24dd9d8b01511ba1025e25edd49824b245fc21151e4512fe9ec00a0066545cef9f2ac2ee299669c56ee7035031ae9cf1dcae
EBUILD gcc-14.2.1_p20241214.ebuild 1440 BLAKE2B 40a02c1bbd853899c10c3d291e00a045b68d792c73cc25b2c933ecd4275f58819029b6db7ee0354eb8e1d83525d6f4ee52988bac9821dc2c94f5d207a2f2a293 SHA512 f342310f0709440bf7088aba6add24dd9d8b01511ba1025e25edd49824b245fc21151e4512fe9ec00a0066545cef9f2ac2ee299669c56ee7035031ae9cf1dcae
+EBUILD gcc-14.2.1_p20241221.ebuild 1440 BLAKE2B 40a02c1bbd853899c10c3d291e00a045b68d792c73cc25b2c933ecd4275f58819029b6db7ee0354eb8e1d83525d6f4ee52988bac9821dc2c94f5d207a2f2a293 SHA512 f342310f0709440bf7088aba6add24dd9d8b01511ba1025e25edd49824b245fc21151e4512fe9ec00a0066545cef9f2ac2ee299669c56ee7035031ae9cf1dcae
EBUILD gcc-14.3.9999.ebuild 1410 BLAKE2B 0f77f0e17b7bf3d617ed4feec61406108d92e9ac8bd3597651b7f6814c45ddf56393228cda23fccf189e3fa106b9d389196da4f565283a10923bfe29a06fbfe2 SHA512 802582faf27fe46fcd75b8b917aa155739e4e0f70d010f14bf42cea3007da124a53fe1ee903e6004d4d8277350ac88d7ade78f79ce8a036b29e14dec45ba2d15
EBUILD gcc-15.0.0_pre20241117-r2.ebuild 1447 BLAKE2B 6a12ceb7b56aae61eea49ffe398edbf73768d78c50e3cce19b26adf52b04a114f62d1ffc1bd96a30b0ab12f1ff89d9820eb2b3a1c2959c56fcab9012f23d58c1 SHA512 8187e8a6fcb7fbcf20898e55efb6302331640cb874be44d699679c287575ef2e1ec7f49ed8db61d5f0d2bfcf90b6bd35ce9318841655bffff99518d8bdcdb470
EBUILD gcc-15.0.0_pre20241124.ebuild 1360 BLAKE2B 39e50bebad9adbae4866c7a6be7cc79ebdadea6c117519b9360c3cac494d04c87877e258ff180b9592e26fb1deffda73f519ae625e5f6388d7da6ec280455749 SHA512 1773a80bf4f0068130901d8287e25f9a19829f1b510fa6ac00cf430cb8fe33fb574a67bf9ddaa5a6321b445663c4ca16af5c95815c57eeca7a589684ae38e84d
diff --git a/sys-devel/gcc/gcc-12.4.1_p20241219.ebuild b/sys-devel/gcc/gcc-12.4.1_p20241219.ebuild
new file mode 100644
index 000000000000..e358f3fa9358
--- /dev/null
+++ b/sys-devel/gcc/gcc-12.4.1_p20241219.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"
+TOOLCHAIN_HAS_TESTS=1
+PATCH_GCC_VER="12.4.0"
+PATCH_VER="2"
+MUSL_VER="1"
+MUSL_GCC_VER="12.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 ~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}"
+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-13.3.1_p20241220.ebuild b/sys-devel/gcc/gcc-13.3.1_p20241220.ebuild
new file mode 100644
index 000000000000..9267c223d8b5
--- /dev/null
+++ b/sys-devel/gcc/gcc-13.3.1_p20241220.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+TOOLCHAIN_HAS_TESTS=1
+PATCH_GCC_VER="13.3.0"
+MUSL_GCC_VER="13.2.0"
+PATCH_VER="2"
+MUSL_VER="2"
+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 ~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}"
+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 "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch
+ eapply_user
+}
diff --git a/sys-devel/gcc/gcc-14.2.1_p20241221.ebuild b/sys-devel/gcc/gcc-14.2.1_p20241221.ebuild
new file mode 100644
index 000000000000..2120e54a5d65
--- /dev/null
+++ b/sys-devel/gcc/gcc-14.2.1_p20241221.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+TOOLCHAIN_HAS_TESTS=1
+PATCH_GCC_VER="14.2.0"
+PATCH_VER="6"
+MUSL_VER="1"
+MUSL_GCC_VER="14.1.0"
+PYTHON_COMPAT=( python3_{10..12} )
+
+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=releases/gcc-$(ver_cut 1)
+elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
+ # m68k doesnt build (ICE, bug 932733)
+ #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~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}"
+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 "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch
+ eapply_user
+}
diff --git a/sys-devel/mold/Manifest b/sys-devel/mold/Manifest
index 837a9d6e1054..44761711255d 100644
--- a/sys-devel/mold/Manifest
+++ b/sys-devel/mold/Manifest
@@ -1,9 +1,12 @@
AUX mold-2.34.1-linux-6.11.patch 940 BLAKE2B b089023c689323046456d7484d89f6577feabf90f4695ee512cadccd6fc07869b2c0aad5854cca2c67eb0dc0d7b2f0f5437c7e5c870348042dd0038ff4466d22 SHA512 6d67d779a10ea82aab807f76b2314e152e65c9d8a0daa5f565bd91a13eb8f90fd4f86b2c45f3c87249871ecd17fe0642e93430e3d86989b65a719658ee2c0163
+AUX mold-2.35.1-system-mimalloc.patch 2389 BLAKE2B 064158b46264e45aeaa6ddc1d1abf596fbd0acaf3ced214ca12b79c380808ec45acabe4b1171ba86dbbabdf417e65fd3ff467c3b04adac936e4de0f4356340bf SHA512 73c2ceb112a6d3d45e5e7f72f918e31063fe8d0eb7932cffa6ac84952f3848d4639a1a6a32b3e4ecb53d27f72716a4ecee9e56a4148a8e600b2cb0f072b39a63
DIST mold-2.1.0.tar.gz 9278811 BLAKE2B b31e13f92177553adf5069cf35c8c75c7bc28f0af4d1726cdc0c6abc1c9d3baaa5be512c3a8fb9bc3c3110096a79e1c6751c701171769595a2234fc1fa8c441a SHA512 f1c98d349b35b4042109d71f7db6eb8d7d089dc3241735bbd7b5402d513dcc85ca17904828779e5fc8234650fa9fb97f47c3a2f3e89cc2fb3cb9e9110439e5a2
DIST mold-2.34.1.tar.gz 10057683 BLAKE2B 9a9b166e64c4e5d48631147e781ce0d58acf76420f172bdee31fe5c44f37a8e2b098ae5696b52b668255f9a5967b0fb567a51d9fb8b26cddba0e14ed5a3e3464 SHA512 6ddfda8b81b710555272ee67eac7f2b3088a7a78f308843caa1730c1b631fc7031b8f5eac33379b9926c9f000d7b27864c12bb62ea75051d2f1caf9f9d2946ab
DIST mold-2.35.0.tar.gz 10056856 BLAKE2B 9b039031047263aa959aa6f2bf296d11d51bf02d0a66afa76e08200d4547ee5d66cf522497b86fce7fd8cbd43559b8d19ad0264c749833988592cf7291fd55fe SHA512 6f7be924cb6ea38c0089f0c34beec9ef51160daea3510dac4ed68c519efefe4496739271b35c271f7384c9e436bd8a0636ce47e0847aa2b4daf227accecc7314
+DIST mold-2.35.1.tar.gz 10094602 BLAKE2B 4943588d116a4631ad4404a4f2d92c4f9745546ec1ab7054df2af766f270c634c571f90d5e224f5441e48a3b310819f6993e56d5574c60032dd547d68d08fc64 SHA512 30d9cadfe57288e80ffcaddf1bf7df7b3bff75d337ea2b612bdffa3de3f7bd908b02d24c1f848d4ad0e82f72cd0e04c33ddd01d23c549d81aac5af58e63dbab4
EBUILD mold-2.1.0.ebuild 2169 BLAKE2B b91dec8fb9890052e06cf40124f7647833a6ea786d95d44863848bfff17c0ba335f28aaac08d6971a619dbb845b9091d1134bae47f70bd811d2fde0f9ca11066 SHA512 5d27926e5003e6bd24ee3baf8258ab043aa660b7a36918500283bbec9d991ad8ea6971add52579ba6ee10a7eeeb97a6dff3a7e065c7292ced42d2f0043e33d1e
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 2591 BLAKE2B c3c6e2f435b2e42230c9efaa90ca7f183c55d7dc15c16d1cbceadac99dc50103e164b1408ecb8081a84b944493aa3afd918aad02c55caa768a7aa9791183f8d7 SHA512 8cdecad2618ab9d82828af0016806d110b8adef0361031c7882ab258e8fbbac78a98e5b3b036f4b5fccc1b72f3315eb0d56e32e87927a6bd171deffef0bd27a7
+EBUILD mold-2.35.1.ebuild 2588 BLAKE2B 0eae4255e1829716d33bcb4e16f3498add897e253098ba66c16a0a2ebf0412360278a87a2670572fc4bb39b634434ac45948732be5e15fc94308aa2d6120789a SHA512 7985a2270d8e459e7260504d79dfe5b0276233cdfc8bfd2894e896b92218e1a6d6e96e742bada35a539d7e39800558e0f379e2e41efd15e6b8feeccc5fd95aef
+EBUILD mold-9999.ebuild 2533 BLAKE2B 3eeacc3dd5ff48ca4d836c93159d1d8f0045c995a494934dbe77b4888adf1348244ff8e358794796855a5542e86c84af082970854a2b9897b8b66315da0a4944 SHA512 85986bd7f93da14a5b6f883ca7d266a322b049d780a136a94f49975a34825e681d083c9180ceb6c5d0c7e3dba47f4b560c70edbe3f290c823ce1bf6d986600ec
MISC metadata.xml 424 BLAKE2B a1c0cbdcb86c323fa1e6143c9665ec548f7713e74002a25b2fc26c51b60dae00922d3448a5aaecd5027a8cb026a681386ca7dea90657a3e10b25fb194dafc0d3 SHA512 1adc934e78ca0210743a1aa7479ebc4b5ea0b66a348c4408423460f02b404b885d3a8eca6e89ea8ac53ac9c76e85116965f1eef79e3f3e1f0451c8cf5ce0dfd6
diff --git a/sys-devel/mold/files/mold-2.35.1-system-mimalloc.patch b/sys-devel/mold/files/mold-2.35.1-system-mimalloc.patch
new file mode 100644
index 000000000000..c0abe4b5fd68
--- /dev/null
+++ b/sys-devel/mold/files/mold-2.35.1-system-mimalloc.patch
@@ -0,0 +1,64 @@
+https://github.com/rui314/mold/commit/9c9145eb6e5381b69f47bdfb11eeffb7b9febb8b
+https://github.com/rui314/mold/commit/ac9568f17b9054e92fed95a862ec83701336cd37
+
+From 9c9145eb6e5381b69f47bdfb11eeffb7b9febb8b Mon Sep 17 00:00:00 2001
+From: Christoph Erhardt <github@sicherha.de>
+Date: Thu, 19 Dec 2024 21:55:41 +0100
+Subject: [PATCH] Add missing `#include "common.h"`
+
+This allows the compiler to make sure that the implementation of
+`set_mimalloc_options()` matches its declaration.
+
+More importantly, it indirectly pulls in `config.h`, where the macros
+`MOLD_USE_SYSTEM_MIMALLOC` and `MOLD_USE_MIMALLOC` are conditionally
+defined. Without these, the build configuration is ignored.
+---
+ lib/mimalloc.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/lib/mimalloc.cc b/lib/mimalloc.cc
+index 637d5e8ce7..823b91b8e9 100644
+--- a/lib/mimalloc.cc
++++ b/lib/mimalloc.cc
+@@ -1,3 +1,5 @@
++#include "common.h"
++
+ // Including mimalloc-new-delete.h overrides new/delete operators.
+ // We need it only when we are using mimalloc as a dynamic library.
+ #if MOLD_USE_SYSTEM_MIMALLOC
+
+From ac9568f17b9054e92fed95a862ec83701336cd37 Mon Sep 17 00:00:00 2001
+From: Christoph Erhardt <github@sicherha.de>
+Date: Thu, 19 Dec 2024 23:40:12 +0100
+Subject: [PATCH] Disable mimalloc when a sanitizer is used
+
+Combining mimalloc and AddressSanitizer triggers a segmentation fault in
+many tests.
+
+Combining mimalloc and ThreadSanitizer leads to duplicate symbols for
+the `new` and `delete`
+operators, causing the build to fail.
+Example message from a failed GitHub Actions build:
+```
+mold: error: duplicate symbol:
+third-party/mimalloc/libmimalloc-debug.a(alloc.c.o):
+/usr/lib/llvm-18/lib/clang/18/lib/linux/libclang_rt.tsan_cxx-x86_64.a(tsan_new_delete.cpp.o):
+operator delete(void*, std::align_val_t)
+```
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d8643961d9..c451ea952a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -180,7 +180,7 @@ endif()
+ # be stable on 32-bit targets.
+ cmake_dependent_option(
+ MOLD_USE_MIMALLOC "Use mimalloc" ON
+- "CMAKE_SIZEOF_VOID_P EQUAL 8; NOT APPLE; NOT ANDROID; NOT OPENBSD" OFF)
++ "CMAKE_SIZEOF_VOID_P EQUAL 8; NOT APPLE; NOT ANDROID; NOT OPENBSD; NOT MOLD_USE_ASAN; NOT MOLD_USE_TSAN" OFF)
+
+ cmake_dependent_option(
+ MOLD_USE_SYSTEM_MIMALLOC "Use system or vendored mimalloc" OFF
diff --git a/sys-devel/mold/mold-2.35.1.ebuild b/sys-devel/mold/mold-2.35.1.ebuild
new file mode 100644
index 000000000000..142325bfb19f
--- /dev/null
+++ b/sys-devel/mold/mold-2.35.1.ebuild
@@ -0,0 +1,105 @@
+# 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}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-system-mimalloc.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/{{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_test() {
+ 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}
+
+ # 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
+}
diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
index d7e4c65e6171..e0398e86fe4b 100644
--- a/sys-devel/mold/mold-9999.ebuild
+++ b/sys-devel/mold/mold-9999.ebuild
@@ -34,10 +34,6 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-PATCHES=(
- "${FILESDIR}"/${PN}-2.34.1-linux-6.11.patch
-)
-
pkg_pretend() {
# Requires a c++20 compiler, see #831473
if [[ ${MERGE_TYPE} != binary ]]; then