summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-18 03:40:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-18 03:40:50 +0000
commit7bf32644d8b70a318475609992d8e4853ec4ec0e (patch)
treec1a8189f6bec3613a4c73b2158bfa7ce2640b26e /sys-devel/gcc
parent85c74bc4e237bda22f900628aab62d70c41536d8 (diff)
gentoo auto-resync : 18:12:2022 - 03:40:50
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-12.2.1_p20221217.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index d0e6f46e0300..820b0b2fac7e 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -18,6 +18,7 @@ DIST gcc-11.4.0-patches-3.tar.xz 15200 BLAKE2B a393df941a2a31164f477d6bc0032e283
DIST gcc-11.4.0-patches-5.tar.xz 15136 BLAKE2B 202bc321d1a75a543bcbb54ddd7aae2a6d81764b1ae752e95bbcb7b1e68cbac33e2066a1c935c705fc7cea6603e93a6dcb3041645131a5e76c986242a8613908 SHA512 96ec2dec4e663d739fa7b80e63df32aa6d72c193e124bc93580cc1c0f9b8d3578dee3faf0e765b766cc6bb46136958a4b0e7095962d73b6e2a8066b8be558a5c
DIST gcc-12-20221203.tar.xz 79639180 BLAKE2B 5b237eca5934c6ea869d50396279b0bbb72c9377f71c7ad9b457d1e2422337f7ff6c9cd8021f3c9f94f62b1d31348d550ed3afe49f4231099bb889c27c2c23cb SHA512 87ebbf26544e0b4e20fc36dffcb343bc074603e409e204079f3559f4b336da98af7d1c702254a54ad243c230aca60027f80029f14d7c0ff7ee13e31ecf9b73d7
DIST gcc-12-20221210.tar.xz 79645632 BLAKE2B 063222037d420f356d452d0419fc4621c30393beaca1f2661d7070c087bca88831f27ae96d8fb7433efaeb59cb338495fb210611a1c37931a1d00373cba9812b SHA512 00399148932b5c57dbe442dcde01e856cbb981c7cc6703760ea51b28e0784cbc6e016663f195b69714da8c7e2cdcfbc03cb1939bab3e6b507b64846e1e814fa6
+DIST gcc-12-20221217.tar.xz 79643452 BLAKE2B 4308f2d9803547c399639cf646e30f37ce224500085adcff3d85d72fab2384701157d424b2915c156379ec3848003da73e74c8e718548b4ad17cd7c5d8572a62 SHA512 64a0f8f9b8ea07b1dcd0807c4fdae9de5cb0f1986c02a81798a47a116539695ce2408bdcea723ac55d892ccc0435319e7e7f4e472f2692407a77205669563d67
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-4.tar.xz 19052 BLAKE2B 74027e339125ad412b2e03265d2d797fdf4b794ed37f5d5ed33915f9e1f2592f6f7e1d8edf822700de5300fb39ac45fb3b671c6fac852246057f97f3ec4d411d SHA512 14a26185c96225c2babed80b29ef9897a601862d32cdc116abbd7efb551d1e25f639d5c5059996af53d30bb049f08c66af366a854a8d2eb2967f87ea390a37a0
@@ -42,6 +43,7 @@ EBUILD gcc-11.4.9999.ebuild 1267 BLAKE2B 09a26812068945e11164d0a4f8f5cc10dc261a2
EBUILD gcc-12.2.0.ebuild 1434 BLAKE2B a02496eb0178f8f3e38487b233eea12467e9e799763eb447cd545ea5afd48460bc8fc64bd68c84fca38f2d4cdb7487a65b34f4ceedf335393964ec770c0a69de SHA512 62d1a2dfac584c8abe548ff03c960a9e545e34ee1bd61977413af1b31ce98e281b5b90a33be2c666f418a272658f5188e9355bacc51dd0cc7ff456bcc47f2edd
EBUILD gcc-12.2.1_p20221203.ebuild 1434 BLAKE2B 0b885a6c62f68d25e33e18356293777d7819829fcdbe1c844284f2642adb7f624455082095bc8b9eaa58b3fd6f48678c89b43707214911400ebe2365865526c9 SHA512 459827805d1c23212becc64eb8fcd482ecf31cabd7366d6eb06a45f3e51887a19a5e61df6bb9525c7ac896d8297ebed8da5ec98ddfc06a768a4b6eb1830a8ed6
EBUILD gcc-12.2.1_p20221210.ebuild 1434 BLAKE2B 5755d51a87eaf089108e881d501d0464514131bf0ca753abf13d012acc813ac5e7165f4fefb9117a0fda18118bf1fbee837e66fca083431a34021c37c9438368 SHA512 14f1a37595812c10b4da0c6ce970ea00a45e66b884df8102879c5f9c5d65472ac1196528f64ba1a5aae442f586d5f210939d7f8e26a1f4e9d1a7c7c03ca94198
+EBUILD gcc-12.2.1_p20221217.ebuild 1437 BLAKE2B de2f0a2e991ddcab25529e9953e6ddef21f47a2f0832a79656b016d3fac0c33ace81bb805e2b497bf3707f0b72e7ed728955162477a7771916f1ae576de514ac SHA512 92052a90c9b54a66c59f8b87e35ca4399d277f5eb2cc76b0ef9fe28ef120041cccc1d2d2d812441b8f7ee951ea4825a09f1cb51241605eb4191d77889abcda0a
EBUILD gcc-12.3.9999.ebuild 1545 BLAKE2B 78fdc4a7b20d22bba137cba00e49d2249c5616bf1c4cf619162da1d98c750fb3da71fbb1cd4e136624cc4e0a112547e6c4c29992aa58ab12507917c7d728831a SHA512 f3562696a79035e64b8e79cee720fe24c7041bf922d79e5cff1ae864a533997995465d0871bfc4f87f6d5a66e7f8ac02c490792554a0628ae30d96a061ef9279
EBUILD gcc-13.0.0_pre20221204.ebuild 1287 BLAKE2B c232b4a8ce9955849c4878c45ff6eaf9b7895ee3577a58aa3dcd745e191a3cb8b77e59f394f6f6185d291ac228f241a2ae9c023894d8a7666d906fdd938366ce SHA512 217d33d88272e90afcb1ccdbd005bf2ae87748f9bee6ce8e989f443648047d91544e3544184e7e2d605aaafbef160b21a1269b066109e1a4f0de1a209185fc7d
EBUILD gcc-13.0.0_pre20221211.ebuild 1286 BLAKE2B 5dbd2f3d4a436938f80d6303dad46a43b01a379aa9d170412168c7c560088468d35ed22ed15ada6dcb86c03f7f87c8243483da89ee3d67ce40b6f2aae5168213 SHA512 b949a2d0ecfd08ed0d449dfb0743aca3568339b5e85885d77ae4a2a67d7e86594a7271b1e360717ebd22a2323795300d0e2fc2c3dc53df2306a9a1528fc62fdf
diff --git a/sys-devel/gcc/gcc-12.2.1_p20221217.ebuild b/sys-devel/gcc/gcc-12.2.1_p20221217.ebuild
new file mode 100644
index 000000000000..785499e19091
--- /dev/null
+++ b/sys-devel/gcc/gcc-12.2.1_p20221217.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_VER="6"
+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
+}