diff options
author | Sam James <sam@gentoo.org> | 2022-04-29 19:11:46 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-29 19:12:00 +0100 |
commit | 072b5a79fcae52077170f0484457424f827adf89 (patch) | |
tree | 8c244b9eeb3c417d34b51eccc1308e9393f0416c /sys-devel | |
parent | app-emacs/eldev: new package; add version 1.1 (diff) | |
download | gentoo-072b5a79fcae52077170f0484457424f827adf89.tar.gz gentoo-072b5a79fcae52077170f0484457424f827adf89.tar.bz2 gentoo-072b5a79fcae52077170f0484457424f827adf89.zip |
sys-devel/gcc: add 12.0.1_pre20220429 (RC1)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.0.1_pre20220429.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index da06c0b657c4..f3301f7edadd 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -16,6 +16,7 @@ DIST gcc-11.3.0.tar.xz 81141364 BLAKE2B 7e562d25446ca4ab9fe8cdb714866f66aba3744d DIST gcc-12-20220424.tar.xz 79054772 BLAKE2B f7ff1d3189bab822444ca81bc917188e0e2b748ee2ab371e3d58870809069c076d1d958fef37545b1922d701d0b0d9dfe96aab4303ed1c742e1783c4d1afe746 SHA512 df9af006ba753d4df700788199a1d6bf7d167b65758aee417c2c7ab5ed9a2819057665fcb527a874355d23c186e8468fc79e5ac1c42ec8cdb4794dbd4d88a222 DIST gcc-12.0.0-musl-patches-4.tar.xz 4456 BLAKE2B 80ae755b52c31d57eb737b3ec5e70d96e7e20f6720664cd94573b1c6cd079a0e29f73277c27b2f2570706da5239006dabd44f834824c515f6615ed5dc39c273f SHA512 cf917f40133d2b8090e98880e6c87d38129f44bcb454f4d707ef57967635a6fb571d7b85b7cb854421bc9aa88e48767a47aad99c767f9415899f97922d61c497 DIST gcc-12.0.0-patches-5.tar.xz 9820 BLAKE2B cdebb6fa59e594f95cc4b028d329c0fed3ffa1731a4ca1a2954b7760f4a674e773cfe5888fb2c63a619d5d80ec464d98a94870bfe2e3ea34370afce7f67526bb SHA512 a9c27b0188fd842e88d6a831cdf1f9c6d0cada4ec260b5f7e67f3d8fe0f439fb0d2c82469de9fecebd657043babf3e63a24ee53776be2617bb90e1d3dd3f521e +DIST gcc-12.1.0-RC-20220429.tar.xz 82681644 BLAKE2B b65544298f036b3266b5ff6e0cefa369dbfbc80174e8f633cfe274727fded9cfb1bbb396ed616db28cf8d61f4a33bfa8c6d4287739f6ed518f8afe570b1653fb SHA512 0cc17ff5402bac26625f3a353e06d0f8a780355cdef1af20466b35427ab40910705798a3104b88ada1cbb225a833b6cc043ead60609785c19c46fdfa0942edb5 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 DIST gcc-7.5.0-patches-4.tar.bz2 13183 BLAKE2B 38a56910f01ef4172182d2145cef1df53b57eaa8f0655223cf54689e7ce12a264bfbb3735bde42b8a8594ab44031d9c48dc0d5303fab6537746f05e4d46b427a SHA512 28d3732d5351dabd1452ee0462865a0de00103d9ea66941e38499c532b34ee8beb150b0b32af58cde901e437b4c256593c29736a5e7df2575aa0d0c43b6cf6eb diff --git a/sys-devel/gcc/gcc-12.0.1_pre20220429.ebuild b/sys-devel/gcc/gcc-12.0.1_pre20220429.ebuild new file mode 100644 index 000000000000..3dca1305644b --- /dev/null +++ b/sys-devel/gcc/gcc-12.0.1_pre20220429.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PATCH_VER="5" +PATCH_GCC_VER="12.0.0" +MUSL_VER="4" +MUSL_GCC_VER="12.0.0" + +# 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} + +inherit toolchain + +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~loong" + +# 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 +} |