summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-04 03:33:18 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-04 03:33:18 +0100
commit5c9bbe083a12cfb9666fed4abe5bce219ff2f019 (patch)
tree28061684a1f8f3db5e88d352edc99ec4495ad4fa /sys-devel/gcc
parent5043a584ce7a3eb644e68694a3266c1a5d2ccba5 (diff)
gentoo auto-resync : 04:06:2023 - 03:33:17
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-13.1.1_p20230603.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 2f513d95b037..64d20a0d4917 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -20,6 +20,7 @@ DIST gcc-12.3.0-patches-2.tar.xz 14236 BLAKE2B 06c43662c9abb0fa3cf90d5e2273c69ae
DIST gcc-12.3.0.tar.xz 85491976 BLAKE2B a239749089e284887435b9fabc360a36764be1095f4c78eeac6f056f91dd23c49dab2ebec5da32a81bcc08fe8277dd3c714ad114ad725d24317faac03354d595 SHA512 8fb799dfa2e5de5284edf8f821e3d40c2781e4c570f5adfdb1ca0671fcae3fb7f794ea783e80f01ec7bfbf912ca508e478bd749b2755c2c14e4055648146c204
DIST gcc-13-20230520.tar.xz 83959400 BLAKE2B 7be5d333a2447923c547ed76bab86fb9a1206dde1ffeb8be0a2cb95f8e99910aa40479f221374aaf5bdea5dd7514b3d69347512d9cebb91dd23f585541efa43a SHA512 d6c8626822855f71cc58b6b36ebb38092aaf12fa9aa40b8d70fb3edc9f4c614fbf47626ea5cc1ec631bc47b5d64911bfdb7cfc6924f27a54016b1f8c9c7588d7
DIST gcc-13-20230527.tar.xz 83956360 BLAKE2B 86a2131b88144817673a6300c73b29c2dbb8559a7057609601029aaf60aeb4c4926fa4b99c4e1768726cde09f994159685768b62b3ca73d7b606847788301e82 SHA512 87566c74258f9981742eae77f552361c220f79fa6f17c36d5b5a9e73f41c50d8a2cab16b9ffb17f07829005f0d42b4b1d524150d3dcba9710091532cbfad7152
+DIST gcc-13-20230603.tar.xz 83954444 BLAKE2B 4be067c2159ae2a8ef3d699acab981cb911668bb0af84693b0226f58688146b0f93324296c584c6dca6df839ba344cff927cc82d20fce8c6b2282b256d745141 SHA512 ca1b41df7bf18c65189116099afcb43f65e13b17e57bf52049e739af223d51c3b825e2f80e239a3ddceec07693c991a85ec58ab6855255802d8bd413ff4324cf
DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69
DIST gcc-13.2.0-patches-3.tar.xz 30956 BLAKE2B 29ce043b46645640ca1e983397af3e158588ad87575f0bc59451ea4a7dd5e3bb5b190ed031de6a22cd790d423ba111e95d222187dd09985dceb12db9f0a2d907 SHA512 4ffecae7be320124ad0c4e71e39e142b7aa8db0e70b5f486f491d7a33ea31efc6464c6abeea77df02a8bd5cf81f08225d625c8af5c27f9afa32c0d7d989f7a3c
DIST gcc-14-20230529.tar.xz 84197648 BLAKE2B 1b8b812866294bafd7bf53c823b3d55288d5a30c54e921495d19286b9d04a1bf7c5228b052941200ecc61a516355d977229fc9e60cfe4353154811c1261054ab SHA512 bba930dc4b6b6a45bb5f33e4b46dc16d1d581b266078c5492833e2b4e64a93d2d19389a436c64dc2159240b07134f4f7242bef3cf35f303d34e10bf493fe70ba
@@ -44,6 +45,7 @@ EBUILD gcc-12.3.1_p20230602.ebuild 1584 BLAKE2B f59f298e274530f8bd4f2870c1429f9a
EBUILD gcc-12.4.9999.ebuild 1589 BLAKE2B 8de913409a3303b99e08e719751855382983fc3208de45a45e9f42d334c3f5b2b387b910791af804cae0c646c139d735235802bad96b4b84fe54f3cafd46cfec SHA512 fc445103363a11b7628e3f46ad8dc4b4c8e1f942dfd25078b41638779f7e4580fb9acff78812fb1039e5410e6dbdbaeea71b99f2d52ce3c4f04ec30dbf72ef7c
EBUILD gcc-13.1.1_p20230520.ebuild 1664 BLAKE2B 59eb5b122b52473a6fb439ab5b7504b5b79c9c4aa18df47eeb2fd0685966b46e2c4ed2eec42b48aebcbfc3e16eebcbb4f02ea3d3f998e1f581a8c5a92684da12 SHA512 1043c1c30548bdd04655ec5440c51b58f0397968091930187fb0500c17f9182363f26c395432f9fcea0806925896a9ccaa6e81ee2820e9e243e6326aa1743ff8
EBUILD gcc-13.1.1_p20230527.ebuild 1664 BLAKE2B 59eb5b122b52473a6fb439ab5b7504b5b79c9c4aa18df47eeb2fd0685966b46e2c4ed2eec42b48aebcbfc3e16eebcbb4f02ea3d3f998e1f581a8c5a92684da12 SHA512 1043c1c30548bdd04655ec5440c51b58f0397968091930187fb0500c17f9182363f26c395432f9fcea0806925896a9ccaa6e81ee2820e9e243e6326aa1743ff8
+EBUILD gcc-13.1.1_p20230603.ebuild 1667 BLAKE2B 2821091d4b090697feb8b144538f145230eca5b91b7a9c33971b38547e0a01f4c510ec69588d8555d993f866e53c3d318d8c794cb540082568ffc1e4e2d09f30 SHA512 dd2f1e5ff25d17028be183424eca55088fbc8e378bc4e67c149edab477bc372acc294f3a6161172efc237c3b8e56367cc4ef7947de1fed4a408749536edfd665
EBUILD gcc-13.2.9999.ebuild 1582 BLAKE2B 144cf49eae664cf14e84258cfbe56c93b077bc667128dd928f7ab91bb7185f66ca43280349463e7219624af1955972ac385c992d2f13d44c28cddc994a2dd1c3 SHA512 9d26f95070ebafa46e347cad20b0d31143970c8d1ae9a0d3dfd13f9d7897754032ad1b10fd33bfefb0847ef5ab1aa41906b1bd284e163c8b86be7edba1fd863b
EBUILD gcc-14.0.0.9999.ebuild 1568 BLAKE2B 02ff0ed9ee64898714a411d4d6dce9ab4ed30ec1f8dce58036da4cfdd033281868c82b1a9e6da669898e405194f84be3db34cbf7a8b0144d2049558f30370b90 SHA512 5aa6f2841a026a8b021f3fd0a6ff47f11f1a7039454cb95a8af148f247792c90d08d254b16c1369e0aabf83da53add611594632a951fa075c06daee837eb27c9
EBUILD gcc-14.0.0_pre20230529.ebuild 1595 BLAKE2B e280ed76e1479251ba4a4c2317b029e755bdac4e112aa91e2fa18110a462c815970597add804a22418a4c5c0fdc7e5a70ada391b88e1f870d598262ec4e105c1 SHA512 afb92b9541c7eebb87167bad2cec34d6f042030da9dcc29dcedcba14951e08475350dd1f054f1a0a550389cbfa05336c72bebee91b289602dd513312078aacf7
diff --git a/sys-devel/gcc/gcc-13.1.1_p20230603.ebuild b/sys-devel/gcc/gcc-13.1.1_p20230603.ebuild
new file mode 100644
index 000000000000..8ad60ea96784
--- /dev/null
+++ b/sys-devel/gcc/gcc-13.1.1_p20230603.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_VER="3"
+PATCH_GCC_VER="13.2.0"
+MUSL_VER="2"
+MUSL_GCC_VER="13.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="mirror://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
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ # 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(-)?]"
+fi
+
+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 "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch
+ eapply_user
+}