diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-17 05:37:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-17 05:37:24 +0000 |
commit | c4a46526c2232ba00b0ccc97f2d2a30b0c6baea5 (patch) | |
tree | 704e1ac4fe255581fb2a4fdff0d69c5329e1e403 /sys-devel/gcc | |
parent | d228f661892a9e55a86f00c2c14625490631d797 (diff) |
gentoo auto-resync : 17:02:2024 - 05:37:23
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-11.4.1_p20240215.ebuild | 64 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.3.1_p20240216.ebuild | 64 |
3 files changed, 132 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 7e1a8c21e249..4bd5be9a2981 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -11,6 +11,7 @@ DIST gcc-11-20240118.tar.xz 76258832 BLAKE2B 0474e1890bf618dc6dbb3e8cb90d4aab506 DIST gcc-11-20240125.tar.xz 76243360 BLAKE2B ee2b1260cd5de9bc7d4a15bb4b4b2afe651f2333311c042314b7faa6fcd33f68a931660b215454bd4863f677e4abf38acf33a4f88d4ac98d0384b7ed6b920816 SHA512 d269aab6e5effdcfc3090279c56fee6e4ad5a6bda7a65712892fd0fcaedf3249b9fc20e370d00dfcf8442d07332b0af9717425075f33832b6af96078ecb3d5b0 DIST gcc-11-20240201.tar.xz 76253248 BLAKE2B 1ccefbc220a9381e83937808602a14bfa59bf38b1f730bae8f96666036ca2b4f2a2f4369b3ea87f78ff9edef5e9429a793851d83ac4356c729ed58c02cd12862 SHA512 16c22ddf164668be3e365883edacb88607aaf294dc8065a9a722dc7afc0e29d1e879d1c39d77552dfba1c333bfc44258d784d0d06e9c935eaab28802a5756910 DIST gcc-11-20240208.tar.xz 76276224 BLAKE2B efce83c3ea03093546b73d7731ac1051da7a2b0309612ce5b809ae2756bf7a949c94f951f6a77e789f7669051315e1a4e4c33f2b12a2ec1999ee9f1f39f6b13f SHA512 a0e2b4402ff187d0804e3bc2ed0a228cfce48476c1270d57798b060899f65c7e986945651d36c358f9df5eb4b36db13321e141895329b7382c130a0aca6a8962 +DIST gcc-11-20240215.tar.xz 76240320 BLAKE2B 6a6c16fe13ba7c7bd1e7326bcce7f276110f0e10c02e4d6906ef3dd7af47a80bd1891ad223990e3d9f6287878f07590e5ff3836d983bc6ffe5dcce3ab07ee2d1 SHA512 eebaaf16c20f9e255f014b12faec3ad9b7486b977dded7293bfd62b07e767abe36040061b760e230f5c6dbb140e62dfd20762645114b496d59bedfb99fda70e0 DIST gcc-11.4.0-musl-patches-2.tar.xz 4308 BLAKE2B a2335e155fc57816fed822a648e0eaefafcba9d04e1ad0fd7baeea5a694ab6f5e3c1678cb406f2a1bd17bab25cb01699d032713a1ccf337948dfda2093844607 SHA512 17b84f907cb1bd763873655e6f35fd3ed55a40b602b70a626f04f83b4cc89c6261db1661de78d4d969187a8c56e9f6305b742515a3836b962248a21df0df5d0c DIST gcc-11.4.0-patches-10.tar.xz 13852 BLAKE2B 54937d13e30e2a5303c7e197fae09eeed35ca0b9783625e02578fcee829b5503fb22d664366322b304df7d01ae807d00af7c93db3e3ceebe4851e15647724f87 SHA512 31b4d7a2e7cc589e92e12c3583d13d41c523cafbd309bc0532df9b68ea2473c89daef4c0edd3ce2917b5823d81a7792f145b9449f16277d0d64c22ceff50bbb9 DIST gcc-11.4.0-patches-12.tar.xz 13824 BLAKE2B e4df9e0dc9512882022aaf325ebf65c540169454c91dd31f913c6f57f6eb291c79ae919671b53db1549799d4a70c09298bf45ed82ad05eb1f961443cc958369d SHA512 87fed0c3f8e28c9f702443db58350bb615110b27ebe334b5de2ea60678e2548c56cd75cffade210d69634e2ac0a9311f5100ddb45d97645aa76d5688bc421a61 @@ -21,6 +22,7 @@ DIST gcc-12-20240119.tar.xz 79829068 BLAKE2B 822e3730e21d80216c531426688c23cb8d7 DIST gcc-12-20240126.tar.xz 79822228 BLAKE2B 7bee3799f0655d35773c380996d5cccb7b18a2f12ba45a37e54fd190407583a540a9310fce455b72f35718f8e62f7f47e9b99ff99a8462014978b6d90f7b1013 SHA512 b69d6d41038f1c9da982eb4d4e680fe0827a316f8aede741279610108cfd5a8ba7854326cc497850472d3009496ec7b04a0bd0e1a61a96184e7abf54ead95dd4 DIST gcc-12-20240202.tar.xz 79839620 BLAKE2B c79f757042374fd0c2a6980e2b6d3853d1a440b0ace8ac2987b524b8abfb80b30c3a533f1271c5cdea58bfd890a36abfb034a77580a15a563098b8c57bf61224 SHA512 3eabe953c14c370e5b8c4293e0a3f041121914ed30788797fd7c7822b2ecc05d7c1b4859d374249cdf26e91ef9d7e8b04235b7d1066730c44d4ae221ddbf06ba DIST gcc-12-20240209.tar.xz 79824868 BLAKE2B 1ae5a646da470f06648c4766c77475ceb287c5f6647d5102f1aef6590f973233d5e7f83b5e0241488d49dba59dd605c211938379e68a393a2dccb3834103ae4b SHA512 9f9a04f4477f41bb2a5662aedef2af75b039de50c2dc99310e504e6080cb7aae06a1255337ea2e563975cb108ddc6766adbbaf4e3d5d5712801d7ba9a5209dbd +DIST gcc-12-20240216.tar.xz 79824728 BLAKE2B 579f0b7b14be5f509b950b1d0ed985ad7abf85787123cd71571fa0daa7176636ebcf10f3f7cfc40dab258cda5ab81759feb9284ad35e5333c89bcab8e7d84ccb SHA512 4bd8242f85190fe2e0c751e4ba3bc59016ce407b1e8fdc034220e7af14cfc735a84deb59e5a78e5993e254904890c89c171c4f8b3a322d06db852e7595b1a1c4 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-13-20230826.tar.xz 84285788 BLAKE2B c25be594e322dd7145245c42ae21b98aa9e3e6ae69f1fa313830e40bf2e8fcb8435762f1c9d3f1ca1dbf31653bdc76a658bec708b7850fe40a7c55504ac30618 SHA512 3d47632e90651bd50a881c727c1ef2aa3322b4fc3e082919ae430270901abf8a05a34fe93f8b678c10dc9a0758f93dc3b33ed5947c8743dab453d2b50c063722 @@ -60,6 +62,7 @@ EBUILD gcc-11.4.1_p20240118.ebuild 1615 BLAKE2B 9c08652463d428b830606ce44b424629 EBUILD gcc-11.4.1_p20240125.ebuild 1615 BLAKE2B 9c08652463d428b830606ce44b42462968a10d6ef99d048018317345f6de7847a8648da53131ddf3fd21c2b9ee9753b067d602c099600c97c495bf566b024d10 SHA512 39ba5cba6e5a28d4ede775a7d2d48487fb2299f31d7879ba95c3655adc7faf346b9f3ac59e3c4234f1f302eda1820f14186ca4fbe2731513b0d3cafe184069ce EBUILD gcc-11.4.1_p20240201.ebuild 1615 BLAKE2B 9c08652463d428b830606ce44b42462968a10d6ef99d048018317345f6de7847a8648da53131ddf3fd21c2b9ee9753b067d602c099600c97c495bf566b024d10 SHA512 39ba5cba6e5a28d4ede775a7d2d48487fb2299f31d7879ba95c3655adc7faf346b9f3ac59e3c4234f1f302eda1820f14186ca4fbe2731513b0d3cafe184069ce EBUILD gcc-11.4.1_p20240208.ebuild 1614 BLAKE2B 5cc63ba5c3d0cefe684c3df6c32f1dfe60c4d6a4fd5373d9cf690d0f3b18908387d6c0ea2d2df98e33bcd60518b8a46526f34aa4fa0af62147451964e17f490c SHA512 09d671f5f73b9c3556489df76b99ef636079519bbdc8d368790426618ac9dbaa1ffbb9a7411b8af78106d0c7ec6c44d1cbfcb35c66eb6285c7f72957e85d2baa +EBUILD gcc-11.4.1_p20240215.ebuild 1615 BLAKE2B 9c08652463d428b830606ce44b42462968a10d6ef99d048018317345f6de7847a8648da53131ddf3fd21c2b9ee9753b067d602c099600c97c495bf566b024d10 SHA512 39ba5cba6e5a28d4ede775a7d2d48487fb2299f31d7879ba95c3655adc7faf346b9f3ac59e3c4234f1f302eda1820f14186ca4fbe2731513b0d3cafe184069ce EBUILD gcc-11.5.9999.ebuild 1582 BLAKE2B a5b94704a65afc32a3079ad0732b544c03413a9f4965ccf1c2718fd763dc29b7a64e54b8cbb492d52e93527e3f0d4966d17eb6b6cb81fd609c6629d19f6b124d SHA512 bd165193f6ef2b12930bac05c8c3f75f6bafd143a13ed5c2960f7a1d8039608ca23ccbffe9a6b235d42c789d117e29cb3d47998c71a4a3eba30a63b8b9e0f116 EBUILD gcc-12.3.1_p20230825.ebuild 1613 BLAKE2B d0c6b99a1c529b7a518fc86b5d03c279dba37d111b0a356e416b8601f066cec460761ed14d0a4ef5faa6f16fb9af29baaf9bcb17edd55f5604d9bf012c579fd3 SHA512 b23bffb263e68b7f5045bfdf79538cb1e1abf4a4d789db7b915d586f10ebecf74a9d59715c8db5c2dd57545e559bdf72bec39a76ba50ddb13efc9db66982d56e EBUILD gcc-12.3.1_p20231215.ebuild 1620 BLAKE2B 3866983ddc8c6811e00c12af0051e80bfc7f0651a5ef6ca4af9ee651e2efea89a095a616908cccdbac88d8c1baa5ba2eaba7ce7e94f9aae6ff3a56ff52bcd0c2 SHA512 81a426e6392a42d3a28eb6aa5a2de535771fdb87224eafb60ea369c902f27a42c8265565b354d4bbac8daa968849a20370c529c62c9367f0cf58756124d08e0b @@ -68,6 +71,7 @@ EBUILD gcc-12.3.1_p20240119.ebuild 1621 BLAKE2B 82b53aee125278a6d0e1d4073825d2cc EBUILD gcc-12.3.1_p20240126.ebuild 1621 BLAKE2B 82b53aee125278a6d0e1d4073825d2cc148e155ff2df0048b94799d851e3bf50e0f42b53fabfc9ba3922c32e4d1cb15a097b7a9d06a06cebc41c3a3b9b6e7560 SHA512 b802a99f2e021b15aae8d59930baec00dd2262ea789dc77ec809a3fd586a96a7c5b811fed4e3d3487b70e218636f252898b8138d048eeb0be4693f39193d3fe9 EBUILD gcc-12.3.1_p20240202.ebuild 1621 BLAKE2B 82b53aee125278a6d0e1d4073825d2cc148e155ff2df0048b94799d851e3bf50e0f42b53fabfc9ba3922c32e4d1cb15a097b7a9d06a06cebc41c3a3b9b6e7560 SHA512 b802a99f2e021b15aae8d59930baec00dd2262ea789dc77ec809a3fd586a96a7c5b811fed4e3d3487b70e218636f252898b8138d048eeb0be4693f39193d3fe9 EBUILD gcc-12.3.1_p20240209.ebuild 1620 BLAKE2B f9e629585a47606eefc35d0de0af9aed4d7203a06f0e7368c0ef2b3bd67c448d2c26d3b781e24c9b177d219d4d9aea5e49751a6ea086df2957ff97f1340ed1d7 SHA512 7628e96162e650d0d9b521278499f4f33338f84388b67a1441e6d8ba996efc0f5df354d37b9a2ca7e26aa89eda9dbad116f30502eb5759ba383b0c3aec4e5e09 +EBUILD gcc-12.3.1_p20240216.ebuild 1621 BLAKE2B 82b53aee125278a6d0e1d4073825d2cc148e155ff2df0048b94799d851e3bf50e0f42b53fabfc9ba3922c32e4d1cb15a097b7a9d06a06cebc41c3a3b9b6e7560 SHA512 b802a99f2e021b15aae8d59930baec00dd2262ea789dc77ec809a3fd586a96a7c5b811fed4e3d3487b70e218636f252898b8138d048eeb0be4693f39193d3fe9 EBUILD gcc-12.4.9999.ebuild 1589 BLAKE2B 8de913409a3303b99e08e719751855382983fc3208de45a45e9f42d334c3f5b2b387b910791af804cae0c646c139d735235802bad96b4b84fe54f3cafd46cfec SHA512 fc445103363a11b7628e3f46ad8dc4b4c8e1f942dfd25078b41638779f7e4580fb9acff78812fb1039e5410e6dbdbaeea71b99f2d52ce3c4f04ec30dbf72ef7c EBUILD gcc-13.2.1_p20230826.ebuild 1672 BLAKE2B ddcf137ec925acd9450d0fb920bee8984b62c77517a4801786205a56632dff5ec987c511208779a6578304b1dc83c11ade6bd36dde9246d897dd4e9f8be8581d SHA512 494cf07c899941c6a612eb0dbfa5e2f4d52696f6e2d644b07ac3c49df9eafb4cf03fa78808385342a0aa02aba80676b33d9d14311898eee85bfbfbd919dc37fb EBUILD gcc-13.2.1_p20231216.ebuild 1680 BLAKE2B dd776c332de13307fefdd9ce3115e30e265d424841d014bb9b1ac85cea2f4d3ed7dc91905a93a9d257114a55010e2b325b52c1b422a97c7e24b13c9e3d72805b SHA512 6c581f635e072fc097844fba70c441ab8f57d801cc0d2d70b533b014410f0f573418ad62ec2ba4c70a82b805e8a316a498e68cabe6929898351be7236f37f18c diff --git a/sys-devel/gcc/gcc-11.4.1_p20240215.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240215.ebuild new file mode 100644 index 000000000000..da9833f43952 --- /dev/null +++ b/sys-devel/gcc/gcc-11.4.1_p20240215.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=">=${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_p20240216.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240216.ebuild new file mode 100644 index 000000000000..69767162475c --- /dev/null +++ b/sys-devel/gcc/gcc-12.3.1_p20240216.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="2" +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=">=${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 +} |