summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-19 16:09:38 +0100
committerSam James <sam@gentoo.org>2022-04-19 16:09:38 +0100
commit3dcdd1bc5cd156ed6c8508815dccc12a93404dcf (patch)
tree9d5b67165c01c411242cfa03e64923aaf7e79bf4 /sys-devel
parenttoolchain.eclass: support GCC pre-releases for new branches (diff)
downloadgentoo-3dcdd1bc5cd156ed6c8508815dccc12a93404dcf.tar.gz
gentoo-3dcdd1bc5cd156ed6c8508815dccc12a93404dcf.tar.bz2
gentoo-3dcdd1bc5cd156ed6c8508815dccc12a93404dcf.zip
sys-devel/gcc: add 12.0.1_pre20220417
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-12.0.1_pre20220417.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 7f79d51acfb1..b224864ac5c3 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -12,6 +12,8 @@ DIST gcc-11.2.0.tar.xz 80888824 BLAKE2B 69b61234ac436edfea2933df68c434a2ce7aa445
DIST gcc-11.3.0-musl-patches-1.tar.bz2 3997 BLAKE2B 5ca064cc78b067f4a7822fa0341c37ae03c8024f871d2e274e481a583afa96c36e291be93fbdd633f203260ae2ea9ac1d45f666d134bac75bc9a715a369d7374 SHA512 0ab239c66cf62a737266377c19b8dda6af6df56380f6731c2c17f3e82778e7e023a68d31728490eea3ad946f4b71d4cab363a75548f74b4b7f653972469d9e91
DIST gcc-11.3.0-patches-3.tar.bz2 13567 BLAKE2B dba270d74b7a598e0108be0be7ff8cf01899d044ca4be9938cd5324465dc00c9e5cac4ffb4b6c1bdcdb824d75a7577eed63ae724c7e2887a19708992aca10f26 SHA512 7919b37900bbc2493564bc70f7911cf03efb857ff09c2b13280018fb54c48d8be42e35b649e69594a3ce61d51de847a8d4f75f794ce1dc50db3a700831b6a1e7
DIST gcc-11.3.0-patches-4.tar.bz2 14030 BLAKE2B cdd555f329c7c0b993cd3527489681bfcc2162db0997611b66337e6b287356761c7deccd3b9f9bb8980a32df0574017a52c5e445e24db746757d87ffccb1ea89 SHA512 cb227599d01734ae9f9fc7ae2c8dd4cae1da80d6ab398ec6f112535239ac76ce8e91fbac88e19c2f75cb08ab75f966c1d1ad4af80ede67e953fbbafc7baefa58
+DIST gcc-12-20220417.tar.xz 79042676 BLAKE2B 389cacda0c01734341d9faa1d196685b7e584fce1dea6bc5c7b23588194390511d0b47ebfd8e6ef847dc9c6e49163c97298ab1e68b4caa00d3e307292b25ad50 SHA512 fbf24f0dc5ccba2586d0ed52e305417d891e1afc09cb1e4e843849940efe169cc43e0a7d6fb0748c1236f63ccd3c41a6c4e6307d1eb6de388fd6a37e90c2aca7
+DIST gcc-12.0.0-musl-patches-1.tar.bz2 1221 BLAKE2B d647eea69bbc4635b9dc404375f6cac617b3beccc792f400bc47d680a9e78e85ed54be6c5475d4e53494ce7c1a23f813d56f1ed88597039147ead7db01963f1f SHA512 1ea72da6e530b3484e4be10df2864f8e1fce1d2c151533e611ee020b3388d9670b2081b3e0b21e6a4ffabdb93f85bdc0411cc0229186a25b53638011a3a66b06
DIST gcc-12.0.0-patches-4.tar.bz2 10109 BLAKE2B 8169b76a32d39abb53c0f1259067e084fdcea836c7b7d8801149e6845435f277459d6c26c71af23a5a091a50669834d69daae831221caeb7c305e3ecf565dd9b SHA512 58ec31b740f07d0a7ed85b27d00c3b1afbc4991921526325d9ad99325fc18247ebc24234a44d46ff924156198f3047c027662983e311eb74d4404a58646afa3c
DIST gcc-6.5.0-patches-6.tar.bz2 15320 BLAKE2B fe6b60cd45d00187e4e41e607af6a1137481a6d8f4421a0ead7da9fd86d0cd19bf428e5d150e1de4e0616606f8d6c31738da24be8151c58f7760aa92432ea3d0 SHA512 87c2a6726373999472cbd6211e486864266c833d5a07f8fb02dd3054b7dd3f86aa86ea47b17928045ef6e46d82f429f879d6f69d8adf3b6f2956f4ac6b3f80f1
DIST gcc-6.5.0.tar.xz 74355588 BLAKE2B 538595d32000b15a53577f0dc6b164d75791a8ccdf90500d5f667ff78378ef4ab9bedb8a590848907caf863bf1165ebe108b5e81eb4b54e85ced4002affde693 SHA512 ce046f9a50050fd54b870aab764f7db187fe7ea92eb4aaffb7c3689ca623755604e231f2af97ef795f41c406bb80c797dd69957cfdd51dfa2ba60813f72b7eac
diff --git a/sys-devel/gcc/gcc-12.0.1_pre20220417.ebuild b/sys-devel/gcc/gcc-12.0.1_pre20220417.ebuild
new file mode 100644
index 000000000000..24bc3cc5bbcf
--- /dev/null
+++ b/sys-devel/gcc/gcc-12.0.1_pre20220417.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PATCH_VER="4"
+PATCH_GCC_VER="12.0.0"
+MUSL_VER="1"
+MUSL_GCC_VER="12.0.0"
+
+inherit toolchain
+
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# 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[cet(-)?]"
+
+src_prepare() {
+ toolchain_src_prepare
+
+ if tc-is-cross-compiler ; then
+ # bug #803371
+ eapply "${FILESDIR}"/gcc-11.2.0-cross-compile-include.patch
+ fi
+
+ eapply_user
+}