diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-14 23:53:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-14 23:53:26 +0000 |
commit | 3bd85407abc9ed4434c2d3741f84fdb512638b1c (patch) | |
tree | 15a296c276aca23d87cb4f2181f2249d706ca05f /sys-devel/gcc | |
parent | a90c84e720803f3d26c0ade8f1f1e405ca97502a (diff) |
gentoo auto-resync : 14:01:2023 - 23:53:26
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 6 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-10.4.1_p20230112.ebuild | 58 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-11.3.1_p20230113.ebuild | 52 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.2.1_p20230114.ebuild | 52 |
4 files changed, 168 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 25b4680de30f..16e3355c153f 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -3,6 +3,7 @@ AUX gcc-configure-texinfo.patch 341 BLAKE2B d2ea3b2ea08f5d3a498ba27d0fb95e325097 DIST gcc-10-20221208.tar.xz 72098912 BLAKE2B 8167b3d91fb95c727caa3a76d8bd6d70e0d0bd79eda72305f3005c9f7163dcd425c75386ba55b2d71644ecf83d998a4bccb6fd265bb615dcdd104f27cadb8e76 SHA512 5e49159d86300eaa4c2f34fb3537b5f257931e861a1a1217dbabcfcd5ef9da224d4a6023aaf8d24c8893ecd204ec0cd6e96349ae0dd445d62d92ebb041aeb054 DIST gcc-10-20221222.tar.xz 72112292 BLAKE2B fad78a6bc00e23909fa4c441592e61311709efa770ec713c44923f6f088c1185c52022cb9fa2e13185e644b655b16f7b4f4247e93bc82925ae44b2580feab8dd SHA512 34ecb5def4152e69c6b2a5fcd111c244447f6c53ed4359516923331af4634e67b803635ec770f24fc7dc12a571918d523fdf4f23d13e7aec927a05f8c5b83090 DIST gcc-10-20230105.tar.xz 72113116 BLAKE2B 4227a8ae8fc3b266a63875b7ac84aa9d1b91d958f753703560f628acff0591eb72a4d3ac1725f2a80ded71a198b02af155fc7d177770203cef7148663ccc523e SHA512 970a2df219b01775111bcc7f2652d2743fdaba6b9c15e53b8935ce87b2f6babf7ceab0e41d3e115a463be1639e9270eacd70df8763f78ff9372890ca615ddb08 +DIST gcc-10-20230112.tar.xz 72110200 BLAKE2B c18245631957eb815c78e4429418314eeae6235f7021285d85c41327d11f8d3f9ba4f699f5c5b01148c3ec35bcd18325621ffc20ca1e65a9f71dd45ade4aab77 SHA512 6d03728f46055333c8dd04f349e36aec3157ce8ea9b994561bf354dd4a59f346830dff08306aa85206c90d3b9695190a7ee9144e6795c69e38279ad6bda20e13 DIST gcc-10.4.0-musl-patches-1.tar.xz 3808 BLAKE2B 804d1fcc451dcd03be71240dd498ec2d179869571d44012967c48dccf5a478dd8c55000a964a80fdd5584d739a777dee1c83241cffce514ef002df2572854a67 SHA512 83e4a9c0f7062baf0c606a2bcc56a818494991403d7577dea65f04bbc25bdb786a5889b80d45d80e7f4be07c1aef786802cbfcfafd1a17ec255a2d4e93a77570 DIST gcc-10.4.0-patches-5.tar.xz 17056 BLAKE2B f336d69a8ad105b8c4a84e8248a5b8a88175d3f1d67d32c6bee1780d252d86947059bd624992e6292610e86c9012f4d901a1a54df0d184dd023d404a0707700e SHA512 aa8fb42f20587f8519e7b06037da4d8f7d386b63e228b239a0445a51df4e401940fcd81482381d966622054aef3e0db06d1def5c74ac3d3dcc9c75c3b966c758 DIST gcc-10.4.0.tar.xz 75018092 BLAKE2B ec1169025d3896b70ab80a4b8ce5040763a95529fc7e120c6bc3a3eb1db5cf938ebde347c1e595a8ff7d4081e79ded6252702d7a1a09648449b7a0783188e434 SHA512 440c08ca746da450d9a1b35e8fd2305cb27e7e6987cd9d0f7d375f3b1fc9e4b0bd7acb3cd7bf795e72fcbead59cdef5b6c152862f5d35cd9fbfe6902101ce648 @@ -12,6 +13,7 @@ DIST gcc-10.5.0-patches-3.tar.xz 17292 BLAKE2B 403b3955756c060fa00cdc55c29cdad58 DIST gcc-11-20221209.tar.xz 76240768 BLAKE2B 3be0f1ece4473bbbf10f7242102f330a6e246c8481da5bd32620dcb15d2acd008bad60d2576a301f03e444e3d93a3c72d5184740c6fb3de2bc05e1863b68a0bc SHA512 33d9581d434c012526eb4d49a4453cf77c57b459fd43f84e49bc764745e0772939eac007e119269f4f1989755df8678613732a84474c691b0c2452237c5b38a3 DIST gcc-11-20221223.tar.xz 76237128 BLAKE2B 4d50d3a296bae501dd4287ca7c877304a60b1a6d444b96598ff2e018f4cf540896c675c11a99cc127acfbe7e3af38d603f6b80b7049d9e525420eaee7c0f81e4 SHA512 efbb26ce3b8a5ffcc36ad84f797b638c1d8d0a1fe61e3d9bd984c0dbce0a887d1384f8644d71f4b25b22ae2c67fedcbc4282780a2b834a47a318ed558fd9e0ed DIST gcc-11-20230106.tar.xz 76214188 BLAKE2B 0f41b47059816e2b5759e5befec8ef5c1fb63ef0e1abb04864da1cac1afad3b1e7ef136142a80aa2f8f54bc669bc91cab587df9883a5c6832999ff1386354f20 SHA512 f693c696332e3549edd5b7205dac6dff27d73382a9655b1df26d8a29f5d1e8e300520f735fe381e5f64a56927775e9306be83b05642213b03496e5827cc6a767 +DIST gcc-11-20230113.tar.xz 76197592 BLAKE2B 72144c0ba359ca92e61d167d9b2c7b5d5e58842c06a83176f02fc040b9018ae1ec9450372ae4e73e9ab8ab646eca19a14deb1466f930f1cd6e9be0bb769e5f9c SHA512 6182f88f9c7c96f44d198335d262a041e943f9cf764e9c4a0e2101b74256e75cc37c60280a5758e982866d95c3170a5031856df8bb547abd9278ecd9a1a03100 DIST gcc-11.3.0-musl-patches-1.tar.xz 3856 BLAKE2B f511f8b4c0696771d906beee9645b5d009ea4b673602baa1ca562d6f23c5b0caf2012aae93578671624617c4286e3937d79a7383d6a03bb438c5b774a06fe8e6 SHA512 cd375ff2affb213475acaabf02989b1f05d719d972970ea0304d20a816986807390893d1401826f3b497787642f35d90a244195f8e466db41e8d768366057334 DIST gcc-11.3.0-patches-7.tar.xz 15184 BLAKE2B 426f00feaa982a35d2c459e7a2c2e9d29b4b467ac3625ebd72bb31077c75bbf0c028137df03921c52ddc97a14d92c49777bd3f27b47a7b47d8a05e2d106b6bdb SHA512 bec8bf26b3e50633a5a2e0bb75ffeaba86becb704c14365ff3342e8d651ab75bb3ceec7808d88a25989b8c7182398184b95b6d1267aaef9aa828f687e4895e9d DIST gcc-11.3.0.tar.xz 81141364 BLAKE2B 7e562d25446ca4ab9fe8cdb714866f66aba3744d78bf84f31bfb097c1a981e4c7f990cb1e6bcfec5ae6671836a4984e2b70eb8fed81dcef5e244f88da8623469 SHA512 f0be5ad705c73b84477128a69c047f57dd47002f375eb60e1e842e08cf2009a509e92152bca345823926d550b7395ae6d4de7db51d1ee371c2dc37313881fca7 @@ -23,6 +25,7 @@ DIST gcc-11.4.0-patches-6.tar.xz 14160 BLAKE2B b1c4348fe0ac1fa18f33b4079f81d68d2 DIST gcc-12-20221126.tar.xz 79631864 BLAKE2B 3bb97ef4a1a17ab8b92b431b1f792c11131085a1b523efa08c5b4f995b44bf628be371564813e5affb1f8e2320bb8a9b04532e57b2deeef26b33f517783daa5e SHA512 163e0aa39dc5c24980f84000bd6ccd4b7c24581831b7a4cdbd63e4726be5c2b1933d034ce12c65cf95e4c0ebe1175af7e32facace465bfd7c7c377401350a2df DIST gcc-12-20221231.tar.xz 79647424 BLAKE2B 8e75adb993eedf38059ced571d2df160aa3a11ab855bbbba6be7ea8ad630ec0cdf470e432d6d80b794c1b326aca63cf0b8b673fb9c89330f52e5418e2aab8d43 SHA512 76fc6bd5b1e7711e4f2f7c391bc057a3c64db193af11cd2edb7bde5a638134aaac37012da75b90aea30da04b69565276f377266318471b4d123252cf3e5f5852 DIST gcc-12-20230107.tar.xz 79636856 BLAKE2B 784529905807b1b8f7f3d988ab05e46a1f9e254ef6d3876fd491d344405fa1a626994222e22f612083c55f2403abc791f17da429652b7515c31671fa58373d5c SHA512 79e7caec8fd9fab98df629a70345ca414d29c027afc519a32c4adc8df28c15bb39ec1320a484aa5894d0e4abccd927fa2c5b744f2dc069978322b476fd00e40f +DIST gcc-12-20230114.tar.xz 79651936 BLAKE2B 71ecec07f491ff1d2668ed0b7361288eff26f3b8304a81d5757ab75d0e170e6008d20af26a7d22d9d6782e002f4c34172a35f1e8344c36a7ebdb9602df90c530 SHA512 a0d4e26c45c590a580344ee30a77a097a11748c460a41b72f1b7a3e7b94c72988c4b3b7e0e9511a9957c14d6afc35e0d4a04cc8e4d313fc18e8fde15aa9b6706 DIST gcc-12.2.0-musl-patches-1.tar.xz 3844 BLAKE2B 004432806696f7d0a32366270ac45695e858abee73a255e44dc6e0a225339e4cad40aab0d51dfe9a55d5aa4b4001f5726064bb2eea3212a0874b2d27e229abd7 SHA512 c354edcd641a9dfaf902a0ff4c44c75065d0cf1c36bbf6c3c35c2e23bff22b8f70bcf4458a5a0ef86371e9f2fafca8a54ca822e35820ff442c9458a2819c3606 DIST gcc-12.2.0-patches-1.tar.xz 12864 BLAKE2B a5ae0a85dfc1b6f0bd968f0d5262ebed14ec9cdb3249e3a4c571578c54eda0e53708ee7fe8e03e506366c7f3cf7926eced9b390d9dee948c1249298c0fabd9fb SHA512 f3d793b89a2a0385d596162fb0c653d4acdf21ae418cb792c1786a01fde0391bd0719715dbf07d53636f127168f5cd99108a1dc11cf6cea889b7d82385bcc258 DIST gcc-12.2.0-patches-2.tar.xz 13952 BLAKE2B a9e798911acaf45c3f585f69721130cfbecec016727a50ac0f4767b37a2ab9df39e0828abb07f1e429619cc102808f81af8422fef0265415c287d303d9d97fc0 SHA512 1808a05e98094577099d115ff5f3e136e3fc8f39fbe35c5183fd7775383f94439212e5e4174ab8d0ae8c0874e227ff84a958ffdfa1c99c9a8306a9842d126ef9 @@ -39,16 +42,19 @@ EBUILD gcc-10.4.0.ebuild 1445 BLAKE2B 05518ec2cdf0180f4db63dcab413097ca777381b49 EBUILD gcc-10.4.1_p20221208.ebuild 1446 BLAKE2B 81b537066cd4a53c08b2bb6d037f8981e70f31fd9563dda1d825057e186f6d206e9a283fcde619cbaf323ef3bdff45a1bd84a530c2275c7e28204716bd0b012b SHA512 6e790aa4d4dfbfb77374a75c9f8ef72c6c14610c7f4778822d8fd16520350969345574104aa28f5656d1fc2ef0d6ab6b2177e12fb2ea1c62bd6e7975fc0d8c64 EBUILD gcc-10.4.1_p20221222.ebuild 1453 BLAKE2B d173e10d77d8cc68c4bc2ba3874f8c3d2a0741c62efc17568bfcf06e0a0f0d3443662ef6551c9604c925b5e8d733f67ef5e1d25857b785d76b068007aea55a17 SHA512 8339e204e3646ee3b450a0c0463334ab372a22476195b43559948b35c74ad47b81723562345b4807bcacd93374bd63ba841fabb4aa5e25f9434dcf8b4c10d0b7 EBUILD gcc-10.4.1_p20230105.ebuild 1456 BLAKE2B 61f843bd3fe85040d31d7654adc84e0e90bd04344c023820e84fb127b449cd94fd7a54b2a81b892f466ffd8cfb884aeeea0e2af88c051a2e8fad733b3cf13e07 SHA512 cc4e8da8ed5bebbd4a42835f723b6710b2ee13e8e245513e871e2540082f1c63721328c0f3628287bb15b30eae0cff6f2a43fed70723e39d2f603f542d812925 +EBUILD gcc-10.4.1_p20230112.ebuild 1456 BLAKE2B 61f843bd3fe85040d31d7654adc84e0e90bd04344c023820e84fb127b449cd94fd7a54b2a81b892f466ffd8cfb884aeeea0e2af88c051a2e8fad733b3cf13e07 SHA512 cc4e8da8ed5bebbd4a42835f723b6710b2ee13e8e245513e871e2540082f1c63721328c0f3628287bb15b30eae0cff6f2a43fed70723e39d2f603f542d812925 EBUILD gcc-10.5.9999.ebuild 1108 BLAKE2B 2db612df53fbaec59c707acb56bac804a4ee797d156ea3dfca6396d27268385f1d5177c44bd58a926c981ab1c0c7b7adf5e4ea060a65a9e84e7f8ed1713701b0 SHA512 5193d1f4359ef8963645d25150731ab1929801eae16e94ddef3fb0169ed365d2ac43765a2d4848966508144e121b8b24feccbe66f59ee9363764d5a3db79f946 EBUILD gcc-11.3.0.ebuild 659 BLAKE2B 310352b879c732515ce63983db79b32bf7c8c200a650627a14b5284fceea9a7e7f3e545044a8c00ccc44cd760b18123542bd233242cb3ebc48ef422439c8e430 SHA512 44c89a7782e5e37c5ef61c50d5aa6d07c09f19bada293ed657d7062837a5a9be9483fda0b1845ee794f42031ea098a1b88d439f7be202f4276f77748ff45815e EBUILD gcc-11.3.1_p20221209.ebuild 1286 BLAKE2B 5bb5bb1dfa617deb42fd1194fd51172e7865f6890bf430d2269ce0a5c27854b494e2ef2a997371dafd6328b2c59656718201ad0dae946911d18ddfae01ad9904 SHA512 d8242777dd4aec49d56319b7da0423a3d39a906cc78650e733db27a3021603fe7043cfd5f2e5497847ca64f7439ebaca20b01a2fb7264d790748d300d87377ab EBUILD gcc-11.3.1_p20221223.ebuild 1294 BLAKE2B c6aa11e60a7cd0d5906fb0ef055b53583472fb17a5715f8f3450ce13cad83ae9f04cb42f10b41b8905532e0538b78e36d6fca8d56bf1550ee2f20b03cef0f4d1 SHA512 62e61d7502d140012879dadee28dc8140215b43a5bb24b4e59fce1cf697b5bf4d1433b887f8958d77c92abd3c7f06a2d4a90ae93bfc9baf1640b0d048132b872 EBUILD gcc-11.3.1_p20230106.ebuild 1297 BLAKE2B e3dc918277a3511ed09a4c5ea22dd1c68be08ec1b043ce589e82466596016480add5d2ca25dc7ada98bf28c94d0df81645e38d83558d8e16df0c32bfb4a6909b SHA512 93d7ced5f7bae8cd8e1f7d1edd53f9276510e516e597336749b3f4af9b2a30162fa9afb72ae85fde9e808c249e057d3b5e39279bfa44cfc7250d143ecb67b652 +EBUILD gcc-11.3.1_p20230113.ebuild 1297 BLAKE2B e3dc918277a3511ed09a4c5ea22dd1c68be08ec1b043ce589e82466596016480add5d2ca25dc7ada98bf28c94d0df81645e38d83558d8e16df0c32bfb4a6909b SHA512 93d7ced5f7bae8cd8e1f7d1edd53f9276510e516e597336749b3f4af9b2a30162fa9afb72ae85fde9e808c249e057d3b5e39279bfa44cfc7250d143ecb67b652 EBUILD gcc-11.4.9999.ebuild 1267 BLAKE2B 09a26812068945e11164d0a4f8f5cc10dc261a20a647fd4102decc83eecbbe8fcc7f38093609314fa1f26c46164e8248aede741880f7cff64dd5a94836765fa2 SHA512 4ecf698cd6e96dc08683a0e9b69936cdd9085c300d330fb9830cee0e38783e0a1fc8409db39159f9b247f28fc5d7d7572ad3e975f3951f1cb8537f49886bdcde EBUILD gcc-12.2.0.ebuild 1434 BLAKE2B a02496eb0178f8f3e38487b233eea12467e9e799763eb447cd545ea5afd48460bc8fc64bd68c84fca38f2d4cdb7487a65b34f4ceedf335393964ec770c0a69de SHA512 62d1a2dfac584c8abe548ff03c960a9e545e34ee1bd61977413af1b31ce98e281b5b90a33be2c666f418a272658f5188e9355bacc51dd0cc7ff456bcc47f2edd EBUILD gcc-12.2.1_p20221126.ebuild 1434 BLAKE2B c82a53ce99f8086c28b24382978b2c34b083bdfb01ccbcb893b56b210ffef770c1e534fc134835ded4362f32f447b5fc82dc75e7055ca9554bcd194e8b166225 SHA512 2cf47d4df36a26f96a7700e390766397520a4598037b7dfe5b4770a4b43fd6efce4f2c13b730c75ba014fb31465f4cc08a399aea7eb62eb46e9b11f8ecbfdfdc EBUILD gcc-12.2.1_p20221231.ebuild 1434 BLAKE2B 47136fbf5ba5e3bfbb4a631dbd7e71472a4760b598396c8e21c1505e257c7eb9f3459e90311152df1878203cda659d8cbb542036b6ba2940ff90d15351b37201 SHA512 4ded3e25cfce0aba6e6408a8e0d9bca82dd3ae33d274c4ec3bfe8bb41f9e9e92cb4b849e72859751de33de35433a398b378b5af5c78c0e1577c4cdd3e5720711 EBUILD gcc-12.2.1_p20230107.ebuild 1437 BLAKE2B 54d8427e57068f8ff2dd62cceab6896ae9f0c19b4a94ae0808f1ac4d29493bf90ace7e28473d8f35fc1e06f06bba259ad33f0976b691d704a1988d4f3bf3e85c SHA512 057be3c83bd2c17451d0a27011cb9addd2b6efca62edfcea25325c95de6efc32535147db1279cefcdd9d68ad6be0f8bd44af3dd68e81f66f480ae2240ac4eeea +EBUILD gcc-12.2.1_p20230114.ebuild 1437 BLAKE2B 54d8427e57068f8ff2dd62cceab6896ae9f0c19b4a94ae0808f1ac4d29493bf90ace7e28473d8f35fc1e06f06bba259ad33f0976b691d704a1988d4f3bf3e85c SHA512 057be3c83bd2c17451d0a27011cb9addd2b6efca62edfcea25325c95de6efc32535147db1279cefcdd9d68ad6be0f8bd44af3dd68e81f66f480ae2240ac4eeea EBUILD gcc-12.3.9999.ebuild 1545 BLAKE2B 78fdc4a7b20d22bba137cba00e49d2249c5616bf1c4cf619162da1d98c750fb3da71fbb1cd4e136624cc4e0a112547e6c4c29992aa58ab12507917c7d728831a SHA512 f3562696a79035e64b8e79cee720fe24c7041bf922d79e5cff1ae864a533997995465d0871bfc4f87f6d5a66e7f8ac02c490792554a0628ae30d96a061ef9279 EBUILD gcc-13.0.0_pre20230108.ebuild 1286 BLAKE2B 613958f9d883c696a477fe6d25782dfc6ae9c37af2169c370912eed43e7f21fd33ac2b5640b5cac0cf5ec964efca42ef3d0d1d36c3a372296f45e88c79a51bf5 SHA512 c7e0a73749cc56c95d60d8ed9326cb48d968e1ecb0905b3af6c0024d75e0ee8cbefc5c5ab2fbae6aac32348c51d41cfcaf470180b05243e3a55dd0c46f58f0ab EBUILD gcc-13.0.9999.ebuild 1252 BLAKE2B dbc0cdcbb6bae2177185c41fa014a0c98e05a8101f33e12975e2af951e25539117b9279573770b5d17261032b0c51d80864140417a13b152aa34739c28c0f0c3 SHA512 96e940c83f9e58b7b929c5293ca44582c266d3e10615f6aded5cd0b11cb1d46306382fea04227040a7d7cbfdc0f042e3b1c89a0e617193bbfadea50a4732e9a2 diff --git a/sys-devel/gcc/gcc-10.4.1_p20230112.ebuild b/sys-devel/gcc/gcc-10.4.1_p20230112.ebuild new file mode 100644 index 000000000000..8cb4ccaa5b91 --- /dev/null +++ b/sys-devel/gcc/gcc-10.4.1_p20230112.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_PATCH_SUFFIX="xz" +TOOLCHAIN_PATCH_DEV="sam" +#TOOLCHAIN_GCC_RC=1 +PATCH_GCC_VER="10.5.0" +PATCH_VER="3" +MUSL_VER="1" +MUSL_GCC_VER="10.5.0" + +if [[ $(ver_cut 3) == 9999 ]] ; then + MY_PV_2=$(ver_cut 2) + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + else + MY_PV_2=$(($(ver_cut 2) - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.$(($(ver_cut 3) - 9998)) +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="https://gcc.gnu.org/pub/gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain +# Needs to be after inherit (for now?), bug #830908 +EGIT_BRANCH=releases/gcc-$(ver_cut 1) + +# Don't keyword live ebuilds +#if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then +# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +#fi + +RDEPEND="" +BDEPEND="${CATEGORY}/binutils" + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + if has_version '>=sys-libs/glibc-2.32-r1'; then + rm -v "${WORKDIR}/patch/23_all_disable-riscv32-ABIs.patch" || die + fi + + toolchain_src_prepare +} diff --git a/sys-devel/gcc/gcc-11.3.1_p20230113.ebuild b/sys-devel/gcc/gcc-11.3.1_p20230113.ebuild new file mode 100644 index 000000000000..0eb8f03a6d5b --- /dev/null +++ b/sys-devel/gcc/gcc-11.3.1_p20230113.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_PATCH_SUFFIX="xz" +TOOLCHAIN_PATCH_DEV="sam" +PATCH_VER="6" +PATCH_GCC_VER="11.4.0" +MUSL_VER="1" +MUSL_GCC_VER="11.4.0" + +if [[ $(ver_cut 3) == 9999 ]] ; then + MY_PV_2=$(ver_cut 2) + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + else + MY_PV_2=$(($(ver_cut 2) - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.$(($(ver_cut 3) - 9998)) +fi + +inherit toolchain +# Needs to be after inherit (for now?), bug #830908 +EGIT_BRANCH=releases/gcc-$(ver_cut 1) + +# Don't keyword live ebuilds +#if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then +# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +#fi + +# 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=">=${CATEGORY}/binutils-2.30[cet(-)?]" + +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.2.1_p20230114.ebuild b/sys-devel/gcc/gcc-12.2.1_p20230114.ebuild new file mode 100644 index 000000000000..7579ee96e4f5 --- /dev/null +++ b/sys-devel/gcc/gcc-12.2.1_p20230114.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_PATCH_DEV="sam" +PATCH_VER="9" +PATCH_GCC_VER="12.2.0" +MUSL_VER="1" +MUSL_GCC_VER="12.2.0" + +if [[ $(ver_cut 3) == 9999 ]] ; then + MY_PV_2=$(ver_cut 2) + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + else + MY_PV_2=$(($(ver_cut 2) - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.$(($(ver_cut 3) - 9998)) +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="https://gcc.gnu.org/pub/gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +# Needs to be after inherit (for now?), bug #830908 +EGIT_BRANCH=releases/gcc-$(ver_cut 1) + +# Don't keyword live ebuilds +#if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then +# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +#fi + +# 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=">=${CATEGORY}/binutils-2.30[cet(-)?]" + +src_prepare() { + toolchain_src_prepare + + eapply_user +} |