summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-16 06:48:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-16 06:48:32 +0000
commit80ea6e6ea87f4685ceff45cd13dd00d644688cac (patch)
treea114900a44fa7b9b4ed50067d4535d32a20379f8 /sys-devel/gcc
parentd522d1ab80efc308821a88512ab6d40850d54cb0 (diff)
gentoo auto-resync : 16:03:2024 - 06:48:31
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest4
-rw-r--r--sys-devel/gcc/gcc-11.4.1_p20240314.ebuild64
-rw-r--r--sys-devel/gcc/gcc-12.3.1_p20240315.ebuild64
3 files changed, 132 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index e090ded233c8..6b028a75c7b1 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -10,6 +10,7 @@ DIST gcc-11-20240208.tar.xz 76276224 BLAKE2B efce83c3ea03093546b73d7731ac1051da7
DIST gcc-11-20240222.tar.xz 76255148 BLAKE2B 9a406e85ccdb9447b4672841d84cb248618d75c996ed08441449713861b99be2812d79dc76db18f735efd795b7039c58e554cecb02b76ce95b4272fa856ad7f5 SHA512 6c1370221e1969060dbe3ea03357c238cc7c84500e3b71b6a6c1f47e77bc3708e46210e99e0d5482674b412e1bdcb2feab5021137ac1af286f47e51d841153ef
DIST gcc-11-20240229.tar.xz 76261680 BLAKE2B 70e99abc40fe7903570dfabc3146be207c622a1d5f9df5504e29dc0aaf367136dd8e3a29a539142382baa89da0208f23f3adad69b2f6b0ebf3de5f7caad459eb SHA512 01f93bdb18f3011be7cf24e00aa96e977c7e19b3ec6b6db7d481ecac090b4ccc08a424374a5a5672b5b693bbf76816d9c6b4e5b42ff1806e0233007da89e3fad
DIST gcc-11-20240307.tar.xz 76268160 BLAKE2B 29f61333c58e0918d4291171f4ad5cacdb3c1e7b30014a20d0d7f6263e97c2725f5b8ab327af8898d796c1207de3f110af93625918d34b735fedf63187298e61 SHA512 0f5a93ba93672d9b957efdb47a11bbf8debc417598a8439f7ea7c16faab3213ced78f84524c38eafb89ed2aae47390499ca7fe23f743cc33e87d90c1f90a2fd3
+DIST gcc-11-20240314.tar.xz 76260500 BLAKE2B 3e36e1c00464b4e67c1d9775b0f46367bbb29cab2bf8bb7b301583aeb5e8d8b6404228992941049af936e65a57b70d389b87d5eedb447c1ebe62f27bf4600177 SHA512 67a715a2affdbcf8e748951f3da99c9e6810a4a932deec665d139cff50627f12820d247746ae9c9f3534f0b8a83daee5b2bf3b2f4c0b75a55201f58fe7d27f65
DIST gcc-11.4.0-musl-patches-2.tar.xz 4308 BLAKE2B a2335e155fc57816fed822a648e0eaefafcba9d04e1ad0fd7baeea5a694ab6f5e3c1678cb406f2a1bd17bab25cb01699d032713a1ccf337948dfda2093844607 SHA512 17b84f907cb1bd763873655e6f35fd3ed55a40b602b70a626f04f83b4cc89c6261db1661de78d4d969187a8c56e9f6305b742515a3836b962248a21df0df5d0c
DIST gcc-11.4.0-patches-12.tar.xz 13824 BLAKE2B e4df9e0dc9512882022aaf325ebf65c540169454c91dd31f913c6f57f6eb291c79ae919671b53db1549799d4a70c09298bf45ed82ad05eb1f961443cc958369d SHA512 87fed0c3f8e28c9f702443db58350bb615110b27ebe334b5de2ea60678e2548c56cd75cffade210d69634e2ac0a9311f5100ddb45d97645aa76d5688bc421a61
DIST gcc-12-20240112.tar.xz 79832228 BLAKE2B deec7123b8ffc42ddace51e1f3e8e08d5485f7000c0d4b7273b6311912ec0e7e2cb41124297af8c54456bb369a76fa2ef51aff552d8d680ec41dd2b144b08e55 SHA512 2c0a676ad35e6edee915c042a1751ac0263fae9b7af4d324deb49d6603dc73d3ec768832184879543e6ffb1595da5c56d9117288547adab7f243646dcbfc64ac
@@ -17,6 +18,7 @@ DIST gcc-12-20240209.tar.xz 79824868 BLAKE2B 1ae5a646da470f06648c4766c77475ceb28
DIST gcc-12-20240223.tar.xz 79826600 BLAKE2B 408f3193c1254f3155b1bc679861fa4c994b94090cace14532a6e753ae217be9990919c5a9b2763b294b1ebbaf95876055c841e854132773cc6cb81454d0caec SHA512 e9c23cb4a5101e556123fd621fd849f961e11871fcbfbb9dd898de66a932be9b891030d327231327946300beb0e0c3abe58f8f1c72158c910785e8ecb2f687c0
DIST gcc-12-20240301.tar.xz 79812760 BLAKE2B af6fe0a9432bf6f4e8bcc1f06a66632abfde9925ef6eec2fd092214f75383d68d3a7fbaf0e9195e602aa5e3d994b8e5005362ef7229121fb7f3ace902e53188f SHA512 4ecaff01a6c3806b14f4361881fe9c5a7bab32d258d46e5f8d5b577aebd910b2cf152915d5e832d3496a1f82644f01530ba3ee9f0ff2ee2b1b358911ae90935f
DIST gcc-12-20240308.tar.xz 79833804 BLAKE2B 08a41ab1ec664810fe7e57b59fcb9e2b429d7c8fab259d06828d74465c177ac84066b288164fbba96104a01122bbbfd76aa6113601dcc0c034446e490fa62d23 SHA512 da5348f2262ec5a7099bcd42b39c23a06ce31a28fba0a0138669ed1501b9a6e3b9e599a860b987236162927825f466354998483213becf8bbc696cb5f34ceab1
+DIST gcc-12-20240315.tar.xz 79836176 BLAKE2B 0e72c195c65b2c18cae82a2ef0e619638d3c19928b7098bc5b295b99e32243f791a10013f04498b4b95d34e93c77bfe5c7e9a980aeeab0ac44e5b5d6cbe1ebf0 SHA512 4a7a448932f4897f6514e344674bf58f0564f8a7ca6269f98ffd23f1be6fe6287117e9e2cd5cb69a597958c4c052edbb66d0b71d6ded420af3bf9b1fbaf18955
DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B c7bf65f7c9ea8023ddaac821ee2b778622fa310ac72a72b2f7032494a8f304eac86217f9204622e6c21aaef9952bece0d09bc126facd4f42b602927909815ab5 SHA512 babc279fea2c1fd4c018815f2f5630214fd46015ce9f365c28af242681d51818eaca30ce298eddcab1eed5ac5f2759e2b47b2335afab9d722b4469a6d4fec326
DIST gcc-12.3.0-patches-2.tar.xz 14236 BLAKE2B 06c43662c9abb0fa3cf90d5e2273c69aecb9158e6cf6f23c04754ed5d686be2616e81e2502eb16f4298ddd50518ca7677e13249da9e9b091162d3931ff65e4fe SHA512 b0d4b85dbf1a54aaaa1997203b872e3106906b4ad49cde57e1428bc22b2f8e2d73b8cb10ae0d0b792aebaf664594da4d1dea04c44ddc34e59047410766db04d1
DIST gcc-12.3.0-patches-3.tar.xz 14852 BLAKE2B 7a5f1f43063b15f424099afd72096212fbbbc5151ff01f2de15dfb6e7cf274981c8cfaedba9ef61576c9096fb172fc550a7deb5cd7d9366fd249fd5dd3951f76 SHA512 aa89e4c2ae02f4fb42229ad5167f2eaa3a8fae51118645bf07199fe2124b9c83948590662b053d08002ef709fa870ea88315fd4ccbe4441a74e9cb62edcb82fb
@@ -46,12 +48,14 @@ EBUILD gcc-11.4.1_p20240208.ebuild 1625 BLAKE2B 7b0b11273904c9ac09ae3016c57b1546
EBUILD gcc-11.4.1_p20240222.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0
EBUILD gcc-11.4.1_p20240229.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0
EBUILD gcc-11.4.1_p20240307.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0
+EBUILD gcc-11.4.1_p20240314.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0
EBUILD gcc-11.5.9999.ebuild 1593 BLAKE2B 53548c83f3180405463c0ed23c68c4b741c89a0fb2007157127db6c7772387ba51088657b0977a09192af7540f3a7cfe0c6cd184c725dd113d10bf47b04cabd3 SHA512 bf75ca5709c33db7525d552082af62df9b5cd790a343f22137d22a072d6a87c08d3a5659f427378a125f9a479863f5c75e1a82c5b4b0df2900ac56f9db773715
EBUILD gcc-12.3.1_p20240112.ebuild 1624 BLAKE2B 55470f6869d62666538715be63bf118e93d3f117c163da878047cb9f8b97f84380c92179abc40ba4b21f80787d0b8f2e67163f58ac919de8a2550f05217029a0 SHA512 2d48c02f29874f4b0a8057f821aa1430d74773789dae684b784bfd5bffba28c14f6412b1cabaad8458661933b1913b692860f08caefb597fbcc6877fe9ac4873
EBUILD gcc-12.3.1_p20240209.ebuild 1626 BLAKE2B 78310fe651070b7e809b1c4fb6c4bcec3bb67a433de7c16a17804e57065b9bf6900c185d184eebca9194cd895fbbd401090feb98179924e745d57cd22c011af2 SHA512 8f39a6a5e43f367cb636095c7caeee19dc94467ec7ca7055fe08d0df5d0622a9d4526a10d342c10e0dfc25345496ccaac14acf658c22033f81c6653a6a2ddabf
EBUILD gcc-12.3.1_p20240223.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599
EBUILD gcc-12.3.1_p20240301.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599
EBUILD gcc-12.3.1_p20240308.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599
+EBUILD gcc-12.3.1_p20240315.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599
EBUILD gcc-12.4.9999.ebuild 1600 BLAKE2B 0d6391f49ecae032403336447c8f026e47453b9e43efc447f7c6946ea2c55a6c97aa60e5bb586f6efe3615ea7c2a0cc57dc6b86043ffb5a136b9f1eacc1b37a4 SHA512 04b539938f1b1afe488d7e543f3cc3244b16a2e4daf4d311a9c20339d52a47dfe7ea0c49ef378349548b8454a56201333a36ac3c40ae9acd628c4231567393e5
EBUILD gcc-13.2.1_p20240113-r1.ebuild 1684 BLAKE2B 7e7997e86e11ed80ca9e960529be8ffbf8513b04e82886293823c6cfd31531127260da3b9ae7e6da94b1b1d7b088d7b77113f2426bae046336b92e3cb4b5bb81 SHA512 2ea187b3e2afc1fd6599410074f692f4355ea31e66e85ce127011b70773d278ba748f253bd29ab123b5945d742940cff6ac730bcae80f3be3e20141501f56aad
EBUILD gcc-13.2.1_p20240210.ebuild 1691 BLAKE2B a3f9fd3266478d67ecb2d8fa69b6a714fb150df472bce0f4c2a4d110ec95a77ffedb2437ad415da2769a243b5a6a21753d64dd3eb789dedc7d4f195cc35b5e44 SHA512 f748dbd99db35ceb4cd957e8c09bfbf52c0e94f2d88a27e71f8089b532847152fab76ae6bec1ec928b91036332a5e4cba94fade81cf34bd255fb5841c89f7499
diff --git a/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild
new file mode 100644
index 000000000000..91a92b092972
--- /dev/null
+++ b/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild
@@ -0,0 +1,64 @@
+# 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="11.4.0"
+PATCH_VER="12"
+MUSL_VER="2"
+MUSL_GCC_VER="11.4.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 ~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="amd64? ( >=${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_user
+}
diff --git a/sys-devel/gcc/gcc-12.3.1_p20240315.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240315.ebuild
new file mode 100644
index 000000000000..44985e9fed07
--- /dev/null
+++ b/sys-devel/gcc/gcc-12.3.1_p20240315.ebuild
@@ -0,0 +1,64 @@
+# 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="12.3.0"
+PATCH_VER="3"
+MUSL_VER="1"
+MUSL_GCC_VER="12.3.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 ~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="amd64? ( >=${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_user
+}