summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-28 00:57:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-28 00:57:36 +0000
commit2865ab43f3d9f17ce41a2b048f7ca1ea32177955 (patch)
tree707500345b262089fc01758ae9a45a4222e4bb59 /sys-devel/gcc
parenteaa317e2ed8d0c068526a9abdd1940406252c52e (diff)
gentoo auto-resync : 28:01:2024 - 00:57:36
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-13.2.1_p20240127.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index c61002b93237..18791c1c0dd0 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -23,6 +23,7 @@ DIST gcc-13-20230826.tar.xz 84285788 BLAKE2B c25be594e322dd7145245c42ae21b98aa9e
DIST gcc-13-20231216.tar.xz 84341616 BLAKE2B 416ee94995b0812ac155ccfb9a5cad39529e0b437341eae65fdc75ba64bcdb453742e213f676a80d91615f1840e2e52488e4a8311588a2ed16fde7c176c5dd06 SHA512 66a72380db151355ede533541b2e77406925f2a0f941772018bf93f8a4c2b8eaeacc3f600985897f7d9868234bc250a7af82d27634ba170ab6dfb2a62c68c0ed
DIST gcc-13-20240113.tar.xz 84356052 BLAKE2B 1fbfffc9f2afe443158e3f26182c8bdc3f3b599c5582762117831ecb6e6d3c1c69e8d2e5932f45eb7d534c3967e08a9f7b1bcec31aa5d7ac608bebff9f35120c SHA512 a59886f707cf18f684295031d4d9fc5b03396face1705e61852d7de98729c53ac4cf209e951d00c232f14e9dc48eee40dd92487db7cb6ad0e80f2339d6d9503a
DIST gcc-13-20240120.tar.xz 84362612 BLAKE2B d8aa2ebd73e2911c143505d2ed91bbab1ca4a11238bd58727ff997311bf679a714f4be7844b2570d467e46ed5a36e8316669603a278502ca7c8fa7af338a49f7 SHA512 2c8cc41be30529198c573cc69d1c5c9da1389e1c89f88ba931c7d2475abb8999a22f25f2e1fa75f61550c95e278bb26f2649cba6b298f6cfc8c6d098487552c6
+DIST gcc-13-20240127.tar.xz 84365080 BLAKE2B 735bcff50272765110a14358d6cddd0a96b059876b5d6eb67cd8145362b51ed72162d9333cbb21849df36ddab52d4b3610d74582d2b25d7f9b5c52158042cd2c SHA512 7ab50e7dd637674d69e71a791043074a6887ee07bcb74ea919d8ab4c0164eae5ceaf0f955dc83473d2976692d28b6d7f802f78dbf90da66aec023658e1e60e59
DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69
DIST gcc-13.2.0-patches-11.tar.xz 46340 BLAKE2B c9f12ccbe7bb7ba3a2afec16695e69b062429779d544f5614e1ef0617751e54d77eb9bb6e19dc8c6132c57e630f0e77e2cc20cf2c77e0e79d03a6e57b9ba53c6 SHA512 a09801ecefccc66830607986a622bbcc5f217ba08da4ac9f68436e422b5a19042c60c7d5fcb75d4fe9ad9008ab06278382c9798b319ed9630c2e97fa09c3a344
DIST gcc-13.2.0-patches-12.tar.xz 47404 BLAKE2B ed018bcd7429d1c7aace746cbfc4e59dae409fc0a35231320c1b44c96fff0d912eba5c72109c2deb883f5368159df02148b2d4373396b34da882164c61fe4387 SHA512 b7872a03870bce7b633e4af4329b24fe8f3d50d6d9173f63549f606ce062787748af7f79e7ec4afeb768968d6e8462a849bd1b94316ea6bb284551f99e811617
@@ -53,6 +54,7 @@ EBUILD gcc-13.2.1_p20230826.ebuild 1672 BLAKE2B ddcf137ec925acd9450d0fb920bee898
EBUILD gcc-13.2.1_p20231216.ebuild 1680 BLAKE2B dd776c332de13307fefdd9ce3115e30e265d424841d014bb9b1ac85cea2f4d3ed7dc91905a93a9d257114a55010e2b325b52c1b422a97c7e24b13c9e3d72805b SHA512 6c581f635e072fc097844fba70c441ab8f57d801cc0d2d70b533b014410f0f573418ad62ec2ba4c70a82b805e8a316a498e68cabe6929898351be7236f37f18c
EBUILD gcc-13.2.1_p20240113-r1.ebuild 1673 BLAKE2B cde0ce0b229e45680da163f2f91d660cf420f2311f3c2a7ed3bc3b23b3396c7fba482dd9570faee5d18409a597c0c23c8e84dbda9c0b5359b3420b46b3c920d7 SHA512 329223c520e30bfd901837c8012468d7b6c816f7e59cf7435138ed530fe7970481bb0985914b1e9d1810299025eef0f35f1813405d695b7dee03dfdb40673675
EBUILD gcc-13.2.1_p20240120.ebuild 1681 BLAKE2B 8d047c3b38e2374ede5fb2dcb4a97e080c2d57643b0a57a94ce640edb19af72b3bc1e6e905774cd4c1ce9cf4e4c1c15636f8937891d33939a03645bd3f577da5 SHA512 12bb31f025903671c8d3eae19f00843aef902791c86ee7db79b0a4fd804a0802421b12192a3a2bd60dce4f63df63872326c0bca8e12529a554888e4111320733
+EBUILD gcc-13.2.1_p20240127.ebuild 1681 BLAKE2B 8d047c3b38e2374ede5fb2dcb4a97e080c2d57643b0a57a94ce640edb19af72b3bc1e6e905774cd4c1ce9cf4e4c1c15636f8937891d33939a03645bd3f577da5 SHA512 12bb31f025903671c8d3eae19f00843aef902791c86ee7db79b0a4fd804a0802421b12192a3a2bd60dce4f63df63872326c0bca8e12529a554888e4111320733
EBUILD gcc-13.3.9999.ebuild 1589 BLAKE2B bf6463d9ba5db2a0d494941a33cc7a2be6fd01fc75222c1de50997555b70ebaf2a374dd9f61ffc3eafc1befe23ebedb36123e4f2366cb623b69f1ed566a1a3b1 SHA512 2138f692eca45b998e5675fde63a5b36dbc1dbdec36d2aecf5695c12c51caeaa578a443bc9e795de9e711a55bef79dbf5ce9751a151002bf1625df90b1bb9ca4
EBUILD gcc-14.0.0_pre20231217.ebuild 1596 BLAKE2B b82b52e7652b6872edea7820cb8d25106b974aa5b28aa1ed68ecc721f6025e67d5f240be05e1456b644789f6404646d2ad98b64a80028183255bec0f70d5d1d4 SHA512 604729d35c656b6ab17df319e7bc78275d83fda8425e8d5835ea61a716a819108593b855c6835a3cc12ba2c664c6eaa7a114d5fd971e5cb85eeb592fb04af808
EBUILD gcc-14.0.1.9999.ebuild 1568 BLAKE2B 1a8a6f2d8236b48c81504d7462b2f1c4b8ffa98f635bd037c085ea5c9db2a448afd3a669f9f2b312de19c5e6000e47fac98d7eab815f103cdf07e352404cb822 SHA512 26f18580dcadde442995d6258d7b882cb355893d3e01f6d283e25c7df1cc28afc1988f22998934133b44752e74b2c479cec58a1e031dfe2ac2ba2271fb2e1285
diff --git a/sys-devel/gcc/gcc-13.2.1_p20240127.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240127.ebuild
new file mode 100644
index 000000000000..e295e327ec92
--- /dev/null
+++ b/sys-devel/gcc/gcc-13.2.1_p20240127.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_GCC_VER="13.2.0"
+PATCH_VER="12"
+MUSL_VER="2"
+MUSL_GCC_VER="13.2.0"
+
+if [[ ${PV} == *.9999 ]] ; then
+ MY_PV_2=$(ver_cut 2)
+ MY_PV_3=1
+ if [[ ${MY_PV_2} == 0 ]] ; then
+ MY_PV_2=0
+ MY_PV_3=0
+ else
+ MY_PV_2=$((${MY_PV_2} - 1))
+ fi
+
+ # e.g. 12.2.9999 -> 12.1.1
+ TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
+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
+
+if tc_is_live ; then
+ # Needs to be after inherit (for now?), bug #830908
+ EGIT_BRANCH=releases/gcc-$(ver_cut 1)
+elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
+ # Don't keyword live ebuilds
+ #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
+}