diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-13 12:26:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-13 12:26:41 +0100 |
commit | 482a48c0e1675b1e92663b8b5222bb7261aa7956 (patch) | |
tree | b81e02db1810214fc690a762e3a9c687d0f0c5ab /sys-devel/gcc | |
parent | 37bccfe5e76c5740c4ef5ba1179e9488d8404075 (diff) |
gentoo auto-resync : 13:07:2024 - 12:26:41
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 6 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-11.4.1_p20240712.ebuild | 65 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.4.1_p20240711.ebuild | 64 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-13.3.1_p20240712.ebuild | 65 |
4 files changed, 200 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index fc5f7724bfa5..21e8d83b5f22 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -12,11 +12,13 @@ DIST gcc-11-20240626.tar.xz 76282132 BLAKE2B ff4934566462df8a4041ac7749d17f1bdba DIST gcc-11-20240703.tar.xz 76281780 BLAKE2B 63a1e5ce1dfd572a2dad69cf45b77a9ee361886e8e391f3e5c47ebd4faa9938260c958c27f0503c30c596e5d2f62aebb1dff521dec08a2d487820d450387a484 SHA512 3ab37094a1a626c050caf039189eff1f3d1fb9dd36c9205088bcd6d828e1556219fe41de34053a55c220f76ac3431c44a15b37c5b11e3c59d0123b4c1d5fbc26 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-11.5.0-RC-20240712.tar.xz 82514756 BLAKE2B 075512da838b9e71961519ee5f99e8fd5dbc119594278859064c9137b7ad91e3a31fa07fd2f04f2117d53b163d195da9e8231adc4faf6887858d057337af8605 SHA512 fcf0dbfa1cd044afc4a5773deb7b4b64700877d6917b5b95b726429e15a1dc489fe9be4ea40e5876b6d84924817ff170c6b306b3392ccb198c92a8c32d3c2571 DIST gcc-12-20240209.tar.xz 79824868 BLAKE2B 1ae5a646da470f06648c4766c77475ceb287c5f6647d5102f1aef6590f973233d5e7f83b5e0241488d49dba59dd605c211938379e68a393a2dccb3834103ae4b SHA512 9f9a04f4477f41bb2a5662aedef2af75b039de50c2dc99310e504e6080cb7aae06a1255337ea2e563975cb108ddc6766adbbaf4e3d5d5712801d7ba9a5209dbd DIST gcc-12-20240502.tar.xz 79851984 BLAKE2B e3ed4f4fb20ce2ed421fadd40dfd1c6831759228925002146c316683cd0aef47792f433dc9ab120fb79e2afa2aa83cbf68f6b82e97615cac500322d4f0d1cce9 SHA512 c46e6b00f65d96afc65ce6cc9f7591ff81d5789aff9f49fc6fed96047fe27e24a8a103f0b96485e4a717600aeb9b45933ccbb2191eb087275fc1350629c9b842 DIST gcc-12-20240613.tar.xz 79875076 BLAKE2B 48b57f834df842c72e08dc9ae3637fdc5fb381f0f50a045a43ff3003271b7e8fa3c92a420447911a71df1184b25c2aad084d80bef8194a6468ddc21b1730b69e SHA512 1d149f6347f314a414bb279e20ae48bea2c9baa03257e3636515a74b389065a7cb6e5257f62334a307ebf6ef7ff142362e69967acc33b92a7fe21eea2bd52ee5 DIST gcc-12-20240627.tar.xz 79897928 BLAKE2B fa1d1bdc3f309a915fa9ec9bc4f0a04ac8d0ad70f6ca9ebd5fb8907e3c81f84f0045bfb3d2c6650465a21464d21453519b15251153efa281579e0eaff450268b SHA512 4042f36bf265d8302bbdad7046717743e52b505ca0a8d495b5a4d495f6bd558226499587f24680900b7860a3899384cfdf7f966e84773f2a71b14fa07bbf09ff DIST gcc-12-20240704.tar.xz 79892516 BLAKE2B 1dc31bdb8d37073a819a0b590cf6517b384d2985f12103ee52a2dc5c877a9a8aadc05814c94f0e420575950d891aa9fca33939fc67585471ae841255018de781 SHA512 caf7094a196c24805526834bd66b2ee240ee3828b94f85a174618082dc591249bfb4a04375a890c6e286b81ffe1c2a14bc0ae1d69dec6c1ee13ad1cd1d0bac36 +DIST gcc-12-20240711.tar.xz 79899144 BLAKE2B e1dad8f14ac0413c31ebb516551ef6891c43ffb2161efc6224a59a758cb5936a8b6a5db3ee0ea84c9a013dc3e7a3cca2abdec138cfb17b430d1ea926811f632a SHA512 e3a9b14edb7cf8f5a1d27652b60a4bd9b6aa553ffc5bfa6dc53113e327a4a1f2cfedd3ea5a3a1c074f47d7008cad89d721844a863d762343fad8b37d3ec55083 DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B c7bf65f7c9ea8023ddaac821ee2b778622fa310ac72a72b2f7032494a8f304eac86217f9204622e6c21aaef9952bece0d09bc126facd4f42b602927909815ab5 SHA512 babc279fea2c1fd4c018815f2f5630214fd46015ce9f365c28af242681d51818eaca30ce298eddcab1eed5ac5f2759e2b47b2335afab9d722b4469a6d4fec326 DIST gcc-12.3.0-patches-3.tar.xz 14852 BLAKE2B 7a5f1f43063b15f424099afd72096212fbbbc5151ff01f2de15dfb6e7cf274981c8cfaedba9ef61576c9096fb172fc550a7deb5cd7d9366fd249fd5dd3951f76 SHA512 aa89e4c2ae02f4fb42229ad5167f2eaa3a8fae51118645bf07199fe2124b9c83948590662b053d08002ef709fa870ea88315fd4ccbe4441a74e9cb62edcb82fb DIST gcc-12.4.0.tar.xz 83377372 BLAKE2B 0d5aa9995bf53fa2dc976a846240cfb8fafd125ad6c54f45dc9d770215eae3e9ea0db82a9a4f79c51b4d5f8461a1d730c17db6841bc31bd96dba11d9ed7544ae SHA512 5bd29402cad2deb5d9388d0236c7146414d77e5b8d5f1c6c941c7a1f47691c3389f08656d5f6e8e2d6717bf2c81f018d326f632fb468f42925b40bd217fc4853 @@ -25,6 +27,7 @@ DIST gcc-13-20240503.tar.xz 84417232 BLAKE2B 4024852c3252667054e6086263b2a0e21df DIST gcc-13-20240614.tar.xz 84463660 BLAKE2B a1b551ff633c31d6972fed173f248ba5f6696eb1566801e180b78a7c7e20933b1aaae40839b4f1529d61166de55125395d4f9a812511c088e73f975bf1d2167f SHA512 1a543ddfb56e793367a43895a7ce4f97daeca6ffd5234ce50e8a7ae0f8db1071e01bdd653fda40d00eb7a680faead8f1d8d1295f983086a33a4c75e4affa2ea5 DIST gcc-13-20240628.tar.xz 84470032 BLAKE2B fa8edc817636e9c54bf88f35f22f15e07a2fe951867ac042aa73b1176ee1dab6c3ac5ab050db42dd53fc494193a2aa604b2aa492b8b96f0f957fd636f9a39322 SHA512 fdd6c67aaf45c23d922f4aded5eb8ede91f7d427112db2780d47de7b10dabf15a9e05d17296d286eed567d045ffe4816765254191f5610f08312f85e1ddce68d DIST gcc-13-20240705.tar.xz 84476408 BLAKE2B be3d0222e6f555278ae8ae5893a5d4018a19cf5ac6687b2e78e199d73bb7acb55ec277917d0a76eef84c11b489329db913398c4f061810eb4cac8667502a5726 SHA512 9b8310c65edbb35f8e94755aeb5d7be76bc72ce129d1c585cff785283ca3e3a8c787e290fbd07a6cc709eb1639ace3328868316a08cab1259a1f970e050d0f8c +DIST gcc-13-20240712.tar.xz 84486436 BLAKE2B 4e82fadcec0258471e8a1a055136a67565230d6bfef719ef07a01286bdbb7963878b05622a68627a8f5885c2ee994d879155002f07ad2e53872f082b3dfb5e18 SHA512 1544e71e28a9d93d485a5b74e5910211da68d39af4389f9216f246090d2edb23805648f3528659b02d9db0bc7ee625b8f6a34c3775f41e7aa8a3760b2988b273 DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69 DIST gcc-13.2.0-patches-14.tar.xz 46928 BLAKE2B fce23bc5315f35b04a4976550c4b44578944a1b17e40c7553351eeb8a1ef0f3a2538da5a5e1ae6f37b784ff11bbd8a44b8f6eec542be63e34d984dee69e1cd81 SHA512 d7d52bb2915fd89c06b0134bede8db939cadbb1f2dcddf923bee2c3f9f577ff9e5e986b60420d892539edf82867a0d1bd635807814bc618b06a2b37cdaca893a DIST gcc-13.2.0-patches-15.tar.xz 47052 BLAKE2B f145341813d6baf9cbcc3e8421c7f427148503d2aeddd6a2eaac1ad3d470a818292392861542a7915d8b0f2f9b3255603f394b2e6833141658fc035bcd2b5366 SHA512 c89a3fccd944f03d25e076a967c3b220803ee9a6fbedec1daf2c20f629dd6162ce6be4f259522bd193169f0e8307daa9895b5d8581cf975ee086e5abfd675e34 @@ -63,6 +66,7 @@ EBUILD gcc-11.4.1_p20240612.ebuild 1602 BLAKE2B 230604ba226306356b4d453fe21eccfc EBUILD gcc-11.4.1_p20240619.ebuild 1602 BLAKE2B 230604ba226306356b4d453fe21eccfc2a8d24c051b4657bc6229878fc643ea25d8d0a783580e34ad5d4ae0e041eb221d2ca23cb5084f6ed9760a4659aed54e7 SHA512 b77209f13949bb79612cad66778b3c2b338aee264d64993df9ae243d1dafe24d798bb2d6ca78b3e5d1ad378ece441ca32c8520be4910bd66f434f501bbadf748 EBUILD gcc-11.4.1_p20240626.ebuild 1602 BLAKE2B 230604ba226306356b4d453fe21eccfc2a8d24c051b4657bc6229878fc643ea25d8d0a783580e34ad5d4ae0e041eb221d2ca23cb5084f6ed9760a4659aed54e7 SHA512 b77209f13949bb79612cad66778b3c2b338aee264d64993df9ae243d1dafe24d798bb2d6ca78b3e5d1ad378ece441ca32c8520be4910bd66f434f501bbadf748 EBUILD gcc-11.4.1_p20240703.ebuild 1602 BLAKE2B 230604ba226306356b4d453fe21eccfc2a8d24c051b4657bc6229878fc643ea25d8d0a783580e34ad5d4ae0e041eb221d2ca23cb5084f6ed9760a4659aed54e7 SHA512 b77209f13949bb79612cad66778b3c2b338aee264d64993df9ae243d1dafe24d798bb2d6ca78b3e5d1ad378ece441ca32c8520be4910bd66f434f501bbadf748 +EBUILD gcc-11.4.1_p20240712.ebuild 1621 BLAKE2B a69cb197b9b75f86b4e46ea99a9f49ce133d362b4660fd22edfff1efd964fc7adf5986f78ad381287588bcb62b546b95ec6153ac345958f445c82db4d656c40a SHA512 44bbc4e707eb66dbb443b9faf58becdee005158e7edff832b771bf153d308343d1167effc481d235b65825cce1bd5057edc4233a8c0147b707e62cb3eff514cb EBUILD gcc-11.5.9999.ebuild 1569 BLAKE2B 4d2920198dcee1cbfd6859bd7f5fac707e9ede52bb31e1701ff0ccb1c1f1ffb24211c37b433e9c6ecc1c7a47b14cf6d67ecbdf28e08bf31d9dc3cfffd492ad83 SHA512 db375dfdb892f7ff98128d6652c03c3050a0459a9bc5b4af1b486c8f77d9de653c0f1c6408a115c25f93d53016b526da5fafa1346df56cd33c7cfc8cc384c9b5 EBUILD gcc-12.3.1_p20240209.ebuild 1599 BLAKE2B a01d47df072e7769928916f5f11c633d42940d1a6cd0b912927a88bcb01e7c6b9e431f703d3b71462edcd897d3459d274c3868a376fe5dfc7a16174953df0bec SHA512 b3054f9e86047b3ee704e62cc2138c7a33ccb481af7cf3c51cffa28989c0e6f554337e3bce014cfce3f492573f5a39ad5d633a37351ae7327ad9219be26365f7 EBUILD gcc-12.3.1_p20240502.ebuild 1607 BLAKE2B 9584771e08f1d8b818d1974abba3e2c157446479602199bfc799cf960fab3020c43481d013112f3bc023c2faecf0bcc70df85ddca589917e2adb019904b027c0 SHA512 a93bf0e0ba30f4954b326290e6c622d85162fbb81c51881bbdaa15ed3dd7ab4c33c18406f18f5200d91fc7e4a7e626343122b150eb315437037fcf7b1a63c7d5 @@ -70,6 +74,7 @@ EBUILD gcc-12.3.1_p20240613.ebuild 1608 BLAKE2B 236a5a5573a0a0a6a1da316f33eca0e5 EBUILD gcc-12.4.0.ebuild 1607 BLAKE2B 9584771e08f1d8b818d1974abba3e2c157446479602199bfc799cf960fab3020c43481d013112f3bc023c2faecf0bcc70df85ddca589917e2adb019904b027c0 SHA512 a93bf0e0ba30f4954b326290e6c622d85162fbb81c51881bbdaa15ed3dd7ab4c33c18406f18f5200d91fc7e4a7e626343122b150eb315437037fcf7b1a63c7d5 EBUILD gcc-12.4.1_p20240627.ebuild 1608 BLAKE2B 236a5a5573a0a0a6a1da316f33eca0e572201ef02a6de02831e26a832121cff91af62a7d6a58cae3cf56f7e925b89bdf76ee4e24a8d3e894612b00d662fbb513 SHA512 6a4aa46da76b1d2501fc5937d14658ac44efb5981b6d30ba25a88a84879e7a3a4d00370a541be4974bdb881b0c2238f61459dbe8f6295e32fdb391bd70a6e4d4 EBUILD gcc-12.4.1_p20240704.ebuild 1608 BLAKE2B 236a5a5573a0a0a6a1da316f33eca0e572201ef02a6de02831e26a832121cff91af62a7d6a58cae3cf56f7e925b89bdf76ee4e24a8d3e894612b00d662fbb513 SHA512 6a4aa46da76b1d2501fc5937d14658ac44efb5981b6d30ba25a88a84879e7a3a4d00370a541be4974bdb881b0c2238f61459dbe8f6295e32fdb391bd70a6e4d4 +EBUILD gcc-12.4.1_p20240711.ebuild 1608 BLAKE2B 236a5a5573a0a0a6a1da316f33eca0e572201ef02a6de02831e26a832121cff91af62a7d6a58cae3cf56f7e925b89bdf76ee4e24a8d3e894612b00d662fbb513 SHA512 6a4aa46da76b1d2501fc5937d14658ac44efb5981b6d30ba25a88a84879e7a3a4d00370a541be4974bdb881b0c2238f61459dbe8f6295e32fdb391bd70a6e4d4 EBUILD gcc-12.5.9999.ebuild 1576 BLAKE2B 130ad8310161a8edc11cee748b8ef25c01c6979250f60b75d5e937c644196447f3f14413530e616643321478d7925b17f3c1a3a721a6a237e79b1bbaef512c55 SHA512 a29e571fef4955a146e5ffe79596d24c8780bddf9af4fbb5ca2d18ca1fc17dd2a4a40a08c5eb7a6e15b77a2efb4352d6fd44972e62e7914d192e6ff48b555a77 EBUILD gcc-13.2.0.ebuild 1666 BLAKE2B fa7667d2e80c162e51091525ddb73bb4ced21bff0c797c0b5993742a4dd5764963f40c3d205fc674187d1cb7cd3ca32a1519ed2fb37450743356eb096d36e914 SHA512 4519c19ecf26ba9af0270c70fcc3360b595aaabf037717a17fe1e250962363902328756fab02705c7392207541fa262c3e7b3d4887d69dac3143a6a4f129b17d EBUILD gcc-13.2.1_p20240210.ebuild 1659 BLAKE2B da731616a58d94bf5d5c8dbe354ab411f093ef8630ea3f71b5c81f4ab5db977a755ec2e1ae29118d2fb39b2257e791c9e4363a9dd08eba10d0588cb8f29482a4 SHA512 f61ba946cbfae240ec59a5d61eb5f10409819cec75abb792a017a0452d7c8b19da810d437796cf47bb71c5d05c1a964ea40083d8946bf938008fb99e63d4a3b5 @@ -78,6 +83,7 @@ EBUILD gcc-13.3.0.ebuild 1663 BLAKE2B e052ebf91ceddb2e10813f8a17f8f4c384c907aa14 EBUILD gcc-13.3.1_p20240614.ebuild 1667 BLAKE2B c91eb8ab0a00ec5b0710fb3d5c8e83ed60bb62d6853ef59063ccd737953979b1f74e19096c10f7d2dc31e8e15435e2465cad06f598038eb50fad3863b3246086 SHA512 090fb11b9a8d5a5384a6b7bbb86dadcb34fffebe35943400ef888e9fb783377300a13949d1e0c723313e0de2f3b649afbc80a08b68973e8102b36979e70102de EBUILD gcc-13.3.1_p20240628.ebuild 1668 BLAKE2B c80df9962e9a91078efbdf853b85bbf1581444c72df7075d9d91a97cc1ffbc4336415c39ac3484e26e2c910570f64336d7f0070af33e61d124b64298580d4738 SHA512 db39665021f63b97a66ff05b21dbf52cd0f0f8d833e16cf32aeabecc66cffeedd29602289a11378161e1447752d10a32dd815212bb27825c5ec1e3a1c3a9b3f3 EBUILD gcc-13.3.1_p20240705.ebuild 1668 BLAKE2B c80df9962e9a91078efbdf853b85bbf1581444c72df7075d9d91a97cc1ffbc4336415c39ac3484e26e2c910570f64336d7f0070af33e61d124b64298580d4738 SHA512 db39665021f63b97a66ff05b21dbf52cd0f0f8d833e16cf32aeabecc66cffeedd29602289a11378161e1447752d10a32dd815212bb27825c5ec1e3a1c3a9b3f3 +EBUILD gcc-13.3.1_p20240712.ebuild 1668 BLAKE2B c80df9962e9a91078efbdf853b85bbf1581444c72df7075d9d91a97cc1ffbc4336415c39ac3484e26e2c910570f64336d7f0070af33e61d124b64298580d4738 SHA512 db39665021f63b97a66ff05b21dbf52cd0f0f8d833e16cf32aeabecc66cffeedd29602289a11378161e1447752d10a32dd815212bb27825c5ec1e3a1c3a9b3f3 EBUILD gcc-13.4.9999.ebuild 1663 BLAKE2B e052ebf91ceddb2e10813f8a17f8f4c384c907aa1419289624dab0d2ca2a6bded63caafa5e9558b5f1cfd72d6a968d7fdb4e896ce78471790446d5143dfa2b51 SHA512 5b511367b5914f83b35680091cae883a75069d4ed9307eddc27511ff01f7f84e458e9e6ee5fb9f9957146a3a17a87a5f0e20353853eccf015c98a979aa1117d1 EBUILD gcc-14.1.1_p20240518.ebuild 1560 BLAKE2B 7ca5c76e3dea0334b7dcd4bf877b8c41a460b95981674c1d43939ff2a3823d53b19cf258500c0ac37a5a44d4ef4c75bf2f1e5b9ee927f814c7e45378fe44c7fb SHA512 8a7730823b774b079da58e48fe00480fed72d9f99ce4a601caa04b195337c63ed3479b8ab3a460b473d397d943c79e0be04ccd2799c962a56517ff5ab6e21728 EBUILD gcc-14.1.1_p20240615.ebuild 1560 BLAKE2B a91f4a9621d889cc442da965b5ba9203f63f0feef68a73e00cbaa221d90e3dab11911cb274fe3293d64c6f6e2f57b2220373e53578bd191c591b760ede14945e SHA512 a100fc8ee7595a52f013cb2c52a2e600660f6f1b89f937ef984d41f3e004c663459f135d0a1564e7e2952f71d3a5a599c35585113ec4566b0f009ad42b5bd48d diff --git a/sys-devel/gcc/gcc-11.4.1_p20240712.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240712.ebuild new file mode 100644 index 000000000000..dfb802cd1b32 --- /dev/null +++ b/sys-devel/gcc/gcc-11.4.1_p20240712.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_GCC_RC=1 +PATCH_GCC_VER="11.4.0" +PATCH_VER="12" +MUSL_VER="2" +MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..12} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +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.4.1_p20240711.ebuild b/sys-devel/gcc/gcc-12.4.1_p20240711.ebuild new file mode 100644 index 000000000000..e645c4d53b77 --- /dev/null +++ b/sys-devel/gcc/gcc-12.4.1_p20240711.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" +PYTHON_COMPAT=( python3_{10..12} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +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_p20240712.ebuild b/sys-devel/gcc/gcc-13.3.1_p20240712.ebuild new file mode 100644 index 000000000000..cda893d3b385 --- /dev/null +++ b/sys-devel/gcc/gcc-13.3.1_p20240712.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="13.2.0" +MUSL_GCC_VER="13.2.0" +PATCH_VER="17" +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 ~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}" +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 +} |