summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-19 11:02:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-19 11:02:19 +0000
commit8c58ead574346296889d58006e1bf184da00be3a (patch)
treea7f2072c85179ee02c63febb294a7853dd137de1 /sys-devel/gcc
parentf9a583991092848eb54269744b512063a4d59de0 (diff)
gentoo auto-resync : 19:11:2023 - 11:02:18
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-13.2.1_p20231118.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 8426f7766634..5ddcfd2116a1 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -36,6 +36,7 @@ DIST gcc-13-20231021.tar.xz 84324516 BLAKE2B 0b55e215eeb1240c9c03664e6e3b65b9321
DIST gcc-13-20231028.tar.xz 84325916 BLAKE2B 605584633791822d8d4719837cde8d60866cfab2f278e0b2a680211f9dcea1c70ccb5bf94fa366dbb5891abd5e5c0d07e066a503e91df22d5d7ffb304d733fc1 SHA512 51bce79290edd3f95f8d833369089a6369691edf8a4f6a1d4ab5a3ff7342f855045fcb85b81f13fe79691f42725774ceba052a0d5ec8e557857d309b46c65e8d
DIST gcc-13-20231104.tar.xz 84312824 BLAKE2B 98f360273eed7ebd7610ed59dd2636e03cb58c5653736d5fd42fdb228c4d7d29d2fa1ef5c1061575f5571b1fec9d23806f8729c65a9def7b5d5f5b3da8daca71 SHA512 9d16205fdae17326fb646229a637ef798beed5901d883268678ea276a69a7bde878fadbf04c5402c1956d2e6a3f46a1c0126185e7dd64ef497ffb57292772a2d
DIST gcc-13-20231111.tar.xz 84331252 BLAKE2B 0089751c93dca4fb7dc9679da0dfd7aab58809985a4df97716134e441303591a317103859bf6c66ce4c3e58a5dedeca30b28f72d6412b5eba9ae7959df41a410 SHA512 6f62981040894fdc98fff57295608092b917fe909cd67477c9ffc81197e5780ebabe1fbb4113e792ea441e0adb79fec5f802cda807632945c36ea295d623f19f
+DIST gcc-13-20231118.tar.xz 84338040 BLAKE2B 792122da18c1f315753b9aa194ff31b3e08befdea751ccb095fdfa9752f70fba85763508783b70aa8dd01ee88b35a586e03d8bb45e8c2e822b764e334b24da17 SHA512 a467cc5edae1628425291c0ea55f7e525f52cc50a849419ab39d439874276784d11a3c61172299cbe4b8e0efccff5375314ccc2920b331a7791b4c09a235fe99
DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69
DIST gcc-13.2.0-patches-10.tar.xz 45860 BLAKE2B 3c4f8179fc27c31c117bf9260cebbab0805e0977cb41084f2df5c6664121ae67f83deb882572b0bce8d5f20c0ec927eeac43e60d69ce8d4d5a263c1dddedecaf SHA512 4088cc80278826043bc6a9819dfcfa09a251e256eca9a2654f1a83b9b54107ca08fbea0e9ab61593cb0b43fc42a3d87acbe095dc8f806c7010a3ac33148d5c9b
DIST gcc-13.2.0-patches-7.tar.xz 37064 BLAKE2B 4a8700a8d44bfaa84926f8bfd0da4c5b0c0377f47fc0679456e909f7c9029b9cf1b72c0ba0bc505d9035d5c38e27f7e5b029727eaf2bc7aca417a6be966b2f43 SHA512 f440c97e6782ecb8581d41608e31a648ac426e2d870bc1d171da7794cdeff2fd0546cae0c7214e72fd3a00ead8a5c66f3f633b670b74553a2f3a40378b51f20c
@@ -81,6 +82,7 @@ EBUILD gcc-13.2.1_p20231021.ebuild 1681 BLAKE2B 3a0c49b010e490ffb64a63da3630c407
EBUILD gcc-13.2.1_p20231028.ebuild 1681 BLAKE2B 3a0c49b010e490ffb64a63da3630c40776538192b352ca37bb36e27fd2e88f023d4f90c40e27b5ed85047e28a2baf8676fdbc8477e45b96b9eec85bfce2342a4 SHA512 299addfa18fe4d7ac64ba0e02e9d84c39998557a482178da35e895fb0b2884c7b65f26f2fa6b0e9ebab727802ebcdd78f5a5556a4da1bde72eb031fe5a18e5d0
EBUILD gcc-13.2.1_p20231104.ebuild 1681 BLAKE2B 3a0c49b010e490ffb64a63da3630c40776538192b352ca37bb36e27fd2e88f023d4f90c40e27b5ed85047e28a2baf8676fdbc8477e45b96b9eec85bfce2342a4 SHA512 299addfa18fe4d7ac64ba0e02e9d84c39998557a482178da35e895fb0b2884c7b65f26f2fa6b0e9ebab727802ebcdd78f5a5556a4da1bde72eb031fe5a18e5d0
EBUILD gcc-13.2.1_p20231111.ebuild 1681 BLAKE2B 3a0c49b010e490ffb64a63da3630c40776538192b352ca37bb36e27fd2e88f023d4f90c40e27b5ed85047e28a2baf8676fdbc8477e45b96b9eec85bfce2342a4 SHA512 299addfa18fe4d7ac64ba0e02e9d84c39998557a482178da35e895fb0b2884c7b65f26f2fa6b0e9ebab727802ebcdd78f5a5556a4da1bde72eb031fe5a18e5d0
+EBUILD gcc-13.2.1_p20231118.ebuild 1681 BLAKE2B 3a0c49b010e490ffb64a63da3630c40776538192b352ca37bb36e27fd2e88f023d4f90c40e27b5ed85047e28a2baf8676fdbc8477e45b96b9eec85bfce2342a4 SHA512 299addfa18fe4d7ac64ba0e02e9d84c39998557a482178da35e895fb0b2884c7b65f26f2fa6b0e9ebab727802ebcdd78f5a5556a4da1bde72eb031fe5a18e5d0
EBUILD gcc-13.3.9999.ebuild 1589 BLAKE2B bf6463d9ba5db2a0d494941a33cc7a2be6fd01fc75222c1de50997555b70ebaf2a374dd9f61ffc3eafc1befe23ebedb36123e4f2366cb623b69f1ed566a1a3b1 SHA512 2138f692eca45b998e5675fde63a5b36dbc1dbdec36d2aecf5695c12c51caeaa578a443bc9e795de9e711a55bef79dbf5ce9751a151002bf1625df90b1bb9ca4
EBUILD gcc-14.0.0.9999.ebuild 1568 BLAKE2B 02ff0ed9ee64898714a411d4d6dce9ab4ed30ec1f8dce58036da4cfdd033281868c82b1a9e6da669898e405194f84be3db34cbf7a8b0144d2049558f30370b90 SHA512 5aa6f2841a026a8b021f3fd0a6ff47f11f1a7039454cb95a8af148f247792c90d08d254b16c1369e0aabf83da53add611594632a951fa075c06daee837eb27c9
EBUILD gcc-14.0.0_pre20231015-r1.ebuild 1645 BLAKE2B eb5c8bd3e9d5d7fb53216e86ad34f63649cc8ff6727d91feb63dce57c93727697e52383015b598d18a55bb0d9a2c722fd713e78d67f6e7680cbe35585ce785be SHA512 89b19a384473f7b3336be38741342cbe757d52ddd8aabec4fa1c9b826a61ae5b8bdfff5323b3f346d4fb80b5f61c0fb054ca23c0f5c6e11119c283c7a6c73b7a
diff --git a/sys-devel/gcc/gcc-13.2.1_p20231118.ebuild b/sys-devel/gcc/gcc-13.2.1_p20231118.ebuild
new file mode 100644
index 000000000000..905d93979f46
--- /dev/null
+++ b/sys-devel/gcc/gcc-13.2.1_p20231118.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 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="10"
+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
+}