diff options
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/Manifest.gz | bin | 7860 -> 7843 bytes | |||
-rw-r--r-- | sys-devel/binutils-config/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/binutils-config/binutils-config-5.5.2.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/crossdev/Manifest | 8 | ||||
-rw-r--r-- | sys-devel/crossdev/crossdev-20241130.2.ebuild | 40 | ||||
-rw-r--r-- | sys-devel/crossdev/crossdev-20241130.3.ebuild | 40 | ||||
-rw-r--r-- | sys-devel/crossdev/crossdev-20241130.ebuild | 40 | ||||
-rw-r--r-- | sys-devel/crossdev/crossdev-20241202.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/gcc-config/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc-config/gcc-config-2.12.1.ebuild | 60 | ||||
-rw-r--r-- | sys-devel/gcc/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20241208.ebuild | 53 | ||||
-rw-r--r-- | sys-devel/mold/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/mold/mold-2.35.0.ebuild | 107 |
14 files changed, 231 insertions, 130 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz Binary files differindex ff7cfcff5865..37fadf3eee61 100644 --- a/sys-devel/Manifest.gz +++ b/sys-devel/Manifest.gz diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest index 1c4c52de3f2f..54afd22407d3 100644 --- a/sys-devel/binutils-config/Manifest +++ b/sys-devel/binutils-config/Manifest @@ -1,6 +1,6 @@ DIST binutils-config-5.5.2.tar.xz 7548 BLAKE2B a4fe6f2039c4963ba09fb63b52bf3707b91eed36b514132c0c23da2474b9af6d2fd5b8eaef2dd8f44827f5d38095c936685765d3c4cc7404d06c4ac069cf1102 SHA512 c53118c1ce4b87c0446b1b9993fadabe2bd7447dafc9a2bf795a5e3b802348b4fa8aede06284a0c86f80f23b221b037a0404d5424f2f5aa796e8a3ea6945328c DIST binutils-config-5.5.tar.xz 7344 BLAKE2B decef43013ca2f7c6d36c12d08d55f499d866b6b1b55ed58f8b2df3761077b5e2c4d09d1f2c40762d42c2d3b9827575833a502b79180ef13b845f1a39a5f2feb SHA512 6f6e21799b47e38cd61621e4ec018dc0db4811f363c0817025c3e3be651d3790b30a0cab233f35fe40b1d57c88daa246037f24a7488187f4e47cca589d87d45b -EBUILD binutils-config-5.5.2.ebuild 1052 BLAKE2B b5cba77e334cf7ed15cc7c5da16276bfc7ab45f3dbb0a5b0121fb6224b6687c29a7537be5f86c713ff2d28069071ac5887e3c6dd1c2ffb64d1e6ddcc35316fe2 SHA512 1856d59f9f7c2019c564a7b57fb28883b98241a2805c77b443e9a9795cc4c8ef95870a1851323cae142810503649478ba6cd6448c41712c066f9612454a7efb1 +EBUILD binutils-config-5.5.2.ebuild 1050 BLAKE2B 6647c08c4fdb88a8f40a95e1646e429a4d7f35f901e7d8532373b5e9627209bf862c0086b2663b934dde722fac583fe29c5ca0194704f44f896a2da2005f41ff SHA512 fde514986cafd0e322247884855c1c468fd51d6173ee730b4fb2fe61109e56f962f4b1d1f694e908096db7aca00ab5ceb7350307babdcb3e30039188ee84205a EBUILD binutils-config-5.5.ebuild 1062 BLAKE2B 1368b98e1c73ed49464a550c52acfb83103e1fc38e304efccabcc28e2d7c6ee169ab01b808a8cff0cc1604eb5de33f50c89fa2ad8ea0e9af0c31591c18ab902d SHA512 a577f12298282574082d097ae8c2c5c613a368f2b6297ff023b8d1beb0910eb6ed36dc5989e26988e1615da4e7d11637086d360998f26694a8c7d8023e5d73e7 EBUILD binutils-config-9999.ebuild 1070 BLAKE2B 6150ea0cd80ef5b43047520976a6fad9f086ed2a860fa2f954555d1fce5462bd4c2f27b7008773bf875f65e7f01eed14c9749c30b7353e9010a543c6e0d3e9a5 SHA512 86832f3d65c7f8525924ebf3cc1ec746ba1828d33bceb353ed40a9674aa33726c0a7d07e509e1a5d68fee4bd33da773e290d0693933eacf945d339fdfd8a6c6b MISC metadata.xml 564 BLAKE2B 74266e85bc64997362d09b99d2b739dd5e78fce2a4329dd01e0d44c909743e1b384c62c3f87c62b5945b00b5d851077008fe6aa4e1c4944860cd8d9a84431171 SHA512 26117ff041aa4a5ad7c143d60fbf18ab08f73a05fcec58faa559b86f5b774cbe5cb260e8fb6a7b664947b2f722bbba976bd37b998c13fa797ab7aa04d46c4489 diff --git a/sys-devel/binutils-config/binutils-config-5.5.2.ebuild b/sys-devel/binutils-config/binutils-config-5.5.2.ebuild index b010a5f45ec3..8823ea2268b9 100644 --- a/sys-devel/binutils-config/binutils-config-5.5.2.ebuild +++ b/sys-devel/binutils-config/binutils-config-5.5.2.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi DESCRIPTION="Utility to change the binutils version being used" diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest index 240ae05960c1..e902667f1d21 100644 --- a/sys-devel/crossdev/Manifest +++ b/sys-devel/crossdev/Manifest @@ -1,12 +1,6 @@ DIST crossdev-20240921.tar.xz 31008 BLAKE2B 9daeabcbeefa32624d71b86c5ddeb1f6bf6ccdf4e6f590bf7517388d4d68b73ae2651ca09d122f128f002568127bd5d7d767db9d6c043e5330b62c3104929848 SHA512 6b7f0bce309d2b0a8fdf9b28cf72098de9dafaf7f338a8308e94e2068cefc15cd2407eee39a9eeb0ea0a1bc46569cedc69a51bb01f140faebe374b660cb1cdf6 -DIST crossdev-20241130.2.tar.xz 32856 BLAKE2B ffcca5a7743fa6217ad23c97c5b122628a5950558f16413c1f52457d6fdd942dd2207c8f01e4a7c57712c051e5d0b66eff586d1d3141bc6d917aed4151df561c SHA512 28f7e914d56f7a9658292be8e5fdc57d1d0c1d57c8f4f00cfad493261ad94fb2edf19b4c34b926a1ea7b9da12c4f6be5fb8fee338074c5c8c554f15e996e670b -DIST crossdev-20241130.3.tar.xz 32916 BLAKE2B 6bac26d79850f5ba0d12ef904e40d8540082e2bd58d7ecaf175dccea13bfb90f6cf41950b4bf3443fad8ec37e77dc8a2767aa6bd278306cedc0a48b6484c689c SHA512 b157d0b2b49fbd7b31d764ddfeeb223839cb62707b3ed88b4ce254d568640265f7dbcea96314d4fb7dd6039578450b8c0a090f5311eb22618e0c3679d77c8649 -DIST crossdev-20241130.tar.xz 32832 BLAKE2B eaf14cf139abf73816f9facd090846c92d3056e34eb4d7f9bca2c2f4b22e9d3f342e93dac70b462b252b64eb86270f666d151170a6474961342a26f152919f69 SHA512 59054ba5015c18c9b80e2258391f667ad4585644009ab74b631557e8c6550270e188967515a13ab0dd8e27272c6e5f0650a77e8c100dadbc2686cd8796a62c00 DIST crossdev-20241202.tar.xz 33032 BLAKE2B 74ec859e1ae5f816397349c18f8bd98d8fae2f4de471112d70621767733a6c91dfffaabb33afc4bdabf5bed31b83a0cdf8afaffaba3e0df95f70d43cf249fb94 SHA512 c6a8c534135aa15b2005546d3f006953570de1e54ae3d3170c71bed62f044c2db79412ecde3b91fd85fca92e7c996762ba086db29c6132f6f1d9e9a48f1e79ea EBUILD crossdev-20240921.ebuild 954 BLAKE2B 5ae957db542f8ff8fcadc1dbb054e241c4ae3fe46d9a186941c135f54b41bcb4813f3185f79bfe138a8389b23088c030f6d193c60b78ce2dcf9a84eddb6b40cb SHA512 e2a45deb36b708337c9e717026351de14d455a2feb405ca047b5ab105305ce31b41d7c405cfbc42b0d39526f8fafdbb854caeb7e51fc660885c28256599ebcef -EBUILD crossdev-20241130.2.ebuild 960 BLAKE2B 8185c5b3e25bbe2da71f42d925602de6e4f04ea7a2c15c4a52258ddff3ac8872d672f28a1faa5f85894ba4432fdb40ec968d1d75494ef4b83b28f28e7c571536 SHA512 cf1b30624f9cb8b5f48d0f040139c70356a3b92d939932ce9a0767b2956c1b29e30a3eeaeb8b08cabe4c6ad91fa71b4982bf8e51e2697c2680019f712190fb20 -EBUILD crossdev-20241130.3.ebuild 960 BLAKE2B 8185c5b3e25bbe2da71f42d925602de6e4f04ea7a2c15c4a52258ddff3ac8872d672f28a1faa5f85894ba4432fdb40ec968d1d75494ef4b83b28f28e7c571536 SHA512 cf1b30624f9cb8b5f48d0f040139c70356a3b92d939932ce9a0767b2956c1b29e30a3eeaeb8b08cabe4c6ad91fa71b4982bf8e51e2697c2680019f712190fb20 -EBUILD crossdev-20241130.ebuild 960 BLAKE2B 8185c5b3e25bbe2da71f42d925602de6e4f04ea7a2c15c4a52258ddff3ac8872d672f28a1faa5f85894ba4432fdb40ec968d1d75494ef4b83b28f28e7c571536 SHA512 cf1b30624f9cb8b5f48d0f040139c70356a3b92d939932ce9a0767b2956c1b29e30a3eeaeb8b08cabe4c6ad91fa71b4982bf8e51e2697c2680019f712190fb20 -EBUILD crossdev-20241202.ebuild 960 BLAKE2B 8185c5b3e25bbe2da71f42d925602de6e4f04ea7a2c15c4a52258ddff3ac8872d672f28a1faa5f85894ba4432fdb40ec968d1d75494ef4b83b28f28e7c571536 SHA512 cf1b30624f9cb8b5f48d0f040139c70356a3b92d939932ce9a0767b2956c1b29e30a3eeaeb8b08cabe4c6ad91fa71b4982bf8e51e2697c2680019f712190fb20 +EBUILD crossdev-20241202.ebuild 955 BLAKE2B ea233a892d577809695cccaeffddd94240fa9e18f9789e15ee88d9b7c45911c60db4ae3b76de328aa8e09e6a0e829612cd51a8d700714aca06f4e8c0e72b43d4 SHA512 1cf56abbf4580b3e41eb61a2088ee410181bb8e082fc271e7e16d765c7824fd01d63cc30aa853a36bd413ec28e7a953d1d87bf3266ec449e35ee4e631f7d048f EBUILD crossdev-99999999.ebuild 960 BLAKE2B 8e9e752d6c74cc8812ba110c018607fde79945f487d8f7915c2a61e112d56c3c3a7a23d6ca64a149d34f10753467162a2e52d03e44bcf869350d32a857b63756 SHA512 a233556b61751d4c0b10c66b6cb1390a879e2e619c3f9d7329c20ce2c5252060760b4d0c59f961ec3994e298c587ba8d24097fa54f5b99a6332c5988485a9219 MISC metadata.xml 624 BLAKE2B 3f6609db4ad549927d9e7c0f259926de694435707aba7fabd2d08333294bc38bad42b59b7ab9f6372bec292708ebfdb88d88ee0e8dca1ed29389e33427a1d46e SHA512 4605364fe155bb8facae233aa29fadae23fe3d1f012451f8611933252f81aa3d3337ac9d68feabe059c959e2a94a67a85e6d88f7fa08d6d31e2418034b60010a diff --git a/sys-devel/crossdev/crossdev-20241130.2.ebuild b/sys-devel/crossdev/crossdev-20241130.2.ebuild deleted file mode 100644 index 398d083f2a5c..000000000000 --- a/sys-devel/crossdev/crossdev-20241130.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -if [[ ${PV} == "99999999" ]] ; then - inherit git-r3 - EGIT_REPO_URI=" - https://anongit.gentoo.org/git/proj/crossdev.git - https://github.com/gentoo/crossdev - " -else - SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -DESCRIPTION="Gentoo Cross-toolchain generator" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev" - -LICENSE="GPL-2" -SLOT="0" - -RDEPEND=" - >=sys-apps/portage-2.1 - app-shells/bash - sys-apps/gentoo-functions - sys-apps/config-site -" -BDEPEND="app-arch/xz-utils" - -src_install() { - default - - if [[ ${PV} == "99999999" ]] ; then - sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die - fi - - dodir /usr/share/config.site.d - mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die -} diff --git a/sys-devel/crossdev/crossdev-20241130.3.ebuild b/sys-devel/crossdev/crossdev-20241130.3.ebuild deleted file mode 100644 index 398d083f2a5c..000000000000 --- a/sys-devel/crossdev/crossdev-20241130.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -if [[ ${PV} == "99999999" ]] ; then - inherit git-r3 - EGIT_REPO_URI=" - https://anongit.gentoo.org/git/proj/crossdev.git - https://github.com/gentoo/crossdev - " -else - SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -DESCRIPTION="Gentoo Cross-toolchain generator" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev" - -LICENSE="GPL-2" -SLOT="0" - -RDEPEND=" - >=sys-apps/portage-2.1 - app-shells/bash - sys-apps/gentoo-functions - sys-apps/config-site -" -BDEPEND="app-arch/xz-utils" - -src_install() { - default - - if [[ ${PV} == "99999999" ]] ; then - sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die - fi - - dodir /usr/share/config.site.d - mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die -} diff --git a/sys-devel/crossdev/crossdev-20241130.ebuild b/sys-devel/crossdev/crossdev-20241130.ebuild deleted file mode 100644 index 398d083f2a5c..000000000000 --- a/sys-devel/crossdev/crossdev-20241130.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -if [[ ${PV} == "99999999" ]] ; then - inherit git-r3 - EGIT_REPO_URI=" - https://anongit.gentoo.org/git/proj/crossdev.git - https://github.com/gentoo/crossdev - " -else - SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -DESCRIPTION="Gentoo Cross-toolchain generator" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev" - -LICENSE="GPL-2" -SLOT="0" - -RDEPEND=" - >=sys-apps/portage-2.1 - app-shells/bash - sys-apps/gentoo-functions - sys-apps/config-site -" -BDEPEND="app-arch/xz-utils" - -src_install() { - default - - if [[ ${PV} == "99999999" ]] ; then - sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die - fi - - dodir /usr/share/config.site.d - mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die -} diff --git a/sys-devel/crossdev/crossdev-20241202.ebuild b/sys-devel/crossdev/crossdev-20241202.ebuild index 398d083f2a5c..750ec15d986b 100644 --- a/sys-devel/crossdev/crossdev-20241202.ebuild +++ b/sys-devel/crossdev/crossdev-20241202.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == "99999999" ]] ; then " else SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" fi DESCRIPTION="Gentoo Cross-toolchain generator" diff --git a/sys-devel/gcc-config/Manifest b/sys-devel/gcc-config/Manifest index 7f0ab589f85b..92ccfc5dd717 100644 --- a/sys-devel/gcc-config/Manifest +++ b/sys-devel/gcc-config/Manifest @@ -1,4 +1,6 @@ DIST gcc-config-2.11.tar.xz 18068 BLAKE2B 0d76321adea9eff545e042ad847b70a5b3d8ecb8c248fdf58f71c88a7b03c0aca39f7d39e332808b89c3f6d0fb3fc3114bc2d8dfa1ade6460c0b12c3420d876f SHA512 38ea52c2d16287fc2c8efa0ee76e24563851b4fa1ee7dce601507df1530e7a867281f178ad4228505eb2aaf46164024a18825cd6771d847ff1a60a85d6e96d3e +DIST gcc-config-2.12.1.tar.xz 18328 BLAKE2B 349c4614ea349d03f445cdda5d87ccb5e54b4faa802c8997f3bc088a78bf4ff92ec75c91d986ff3e26ab7f098e3af70dd9f85efda77ed64315d2e59b4b11a925 SHA512 abd7fe4ee79269b1003ffe2fb24884751e94e7777814ac123e51db0c059d105b312aed08726fbda2342504738f7055ca803f0ddd006e57110f49d7f3db574183 EBUILD gcc-config-2.11.ebuild 1672 BLAKE2B c2a46bd166afd9f5f0fbcc4e197ade5249de209ccfea7c357021ea303389b34c5561e578bbcfa5792c1ef63d990517cee273f68a8e01845433f96abfc80137b8 SHA512 6c3acc473b3ea3a5555fee10921bb31afdf034ee1d801b638194f7d35ba0b114068a3485d4b46f1f3f633cc3b5e975ead141f2cb1c40d1c928fe10989be5cd7a +EBUILD gcc-config-2.12.1.ebuild 1680 BLAKE2B e793aac4f6eab9c1d81beb7d3f6f8cb2ba6a8e5fa34544bfd3d17ca4e8f17b6ef5169f06c4f372d0d80e50c9e50a6703209d05557d8f1be20ce5ffdc65344ea4 SHA512 7ad9099c719e6e793e264bbce34ffc851b2e9c68980eaf38496e2d0506a1bd70afb02f7d453edaafd75d8d1c61359f61dfd34db79f73a7be436f49f6d56a81c7 EBUILD gcc-config-9999.ebuild 1680 BLAKE2B af334a1c8400dd5e6c2d86945a0605c7c3f3de1975b9e267242ef381e2899228abfc01473fe8e6e0a4c59f3aebf6f9042e262dc35b57f75839021ad1e7e209cb SHA512 767aba5def8e6fe3f82509f804ec5addf432e8a0ebb530d259e47d09917f9113f47f1dff314f1b2d7da2543ca975638197d70d5014d45b0247bf44705bc93af0 MISC metadata.xml 670 BLAKE2B aa237191de0612c4233e437413739d6377e95695ef65041439a6b512ac574ed598a31be6d7da044a29bbb7258dd5fc6f47cf397364a95df6f6e4db331a426bab SHA512 b0054d8798b37554fb86068524f45df78dd2a0c294ccebbdb72cbe7642503f4a4b9e0d84fd29369352f9ec6c0949f1a3e3db411611adf506cf15854518c51751 diff --git a/sys-devel/gcc-config/gcc-config-2.12.1.ebuild b/sys-devel/gcc-config/gcc-config-2.12.1.ebuild new file mode 100644 index 000000000000..7574d6b5745a --- /dev/null +++ b/sys-devel/gcc-config/gcc-config-2.12.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gcc-config.git" + inherit git-r3 +else + SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Utility to manage compilers" +HOMEPAGE="https://gitweb.gentoo.org/proj/gcc-config.git/" + +LICENSE="GPL-2 GPL-2+" +SLOT="0" +IUSE="+cc-wrappers +native-symlinks" + +RDEPEND=">=sys-apps/gentoo-functions-0.10" + +_emake() { + emake \ + PV="${PVR}" \ + SUBLIBDIR="$(get_libdir)" \ + USE_CC_WRAPPERS="$(usex cc-wrappers)" \ + USE_NATIVE_LINKS="$(usex native-symlinks)" \ + TOOLCHAIN_PREFIX="${CHOST}-" \ + "$@" +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} + +pkg_postinst() { + # Do we have a valid multi ver setup ? + local x + for x in $(gcc-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do + gcc-config ${x} + done + + # USE flag change can add or delete files in /usr/bin worth recaching + if [[ ! ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then + eselect compiler-shadow update all + fi + + if ! has_version "sys-devel/gcc[gcj(-)]" && [[ -x "${EROOT}"/usr/bin/gcj ]] ; then + # Warn about obsolete /usr/bin/gcj for bug #804178 + ewarn "Obsolete GCJ wrapper found: ${EROOT}/usr/bin/gcj!" + ewarn "Please delete this file unless you know it is needed (e.g. custom gcj install)." + ewarn "If you have no idea what this means, please delete the file:" + ewarn " rm ${EROOT}/usr/bin/gcj" + fi +} diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 33301e68d5c5..411f8fb55b7a 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -38,10 +38,12 @@ DIST gcc-14.2.0-patches-5.tar.xz 13532 BLAKE2B 0e594f00710f9ac4f8833092b74bc74ce DIST gcc-15-20241117.tar.xz 90065532 BLAKE2B 22ffd82f77871df3c90667d3fbc08ff721586c851aea6e79a34bf065468307c132d62581b7cceaf9b2bc6cc54be8d6ec1dbde241e01454a343e2c48c804a4cea SHA512 70fb8dbdf5a98e3216a5c64c544d9208dd153a71266312e12189ea8ef03abf8b4d29153e0550a556b93e47ef2315e60bf2f5e080db82ffb3c6bb3dc2a3c8aa10 DIST gcc-15-20241124.tar.xz 90251704 BLAKE2B d9c2a4342ca2229e345e163a8781e7ea8f4682734f5b1f4c9783272e0a362bc4fb0c5b5042363d996ea0473836c53cbf437761389062d076ce5595c1cdb2bcf2 SHA512 36e30e658f45b3b6cd5968cdae15216d6d874349349dce30f7d8c7c7bda1eff841d4d1eb4471956acfab04300c7169872210d26a5d05dd1ae0167d601a2adeed DIST gcc-15-20241201.tar.xz 90331368 BLAKE2B 883b9073ff5927acaf7f6e0d06c4ddd8d603b0168aba1609f476fce1a6ecd8b78b894b75c5cb7ebe383a0248afdeeb058f1221db3a4fdd4822df79a1ba29c816 SHA512 6d09f84ce609bfac816ac326f37475d61d9232aa502de9429d036a82b501370842dbb9b8c5b650b0e01f668dfb0e2a14e1f8af2d6f175b79d920f6208d596a8b +DIST gcc-15-20241208.tar.xz 90369108 BLAKE2B 83953dcb3fd42168fb0bdee6336698dda6758626499bb474da56a1eaf22f422825e743997290b9a3241ae6fc3582ebfa9c9e6e7d56df599be10412556e1af26b SHA512 64f92431c5714d598ecb7819eb30971c9b050dab53cee37401581e7587facc4c7f19312f8fa9be3b0847de55f7818defb82279a81d4c49c7fccbce9877b8846b DIST gcc-15.0.0-musl-patches-2.tar.xz 3076 BLAKE2B 0073248fe4f7dd827980559017b5aa1fb5c4c46acc9ad5c410dc152fd1e44966d3066bf7152338573cb45b1c36027de5f0c519abd414d97a37bccef07f6a5281 SHA512 295f1a669020bbe2874e9b03afd46b5d083073b276fca3543f3767a2d74f35df81cf0a67abad50c200cf7a3af36ec98ff9977cb7d5c19f334af7d3bb1926a3de DIST gcc-15.0.0-patches-26.tar.xz 18864 BLAKE2B dc11d5a4d292ae53558601a59a34a619f6e0bbe223e6645a82a04fcd3b83b5788a3a7fdd14ac6fc2fde079302355dbef1a94c283725807425e1ce8d67e28f416 SHA512 14721dffb4dac9394239a82c52e3cbf47094dadc1b310b55a71101ca7ba1a5077fd137f39fbfb89896d324117f6a13c97dc8e8fa8cedecc5c2af4179de7e7f1f DIST gcc-15.0.0-patches-28.tar.xz 19884 BLAKE2B 36e982dd8c98853e84d977c7be9e7b1decf2ac10f61bdd76d3aed3ba415345039539cb00e03c6f6d86573a890431a39539ca04c54489aa7a3c29cb4b48faa2af SHA512 d95ee81beff83d43f2a42d440c032535e31b9121868b9c18e825e0c0185f5c42173634286274c527668897333104e52137c4b1e0305fee5d86ac4c5be9601b94 DIST gcc-15.0.0-patches-29.tar.xz 28048 BLAKE2B 592227c6ecf581d6670ad09e09a279c018796cd9709b9c45c8d28af5a8f8858b5e9c0739b395e96fe79fedc9a7a60e82011b78581a8acadd3ceaaaa3e9751527 SHA512 4fb9d34feb570ea5e56ebca6588d367840457cf36f7818327317ee417f90593178adcace042106cd639032cf526a4a05cfd86f9e01eade1827eb5a90f03a7cc7 +DIST gcc-15.0.0-patches-30.tar.xz 30564 BLAKE2B 3d99ddcd03bc6f6b71c599cf07873c8ba6baa1db3e763227bb88181f926d128dae98c8290cf165fe484950a7fba71a8fefa8e8230c293ad50cba06b945921ddd SHA512 1d5812775b667a46b88d0d4923dfacef163bf25301f769df0e461ae1e990b6d3cc0686bda40bb9d5adc0570b33aa7e9c537c793ad4a7757939856beb320cd399 DIST gcc-8.5.0-patches-4.tar.xz 18616 BLAKE2B 7594cbaea5daecf1a0b3d526c06aeba0a84c6da66aee2e105a51fda6be8d30a37ccc3814281b284a4582d892a1d556bca063551584edfc2525bed8ea5b6888e7 SHA512 1aa5742c361186637e7855f06feb1a4547e7d4d5de6e51f3d049e0ef3c19e2eff179465f52781739f59422035b7f8e4c0efa3844849f920f3c96acfdc37ca6a6 DIST gcc-8.5.0.tar.xz 63841008 BLAKE2B aa81a1a730fd7371360f6abed6ba78b5843fd18c58d5de5687acc320741b9e430e85df3535a1ef7a26051409be8d2f0945f503e5968480d919103123a99d4b12 SHA512 92f599680e6b7fbce88bcdda810f468777d541e5fddfbb287f7977d51093de2a5178bd0e6a08dfe37090ea10a0508a43ccd00220041abbbec33f1179bfc174d8 DIST gcc-9.5.0-patches-2.tar.xz 14324 BLAKE2B 1d3bf3e673108ad2fcdcb86daefb4603d1c9f6aa815e34d1591054d466b76d6f50cce124ab4760528c4951ea16eb00888a3e6485417f81ebf250548732df4a8e SHA512 a6d6f650aaf0bd193a17ac279649f0544a282cea295824384c59341c3000eac4b574b60e00dd427585d928f9768166abf85168b47772132790ad98854acacbbf @@ -72,6 +74,7 @@ EBUILD gcc-14.3.9999.ebuild 1410 BLAKE2B 9bae23ee70f670946a0b160e4d4d8a074584097 EBUILD gcc-15.0.0_pre20241117-r2.ebuild 1447 BLAKE2B 6a12ceb7b56aae61eea49ffe398edbf73768d78c50e3cce19b26adf52b04a114f62d1ffc1bd96a30b0ab12f1ff89d9820eb2b3a1c2959c56fcab9012f23d58c1 SHA512 8187e8a6fcb7fbcf20898e55efb6302331640cb874be44d699679c287575ef2e1ec7f49ed8db61d5f0d2bfcf90b6bd35ce9318841655bffff99518d8bdcdb470 EBUILD gcc-15.0.0_pre20241124.ebuild 1360 BLAKE2B 39e50bebad9adbae4866c7a6be7cc79ebdadea6c117519b9360c3cac494d04c87877e258ff180b9592e26fb1deffda73f519ae625e5f6388d7da6ec280455749 SHA512 1773a80bf4f0068130901d8287e25f9a19829f1b510fa6ac00cf430cb8fe33fb574a67bf9ddaa5a6321b445663c4ca16af5c95815c57eeca7a589684ae38e84d EBUILD gcc-15.0.0_pre20241201.ebuild 1360 BLAKE2B bba8906562e69735c146e204b006c9eaa65d78dada8d007f339fd447f9ea9b8be53ab19b21dffd86b6352c1ba6812d11b45fa8969c6b53e4f76484092cdf23c3 SHA512 541b0a05b445e259ae48527a37da3049a73e02b85261d2002db71a7dce092ae25e5f635462ccd2cc51c287f01f182c129430a0b9d4265001ee5c0dec4d2c8c8d +EBUILD gcc-15.0.0_pre20241208.ebuild 1360 BLAKE2B fb065e023ff47a2c28fa8cb09dd453d903f3544d914a39125e8f9a1928037f476df495ee41891de0369b7cc0f02cb1f126d448598712bcdbd392170779acaacd SHA512 aa2713bee5fe155a317c4fd9ed5cc98ea3f74e0655258f3875796236b3cf9756c847a6b60a3b28bb711de11a178629ced6a461daef5389fdf26ff6a635e0ac24 EBUILD gcc-15.0.9999.ebuild 1332 BLAKE2B 6f17f77603522bac72d4d57094cc086263a9bfe6273c04d91b169ebc23d78fa2943c0950d4a40fe846d9d92648e54ca54ad1cecd5446ed5710062f9dca569b4b SHA512 4e4a673229a36dee68238e10efb2d9e0ff1c530411395e5230bbf567c92342a4b79d0ecb0ec91573c52fd8b5efd5cf6d20e612971848c9529378e0c42c0e213d EBUILD gcc-8.5.0-r2.ebuild 549 BLAKE2B 2856372670c76fbe54778c0532815e3510b01b1c8aad99acc3e9183bf6829251952e29887340895625c1e421e19302430ae1a0a8dddcd8470bd71cc221f0b6b0 SHA512 559ba0dbdc7542b6af5d101f19a5b3c9eab38b9996c26330834ffa924fd8c792988f223b492e6ac84255eccbc4af762be50c2d60e84ca24b7a9ebba134608c6d EBUILD gcc-9.5.0.ebuild 1257 BLAKE2B b398cea6cb4227fd126b85feb3e735f6b505236f54aecc9983e46fd30dbfcd8f16e80680c231567212c7cbd524b0d485574f7c5c5830137f9ebeea089a641e90 SHA512 0faea0a2389563bede22ba172ae6ab490a693c221bf6700152e9f63b23fad8d74a595a50c40cdf2eed32ee5e9cdddfdb6e2907629036c94034327f5772c93f6f diff --git a/sys-devel/gcc/gcc-15.0.0_pre20241208.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20241208.ebuild new file mode 100644 index 000000000000..287aa403a70f --- /dev/null +++ b/sys-devel/gcc/gcc-15.0.0_pre20241208.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.0.0" +PATCH_VER="30" +MUSL_VER="2" +MUSL_GCC_VER="15.0.0" +PYTHON_COMPAT=( python3_{10..12} ) + +if [[ -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=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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}" +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/mold/Manifest b/sys-devel/mold/Manifest index d48fe630074e..e0033c8f8938 100644 --- a/sys-devel/mold/Manifest +++ b/sys-devel/mold/Manifest @@ -6,6 +6,7 @@ DIST mold-2.32.1.tar.gz 10010384 BLAKE2B b020d57df25d91fac9b6ef994e9f7f73b6736d1 DIST mold-2.33.0.tar.gz 10061838 BLAKE2B 65c460035f3bdbc101120a27e30b70982d549a4222cf4beb1b7228c0c961afd3eb8928cacde5be20734a80a80765eb60e6d961bd5cb001ecaef1aba1152730b9 SHA512 67c41ae33f8a229f32aabf32ffb8bcb261eff047dedd189b8751e5de43ef12a2dbd05f45632c8baeac2ceff99c40256256d7d5c790cc12e4fecf1dc3cfebeb11 DIST mold-2.34.0.tar.gz 10056591 BLAKE2B 88ee86c7f78b05cc79d67152a2f5cad7c88e2155f47674f2fe5aca5ef66c7cad607154f4a52cbd97e720a24e1b25ecf8452a88e626e9cf1c4d3f76401df5644d SHA512 b252f873f6fd4aa2e63344017c57e0bcff3fda5db86e4db2587b29ac1e44ee34a1a36c3b96b08bf607909dc5e877fa59617c32f7399ebe09591f84dd833c5bb5 DIST mold-2.34.1.tar.gz 10057683 BLAKE2B 9a9b166e64c4e5d48631147e781ce0d58acf76420f172bdee31fe5c44f37a8e2b098ae5696b52b668255f9a5967b0fb567a51d9fb8b26cddba0e14ed5a3e3464 SHA512 6ddfda8b81b710555272ee67eac7f2b3088a7a78f308843caa1730c1b631fc7031b8f5eac33379b9926c9f000d7b27864c12bb62ea75051d2f1caf9f9d2946ab +DIST mold-2.35.0.tar.gz 10056856 BLAKE2B 9b039031047263aa959aa6f2bf296d11d51bf02d0a66afa76e08200d4547ee5d66cf522497b86fce7fd8cbd43559b8d19ad0264c749833988592cf7291fd55fe SHA512 6f7be924cb6ea38c0089f0c34beec9ef51160daea3510dac4ed68c519efefe4496739271b35c271f7384c9e436bd8a0636ce47e0847aa2b4daf227accecc7314 EBUILD mold-2.1.0.ebuild 2169 BLAKE2B b91dec8fb9890052e06cf40124f7647833a6ea786d95d44863848bfff17c0ba335f28aaac08d6971a619dbb845b9091d1134bae47f70bd811d2fde0f9ca11066 SHA512 5d27926e5003e6bd24ee3baf8258ab043aa660b7a36918500283bbec9d991ad8ea6971add52579ba6ee10a7eeeb97a6dff3a7e065c7292ced42d2f0043e33d1e EBUILD mold-2.32.1.ebuild 2448 BLAKE2B 88d6d168b5de620f787abf540531759dcba0be4830a71ee43bf23beb011d465b2a98f036365583dad411772a6ba1332d8d7dae3632592b7d8cd22424934b2991 SHA512 a5485b242d40e43ffcd2dfff62df1f54ca31b154acb98df4b90f23135cc61ef23d9e0950da47983d3f2362ca7d4435d3108f2c8f54814ce4730bbdc008c64dd3 EBUILD mold-2.33.0-r1.ebuild 2519 BLAKE2B 0160432fa8384e06d2c518b6735ea56cfbfe834066d56e13910b3c4fe901f986700ed2635ae484c821b1960daf6df4cecf190da92d1313f52d13ce0ee4135975 SHA512 82b65306d43e513a7df2d863a40b453e2028133c8321569c7b1abfb2495f2ea466cf27b15716e3d4608845c10d9d8507abcf7e81ca88dce3d9d0a30c2323825a @@ -13,5 +14,6 @@ EBUILD mold-2.33.0.ebuild 2409 BLAKE2B 770982e41dec11dd488e13a581c75744239897bac EBUILD mold-2.34.0.ebuild 2550 BLAKE2B 3f43cd81dd5f9332926d3271c24bfc32f0851dd92dfe6e5424a69bd61d964f38adf2f4094538939b14ce392132ef44dff0c4d97e749b6cf1dcf1c7049a22c5ed SHA512 9e04c92b9a3f7bfb33006c90642abd30fad9b96b8dd8d493dfd0ab83375e2cfb7c7fc6c2b8d9b50ae0ba4294bad84672236ca043eceb98e3e6e676369418c86a EBUILD mold-2.34.1-r1.ebuild 2608 BLAKE2B 673c5c6932d2e553b3cbb6f07916d446d0074c37f0959d45225d10f6890bacee9ec00933a6b93b0f74b7ce4c779d382318b2d0caede4c4de20db775e40a3ed28 SHA512 1cddebf1ceed28c01d795cf7dfe3aad011c08c79cbea5e4dcd415441f6a8323551a8a86518beda95345b8b324580374f8815aaa42415494005f49ed90f9d5926 EBUILD mold-2.34.1.ebuild 2549 BLAKE2B 5fb73622e8e6e55b36774a6c92ab7ef26b13cd44aba17c591a0ec101a478687eeeb7c683a62fbbe385418c5fe9193d68ecdebec5f0354ef849fd4ee07c84e12f SHA512 6198ef52a35060cc5875e46ceafe48b43bd2998474146d91f89d4fc2c7d749f17bb8129084cf789c796989bf2897f0792c260e59023fb1df90d07d4709c81b76 +EBUILD mold-2.35.0.ebuild 2608 BLAKE2B 673c5c6932d2e553b3cbb6f07916d446d0074c37f0959d45225d10f6890bacee9ec00933a6b93b0f74b7ce4c779d382318b2d0caede4c4de20db775e40a3ed28 SHA512 1cddebf1ceed28c01d795cf7dfe3aad011c08c79cbea5e4dcd415441f6a8323551a8a86518beda95345b8b324580374f8815aaa42415494005f49ed90f9d5926 EBUILD mold-9999.ebuild 2608 BLAKE2B 673c5c6932d2e553b3cbb6f07916d446d0074c37f0959d45225d10f6890bacee9ec00933a6b93b0f74b7ce4c779d382318b2d0caede4c4de20db775e40a3ed28 SHA512 1cddebf1ceed28c01d795cf7dfe3aad011c08c79cbea5e4dcd415441f6a8323551a8a86518beda95345b8b324580374f8815aaa42415494005f49ed90f9d5926 MISC metadata.xml 424 BLAKE2B a1c0cbdcb86c323fa1e6143c9665ec548f7713e74002a25b2fc26c51b60dae00922d3448a5aaecd5027a8cb026a681386ca7dea90657a3e10b25fb194dafc0d3 SHA512 1adc934e78ca0210743a1aa7479ebc4b5ea0b66a348c4408423460f02b404b885d3a8eca6e89ea8ac53ac9c76e85116965f1eef79e3f3e1f0451c8cf5ce0dfd6 diff --git a/sys-devel/mold/mold-2.35.0.ebuild b/sys-devel/mold/mold-2.35.0.ebuild new file mode 100644 index 000000000000..e9cd29a7fe47 --- /dev/null +++ b/sys-devel/mold/mold-2.35.0.ebuild @@ -0,0 +1,107 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic toolchain-funcs + +DESCRIPTION="A Modern Linker" +HOMEPAGE="https://github.com/rui314/mold" +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/rui314/mold.git" + inherit git-r3 +else + SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + # -alpha: https://github.com/rui314/mold/commit/3711ddb95e23c12991f6b8c7bfeba4f1421d19d4 + KEYWORDS="-alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86" +fi + +# mold (MIT) +# - xxhash (BSD-2) +# - siphash ( MIT CC0-1.0 ) +LICENSE="MIT BSD-2 CC0-1.0" +SLOT="0" +IUSE="debug" + +RDEPEND=" + app-arch/zstd:= + >=dev-cpp/tbb-2021.7.0-r1:= + dev-libs/blake3:= + sys-libs/zlib + !kernel_Darwin? ( + >=dev-libs/mimalloc-2:= + ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.34.1-linux-6.11.patch +) + +pkg_pretend() { + # Requires a c++20 compiler, see #831473 + if [[ ${MERGE_TYPE} != binary ]]; then + if tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]]; then + die "${PN} needs at least gcc 10" + elif tc-is-clang && [[ $(clang-major-version) -lt 12 ]]; then + die "${PN} needs at least clang 12" + fi + fi +} + +src_prepare() { + cmake_src_prepare + + # Needs unpackaged dwarfdump + rm test/{{dead,compress}-debug-sections,compressed-debug-info}.sh || die + + # Heavy tests, need qemu + rm test/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die + rm test/lto-{archive,dso,gcc,llvm,version-script}.sh || die + + # Sandbox sadness + rm test/run.sh || die + sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \ + test/mold-wrapper{,2}.sh || die + + # static-pie tests require glibc built with static-pie support + if ! has_version -d 'sys-libs/glibc[static-pie(+)]'; then + rm test/{,ifunc-}static-pie.sh || die + fi +} + +src_configure() { + use debug || append-cppflags "-DNDEBUG" + + local mycmakeargs=( + -DMOLD_ENABLE_QEMU_TESTS=OFF + -DMOLD_LTO=OFF # Should be up to the user to decide this with CXXFLAGS. + -DMOLD_USE_MIMALLOC=$(usex !kernel_Darwin) + -DMOLD_USE_SYSTEM_MIMALLOC=ON + -DMOLD_USE_SYSTEM_TBB=ON + ) + cmake_src_configure +} + +src_install() { + dobin "${BUILD_DIR}"/${PN} + + # https://bugs.gentoo.org/872773 + insinto /usr/$(get_libdir)/mold + doins "${BUILD_DIR}"/${PN}-wrapper.so + + dodoc docs/{design,execstack}.md + doman docs/${PN}.1 + + dosym ${PN} /usr/bin/ld.${PN} + dosym ${PN} /usr/bin/ld64.${PN} + dosym -r /usr/bin/${PN} /usr/libexec/${PN}/ld +} + +src_test() { + export TEST_CC="$(tc-getCC)" \ + TEST_GCC="$(tc-getCC)" \ + TEST_CXX="$(tc-getCXX)" \ + TEST_GXX="$(tc-getCXX)" + cmake_src_test +} |