diff options
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.2.1_p20230107.ebuild | 52 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 3789202fe950..ad8b1ac7d19a 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -26,12 +26,14 @@ DIST gcc-12-20221126.tar.xz 79631864 BLAKE2B 3bb97ef4a1a17ab8b92b431b1f792c11131 DIST gcc-12-20221210.tar.xz 79645632 BLAKE2B 063222037d420f356d452d0419fc4621c30393beaca1f2661d7070c087bca88831f27ae96d8fb7433efaeb59cb338495fb210611a1c37931a1d00373cba9812b SHA512 00399148932b5c57dbe442dcde01e856cbb981c7cc6703760ea51b28e0784cbc6e016663f195b69714da8c7e2cdcfbc03cb1939bab3e6b507b64846e1e814fa6 DIST gcc-12-20221224.tar.xz 79647600 BLAKE2B 9c99e6fee09457ac56f8b975650aa0b7dc82f05e990b722af16383ef75b9c02ea592fc37ba3a098e5a601c2115fe2c2414699830175e375325f99743d8ed952f SHA512 018c68d323d9fbe25295807211f750fa80efb947b77e8557860cfd9e97c90198e50c5b3f589afe7fd287a226ff5105b59c6134e4a6cd616ac3d551a5914a15e8 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.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 DIST gcc-12.2.0-patches-6.tar.xz 19096 BLAKE2B 9d97f4b1d4c82c00d6bac923963444198fb8144753bfb25f0068d96e4c7444f6163a7cd2e6ed2b808f608131f3208746776b2d061986b8d50311ca6cd8cbb917 SHA512 9af71c64490a289d959e95b2df34e62861c161cb161632020f66a4fbdfdbc7f08f6f2956d08e0a7995332d010c974f58a8bc8e4d595769c5632c4755a4e86b31 DIST gcc-12.2.0-patches-7.tar.xz 14492 BLAKE2B 95347cc4a7affab3ac1ed2b89ed7dcb239e17b28c93ab45f248765d297ca37e2ab127b13fba2a38256166c2daf43156e574ac783868ac48d561909af5fe82139 SHA512 661daf478f6abeab8c3164282aef591c44e18ab99deaa1aee2102de4c8d05da4145bf3ea371ebcf7e4f2455d5ae97c6d94e321b98d373750c784c1b278efb87a DIST gcc-12.2.0-patches-8.tar.xz 14656 BLAKE2B 25f00289699e8e3417c5e4a7d424cdbb140304fb764e8d1fee2e259b4231987c8b53cdbdeba761899a0256b764f7cfd6b4e691fcf44634b59b9dac9ab8a49cdc SHA512 dca2983a72d6c95c3cfe8e1c43195c9aff2a9c5c012851c1b30e51f4384be9b08e761ca589e4941528c89e522d1f11bc6964c8584d7761a889f47e302a3d2b5d +DIST gcc-12.2.0-patches-9.tar.xz 13636 BLAKE2B fcbd3dc5adeb7425d028001bd21ede21ae5596a48f4cfbeabed3fb657b27edf19bbe502f0388c284ffc87d03714f9e0ba4bc9c8008814c6362ed56b8165d403b SHA512 09581aba97a18008739d70dc6dbfdacd0c82acce6e175c879b50b81c7575c6e056cd9f2a73e7d6231ea5a6f72c248eca3d818996188ec34cdf7137e9f263fc01 DIST gcc-12.2.0.tar.xz 84645292 BLAKE2B 715574af9ad678f9dc8cfd19c866bf910c7edfd479e7e9681337feaa9b54e5d304ddb85483816b8d89754d502405823ae2eff0d1e444538763f40be8e428d8da SHA512 e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173 DIST gcc-13-20221218.tar.xz 82692928 BLAKE2B d68af44da5708d6433cc4c409d93d725111bd69fa76d49e8354043ad2bb8aa8cb396489151442910fc4544fedd5290277aa8934aac5c24332c0963dc4605c149 SHA512 27b98455bedecbd8cf70f6357924ca1ad45f79ce4a50aefcbcf5b14f6c6a0a5c60fda5b85e7c2c24cf8ce65233dc1eda72c5e48dd0cac699ded1e72c32f0164d DIST gcc-13-20221225.tar.xz 82806372 BLAKE2B 73da814af9d75a1217de7cc84ab3fee1b762ee3845242b21e8724ff22193447f2a5d5c850270083b8de4eb66cf6d70821aa10e0a552d094a7fb7ae0d61a55477 SHA512 30bcb6a6a914489513eca6c065b8f6105417bb1fa279664a1b5aa4c2103d9b0fe1c4ba37156f5448c5ffd5990aa72785710082825ab54ccce3998ddd97730b9e @@ -58,6 +60,7 @@ EBUILD gcc-12.2.1_p20221126.ebuild 1437 BLAKE2B be29d238ca36333c711e627b74e5ff64 EBUILD gcc-12.2.1_p20221210.ebuild 1434 BLAKE2B 5755d51a87eaf089108e881d501d0464514131bf0ca753abf13d012acc813ac5e7165f4fefb9117a0fda18118bf1fbee837e66fca083431a34021c37c9438368 SHA512 14f1a37595812c10b4da0c6ce970ea00a45e66b884df8102879c5f9c5d65472ac1196528f64ba1a5aae442f586d5f210939d7f8e26a1f4e9d1a7c7c03ca94198 EBUILD gcc-12.2.1_p20221224.ebuild 1434 BLAKE2B 2e78e2f2c44d329e9bf4360083f27579fecff712f773f854be0d5fbc79f71ef028114388d6ecce3ec3201d4698a5ae35969614746811ecb361dbb4ea61b22478 SHA512 176164b6d9af91e1b09230626e2705e0a483a21b6d7e2042e4a6b17455964a30b8e4f7b5a0957f9b3c91c91fc53b8a6b77e98be74c897a9ef778854e8ca0e998 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.3.9999.ebuild 1545 BLAKE2B 78fdc4a7b20d22bba137cba00e49d2249c5616bf1c4cf619162da1d98c750fb3da71fbb1cd4e136624cc4e0a112547e6c4c29992aa58ab12507917c7d728831a SHA512 f3562696a79035e64b8e79cee720fe24c7041bf922d79e5cff1ae864a533997995465d0871bfc4f87f6d5a66e7f8ac02c490792554a0628ae30d96a061ef9279 EBUILD gcc-13.0.0_pre20221218.ebuild 1286 BLAKE2B 5dbd2f3d4a436938f80d6303dad46a43b01a379aa9d170412168c7c560088468d35ed22ed15ada6dcb86c03f7f87c8243483da89ee3d67ce40b6f2aae5168213 SHA512 b949a2d0ecfd08ed0d449dfb0743aca3568339b5e85885d77ae4a2a67d7e86594a7271b1e360717ebd22a2323795300d0e2fc2c3dc53df2306a9a1528fc62fdf EBUILD gcc-13.0.0_pre20221225.ebuild 1286 BLAKE2B 5dbd2f3d4a436938f80d6303dad46a43b01a379aa9d170412168c7c560088468d35ed22ed15ada6dcb86c03f7f87c8243483da89ee3d67ce40b6f2aae5168213 SHA512 b949a2d0ecfd08ed0d449dfb0743aca3568339b5e85885d77ae4a2a67d7e86594a7271b1e360717ebd22a2323795300d0e2fc2c3dc53df2306a9a1528fc62fdf diff --git a/sys-devel/gcc/gcc-12.2.1_p20230107.ebuild b/sys-devel/gcc/gcc-12.2.1_p20230107.ebuild new file mode 100644 index 000000000000..7579ee96e4f5 --- /dev/null +++ b/sys-devel/gcc/gcc-12.2.1_p20230107.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 +} |