diff options
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 6 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-11.4.1_p20240321.ebuild | 65 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.3.1_p20240322.ebuild | 65 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-13.2.1_p20240323.ebuild | 66 |
4 files changed, 202 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index a44da4b7ee32..ef6276f6e007 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -10,6 +10,7 @@ DIST gcc-11-20240222.tar.xz 76255148 BLAKE2B 9a406e85ccdb9447b4672841d84cb248618 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-20240321.tar.xz 76258724 BLAKE2B 0dc063532dbf45262cd5167f2350647da2c5d08d040caa82160bce6a9a758d85d7204647e1c17f523d1d7ed72e7c3f01ade57245c3efcb81bc83a3b12615220d SHA512 1756cf81a9a9d75264d7734f5ab68968e28aa33fbccf978ff5658c5141b03deefc7cd0a8447adc6463583f47938509637ad0a96c962487c63ecf8d91bb25ce0e 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 @@ -18,6 +19,7 @@ DIST gcc-12-20240223.tar.xz 79826600 BLAKE2B 408f3193c1254f3155b1bc679861fa4c994 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-20240322.tar.xz 79850504 BLAKE2B e13f49d214c3a99da5f5eb29a66c296c3c38513d5caa323493eaa261283eb9edcf1f7a6668a92dc3e902ae5517637287c73b945c3dcc4054a6cd10ac02b962b7 SHA512 d7f33c05164320f2fe2d3647b2f768c91eb3289db4c00d64d05562c496c6daa3e180d4ce315db50b4c13cb92378e787402971f76649c367016fa027bf4ed2a2c 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 @@ -27,6 +29,7 @@ DIST gcc-13-20240224.tar.xz 84381840 BLAKE2B c40a3610bd65ac3cb7a1c5e446b202af33b DIST gcc-13-20240302.tar.xz 84369428 BLAKE2B 0fdf900b46fe169293a9f83978336d5d3c20625a21223e68c6eeb8eecae2b5eeaf2bc228b7b4efbed1de694c72a6f01ca571b901417db797f554942a1ee7adea SHA512 bdebd939c733ead675a7428731968818e0ca9827ae6216d7811e04c566c683bc2eb3a4e6eee0951a81fd73e0461fb7aa3b4026b95d9e5954a20bca6e459eb12f DIST gcc-13-20240309.tar.xz 84389404 BLAKE2B 1c3770da42adc26d49a43c05bcd574193666c9969a55ac8cf3ecbb7bd15498d1b55712831aee2e91cb744ca005544a96ce4d4b5b53fccb3cad100cab986d1119 SHA512 2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e DIST gcc-13-20240316.tar.xz 84395460 BLAKE2B 6c8819acdee01a28751f007c91d0d22e15326ec64e32f824da513738e90cca950e64773043d2688ae9e2519f91b7333e58a76d3e8b6e03a21e01407afabdb62c SHA512 e2241e407ee6a407f8f3d51668c3cab6981e56ca249f3e37215e7ff90bf85e126388e0fe62de1f452aa12378a144755c4ff24eaf9ffab6d0cd6757c3924e1d96 +DIST gcc-13-20240323.tar.xz 84414636 BLAKE2B cd95fc9d83d9e2477597543af5ec4e9ac82029eca6deb8cd8f82b71132e3a54e5a770be201c9e596c48f936a169f60e19979128527f41086a9a12deebbfebb26 SHA512 b25fb0efbe7346f72407ad1102d877f2ed5b40a8bff88018db4541d15cd47a849d7aeb8706be3c2ca6256fc073fe6881c8ba74db220c80b01666195d3be038d4 DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69 DIST gcc-13.2.0-patches-12.tar.xz 47404 BLAKE2B ed018bcd7429d1c7aace746cbfc4e59dae409fc0a35231320c1b44c96fff0d912eba5c72109c2deb883f5368159df02148b2d4373396b34da882164c61fe4387 SHA512 b7872a03870bce7b633e4af4329b24fe8f3d50d6d9173f63549f606ce062787748af7f79e7ec4afeb768968d6e8462a849bd1b94316ea6bb284551f99e811617 DIST gcc-13.2.0-patches-14.tar.xz 46928 BLAKE2B fce23bc5315f35b04a4976550c4b44578944a1b17e40c7553351eeb8a1ef0f3a2538da5a5e1ae6f37b784ff11bbd8a44b8f6eec542be63e34d984dee69e1cd81 SHA512 d7d52bb2915fd89c06b0134bede8db939cadbb1f2dcddf923bee2c3f9f577ff9e5e986b60420d892539edf82867a0d1bd635807814bc618b06a2b37cdaca893a @@ -51,6 +54,7 @@ EBUILD gcc-11.4.1_p20240222.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf3 EBUILD gcc-11.4.1_p20240229.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf37b23b650d63dbc2676babe652c6f5b0131c7f0f3cd1e25a29b10a44755647f690cb4f0a34a993890b447e11eda083546 SHA512 b9dd8fedcfdcdfb9e5b5adf3ef99f7f3b0646c43fe399238a04ed4aa6746de0adc699fb6d11fe0bde3976e5d67b8dd33bba072e727bdbc808eba66d28e7113e2 EBUILD gcc-11.4.1_p20240307.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf37b23b650d63dbc2676babe652c6f5b0131c7f0f3cd1e25a29b10a44755647f690cb4f0a34a993890b447e11eda083546 SHA512 b9dd8fedcfdcdfb9e5b5adf3ef99f7f3b0646c43fe399238a04ed4aa6746de0adc699fb6d11fe0bde3976e5d67b8dd33bba072e727bdbc808eba66d28e7113e2 EBUILD gcc-11.4.1_p20240314.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf37b23b650d63dbc2676babe652c6f5b0131c7f0f3cd1e25a29b10a44755647f690cb4f0a34a993890b447e11eda083546 SHA512 b9dd8fedcfdcdfb9e5b5adf3ef99f7f3b0646c43fe399238a04ed4aa6746de0adc699fb6d11fe0bde3976e5d67b8dd33bba072e727bdbc808eba66d28e7113e2 +EBUILD gcc-11.4.1_p20240321.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf37b23b650d63dbc2676babe652c6f5b0131c7f0f3cd1e25a29b10a44755647f690cb4f0a34a993890b447e11eda083546 SHA512 b9dd8fedcfdcdfb9e5b5adf3ef99f7f3b0646c43fe399238a04ed4aa6746de0adc699fb6d11fe0bde3976e5d67b8dd33bba072e727bdbc808eba66d28e7113e2 EBUILD gcc-11.5.9999.ebuild 1628 BLAKE2B ef06d478aa03374908e4de6c2f72f09e542adce7c65f35ccd67cd064516c79c31c269f2032131587eb87ab17cd1e3f50bb0fa2d2481034556776aadfcfe1f923 SHA512 a73fc1b465111928150e137ffbfa68b94beb500d35051a7c6792a96100eb77cfd878d2d29a5d0ea11b1128a0ecd7db773c934941d74a033270b67ccbf3704df3 EBUILD gcc-12.3.1_p20240112.ebuild 1659 BLAKE2B e7173a878d8142dd0ee6894834f2d22df58833bd28e1cd8f694f739c0c5ceda1023a341962948393dc429b457df99f48c7745925dba0bceb834069944db0bbe6 SHA512 269e89b36175df1d213b206be1c634a3a9d0bad2ec631f0efe34616f263796f2b347ded794ccc78b0e4b2cc9864612ec9f7b28fecd24d198cc187cec4779c0aa EBUILD gcc-12.3.1_p20240209.ebuild 1659 BLAKE2B 17b2b2cac581d805ff5599a5e66805207721bcdb43eab0533ace70831a4fea200c2c83b50f9da88ccbb1db9aad309af240ff799980d47e09258e667c3b20f076 SHA512 b05747108fbbb4eca4e7db03b3975481e473cc07f77b30c51588ed1096fec1ea4c89d73cb11cc3316d8bafe86f867c666bbbf0c6f893763bcf0f3a04045c5e42 @@ -58,6 +62,7 @@ EBUILD gcc-12.3.1_p20240223.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72 EBUILD gcc-12.3.1_p20240301.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72c337e9bff179534967bde9e4b7c26151ae2fe93e6d05ac2e2b8ed965914e1c2b7e34ab947def1e01fa6748cc01e070a5 SHA512 ec9068c3af29d60ff4b397cbaa16604f33d45f0ac0a57742b1d6b13d2273785f12b3950e097f93d1e527e7ed5fdc844e6421b21360316a8a9da52e6144d4ae17 EBUILD gcc-12.3.1_p20240308.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72c337e9bff179534967bde9e4b7c26151ae2fe93e6d05ac2e2b8ed965914e1c2b7e34ab947def1e01fa6748cc01e070a5 SHA512 ec9068c3af29d60ff4b397cbaa16604f33d45f0ac0a57742b1d6b13d2273785f12b3950e097f93d1e527e7ed5fdc844e6421b21360316a8a9da52e6144d4ae17 EBUILD gcc-12.3.1_p20240315.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72c337e9bff179534967bde9e4b7c26151ae2fe93e6d05ac2e2b8ed965914e1c2b7e34ab947def1e01fa6748cc01e070a5 SHA512 ec9068c3af29d60ff4b397cbaa16604f33d45f0ac0a57742b1d6b13d2273785f12b3950e097f93d1e527e7ed5fdc844e6421b21360316a8a9da52e6144d4ae17 +EBUILD gcc-12.3.1_p20240322.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72c337e9bff179534967bde9e4b7c26151ae2fe93e6d05ac2e2b8ed965914e1c2b7e34ab947def1e01fa6748cc01e070a5 SHA512 ec9068c3af29d60ff4b397cbaa16604f33d45f0ac0a57742b1d6b13d2273785f12b3950e097f93d1e527e7ed5fdc844e6421b21360316a8a9da52e6144d4ae17 EBUILD gcc-12.4.9999.ebuild 1635 BLAKE2B 0d06fd80b8a92a3fef8ca50261424d7a88a9c32ac1eb7944adc0f30dd157338ff252a92ef149819b0ad95b26860b8cb6daffc2e27fa5b864d0ce60a5f12d4585 SHA512 349ca2be138722efd8460a9ba825b1f2f054828b39e06beb8f18c2464c820aad10d6442660fccb1bcf862116a6ed5c819ec82b09ff96ac260075901ff189c22e EBUILD gcc-13.2.1_p20240113-r1.ebuild 1719 BLAKE2B 60e1566a6db15aef3078ac0bd2dfac63b4424bbcbf6714cc73c0da83570352bd6af334ec067b403324cfdbbcbedbd869224af626a551c1afd5c4a27e77b1e46e SHA512 2bab4ba67ecea1bdb0c4622d98538efb99f52e0579b34a952949dfed2752c3a767e805a195e1206aeea5e61f40ec64fd34eec9e80db580aa3ad52159dceb2a68 EBUILD gcc-13.2.1_p20240210.ebuild 1719 BLAKE2B d9bb1a8b735e2c5fa305aa1f5e4ce4587a856b340c014487207af8ad86802d64899a456db80b70f2e35bad69c786025e6af9ece297e8e8b1f6446b1253cb8c62 SHA512 5aa59cd0299ad724e19044ef0393fe1b9e5ba885bad2d9ef9dad7bee5c54ab9bbb44fb54790a42f03b41d9d21446afa52388eb54d6aed385922490fba1f5a683 @@ -65,6 +70,7 @@ EBUILD gcc-13.2.1_p20240224.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035 EBUILD gcc-13.2.1_p20240302.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035692328e801ec7ae86fadfcd61fa55a07e89685d8d65738d62e80ea0bba09ca4a034801af7abe34ae983ed4b963f3f295 SHA512 4497f79d76027fa8110af1ed7fd4f59e00e673416f86a7db5657287a8d1b7cf21df071c690d1fb03756e79f0219e55c3fd5eed6806aca5aec2f204ad20ec0125 EBUILD gcc-13.2.1_p20240309.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035692328e801ec7ae86fadfcd61fa55a07e89685d8d65738d62e80ea0bba09ca4a034801af7abe34ae983ed4b963f3f295 SHA512 4497f79d76027fa8110af1ed7fd4f59e00e673416f86a7db5657287a8d1b7cf21df071c690d1fb03756e79f0219e55c3fd5eed6806aca5aec2f204ad20ec0125 EBUILD gcc-13.2.1_p20240316.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035692328e801ec7ae86fadfcd61fa55a07e89685d8d65738d62e80ea0bba09ca4a034801af7abe34ae983ed4b963f3f295 SHA512 4497f79d76027fa8110af1ed7fd4f59e00e673416f86a7db5657287a8d1b7cf21df071c690d1fb03756e79f0219e55c3fd5eed6806aca5aec2f204ad20ec0125 +EBUILD gcc-13.2.1_p20240323.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035692328e801ec7ae86fadfcd61fa55a07e89685d8d65738d62e80ea0bba09ca4a034801af7abe34ae983ed4b963f3f295 SHA512 4497f79d76027fa8110af1ed7fd4f59e00e673416f86a7db5657287a8d1b7cf21df071c690d1fb03756e79f0219e55c3fd5eed6806aca5aec2f204ad20ec0125 EBUILD gcc-13.3.9999.ebuild 1635 BLAKE2B dd8eb497c0352febec3886808c4837e880b858ea20e68135ea72432919a9a7ff4a7e130912c06aad1e6db31f30db3e697f7978df1644f181d824be0ddbfe096c SHA512 211e181b1c449adefeedd28f6e304eac634797e897c39418da28d0ab20f5f33cfae7c10710f007fa0690cd049abd6e4a5adbd5dd02aaa6f532cbb2a593692fc0 EBUILD gcc-14.0.1_pre20240218.ebuild 1642 BLAKE2B b6a17ead270ae2a3b39096790ec2938b96197c94b79b00db31cec78ea2078ae3117233cd151d1cad064645928b9acdd65eb1322cd04e36b7ed1fa0ab05eb053f SHA512 8d9d5d954458c4e7da05d64d1ee6149baad25c503e53fe0b01215758f3ed80d6a90be1b489f4a453b60f40cda21d41a91ef954b85f5bc3b938dd0b61a49656de EBUILD gcc-14.0.1_pre20240225.ebuild 1701 BLAKE2B fd47216c3898270e46d4e9f08a400e7661974346ef2070691da917a3f9b1bbaf643a8ebb6298fedb87335e3108bf20bc24527405d8dea6c4478624b8afa9634c SHA512 36cddbbf04376cdff1bd401c2012a8f13ee111a6af42dbe82cb0e591856c354d7a5e2c52e647fe47dafba1a3f94a41bcb560a08d8bac5f2b894d747b161a40eb diff --git a/sys-devel/gcc/gcc-11.4.1_p20240321.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240321.ebuild new file mode 100644 index 000000000000..5ab7ed2dbcfa --- /dev/null +++ b/sys-devel/gcc/gcc-11.4.1_p20240321.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..11} ) + +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_p20240322.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240322.ebuild new file mode 100644 index 000000000000..2c4b89e72445 --- /dev/null +++ b/sys-devel/gcc/gcc-12.3.1_p20240322.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..11} ) + +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-13.2.1_p20240323.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240323.ebuild new file mode 100644 index 000000000000..1e4b87a7546c --- /dev/null +++ b/sys-devel/gcc/gcc-13.2.1_p20240323.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" +PATCH_GCC_VER="13.2.0" +PATCH_VER="14" +MUSL_VER="2" +MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) + +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 ~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}" + 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 "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} |