[gentoo-commits] proj/musl:master commit in: sys-devel/binutils/files/, sys-devel/lld/, sys-devel/binutils/
commit: f25254be26880ccbe2b130a46375b1eddc001d53 Author: Jory Pratt gentoo org> AuthorDate: Tue Sep 14 02:27:25 2021 + Commit: Jory Pratt gentoo org> CommitDate: Tue Sep 14 02:27:25 2021 + URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=f25254be sys-devel{binutils/lld}: use ::gentoo, stacksize adjustment locally Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Jory Pratt gentoo.org> sys-devel/binutils/Manifest| 4 - sys-devel/binutils/binutils-2.33.1-r1.ebuild | 439 - sys-devel/binutils/binutils-2.34-r2.ebuild | 436 .../binutils/files/binutils-2.33-gcc-10.patch | 39 -- .../binutils/files/binutils-configure-LANG.patch | 65 --- sys-devel/binutils/metadata.xml| 17 - sys-devel/lld/Manifest | 3 - sys-devel/lld/lld-10.0.1-r1.ebuild | 52 --- sys-devel/lld/lld-11.1.0-r1.ebuild | 58 --- sys-devel/lld/lld-12.0.0.ebuild| 69 sys-devel/lld/metadata.xml | 7 - 11 files changed, 1189 deletions(-) diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest deleted file mode 100644 index 1d49d57..000 --- a/sys-devel/binutils/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST binutils-2.33.1-patches-2.tar.xz 18636 BLAKE2B 0e0757329b6a83aeff4f4c450c95e73fd48fcc89f83e63f294568632bee0972552cf2f57494352c5d9a7c16a51cdbc4108b38fa6028d4388c8e76046b3da9212 SHA512 d982f68d1f5fdb384309a2a1b7426bf840a90e7a85b37229b4223b62c36cab9dd9ec0c08382c85c68adf996dec21133df3180a2fc649363adae8645f8282f71d -DIST binutils-2.33.1.tar.xz 21490848 BLAKE2B c336a8412938dc8c224f40a763a8bea9937cca0462a8fb80e62f14aabe590107fc061a3f4b9327e1f4652cb026384d36a91b4766d4d469d2d0680932874b638c SHA512 b7a6767c6c7ca6b5cafa7080e6820b7bb3a53b7148348c438d99905defbdf0d30c9744a484ee01c9441a8153901808513366b15ba9533e20c9673c262ade36ac -DIST binutils-2.34-patches-6.tar.xz 103028 BLAKE2B d0e866d0941d2b550c7d7f23530c6ee393fa13b4f2f27832f07790989476f11d1beddb5ad5a9be5c65c1d4dff9d4598d21adcb00c1d0490f69a99127f4527447 SHA512 e05ed8886acb5cb95a3e97c5bc0564215f7d44b604610f5c4545997fd9625d6de909c37063127e819926cd1548a48d3529dd3e82e98ee6a5dbaced028c57355d -DIST binutils-2.34.tar.xz 21637796 BLAKE2B 07dd23916a7d27f71c3f160c8c16abe2bd4fce294c738c665a012a3be6a87dbe8160d0c38740524f9025e01d438e99b2a94bcf9f9f79ee214f5dd033de8aad3d SHA512 2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd diff --git a/sys-devel/binutils/binutils-2.33.1-r1.ebuild b/sys-devel/binutils/binutils-2.33.1-r1.ebuild deleted file mode 100644 index 6963e7e..000 --- a/sys-devel/binutils/binutils-2.33.1-r1.ebuild +++ /dev/null @@ -1,439 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils libtool flag-o-matic gnuconfig multilib toolchain-funcs - -DESCRIPTION="Tools necessary to build programs" -HOMEPAGE="https://sourceware.org/binutils/; -LICENSE="GPL-3+" -IUSE="default-gold doc +gold multitarget +nls +plugins static-libs test" -REQUIRED_USE="default-gold? ( gold )" - -# Variables that can be set here: -# PATCH_VER - the patchset version -# Default: empty, no patching -# PATCH_BINUTILS_VER - the binutils version in the patchset name -#- Default: PV -# PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/... -# for the patchsets - -PATCH_VER=2 -PATCH_DEV=slyfox - -case ${PV} in - ) - EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git; - inherit git-r3 - S=${WORKDIR}/binutils - EGIT_CHECKOUT_DIR=${S} - SLOT=${PV} - ;; - *.) - EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git; - inherit git-r3 - S=${WORKDIR}/binutils - EGIT_CHECKOUT_DIR=${S} - EGIT_BRANCH=$(ver_cut 1-2) - EGIT_BRANCH="binutils-${EGIT_BRANCH/./_}-branch" - SLOT=$(ver_cut 1-2) - ;; - *) - SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz" - SLOT=$(ver_cut 1-2) - KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86" - ;; -esac - -# -# The Gentoo patchset -# -PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} -PATCH_DEV=${PATCH_DEV:-slyfox} - -[[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI} - https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz; - -# -# The cross-compile logic -# -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export
[gentoo-commits] proj/musl:master commit in: sys-devel/binutils/files/, sys-devel/lld/, sys-devel/binutils/
commit: 92d989491169db22a750b0a524ad9472d1307b75 Author: Jory Pratt gentoo org> AuthorDate: Fri Apr 17 19:37:05 2020 + Commit: Jory Pratt gentoo org> CommitDate: Fri Apr 17 19:37:05 2020 + URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=92d98949 Add 2MB stacksize support to binutils/lld for musl users only Signed-off-by: Jory Pratt gentoo.org> sys-devel/binutils/Manifest| 2 + sys-devel/binutils/binutils-2.34.ebuild| 443 + .../binutils/files/binutils-2.33-gcc-10.patch | 39 ++ .../binutils/files/binutils-configure-LANG.patch | 65 +++ sys-devel/binutils/metadata.xml| 17 + sys-devel/lld/Manifest | 1 + sys-devel/lld/lld-10.0.0.ebuild| 63 +++ sys-devel/lld/metadata.xml | 7 + 8 files changed, 637 insertions(+) diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest new file mode 100644 index 000..7cea121 --- /dev/null +++ b/sys-devel/binutils/Manifest @@ -0,0 +1,2 @@ +DIST binutils-2.34-patches-1.tar.xz 20388 BLAKE2B 8828505f62259a307de445357320827e7f6bc416a7f4c72140add505f62eef3928c7daec13be158b52c2a7a1d989f539025e4be6ec27ef80ede81477a42c5042 SHA512 951dffcc30ad5706dc48e71995217655c5d96472446ab66a357f19486b57d1868143a9809887eab7ba8c42c33124f8b37d3bab6618388ea8a08b4399d348a645 +DIST binutils-2.34.tar.xz 21637796 BLAKE2B 07dd23916a7d27f71c3f160c8c16abe2bd4fce294c738c665a012a3be6a87dbe8160d0c38740524f9025e01d438e99b2a94bcf9f9f79ee214f5dd033de8aad3d SHA512 2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd diff --git a/sys-devel/binutils/binutils-2.34.ebuild b/sys-devel/binutils/binutils-2.34.ebuild new file mode 100644 index 000..4e33aa0 --- /dev/null +++ b/sys-devel/binutils/binutils-2.34.ebuild @@ -0,0 +1,443 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils libtool flag-o-matic gnuconfig multilib toolchain-funcs + +DESCRIPTION="Tools necessary to build programs" +HOMEPAGE="https://sourceware.org/binutils/; +LICENSE="GPL-3+" +IUSE="default-gold doc +gold multitarget +nls +plugins static-libs test" +REQUIRED_USE="default-gold? ( gold )" + +# Variables that can be set here: +# PATCH_VER - the patchset version +# Default: empty, no patching +# PATCH_BINUTILS_VER - the binutils version in the patchset name +#- Default: PV +# PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/... +# for the patchsets + +PATCH_VER=1 +PATCH_DEV=slyfox + +case ${PV} in + ) + EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git; + inherit git-r3 + S=${WORKDIR}/binutils + EGIT_CHECKOUT_DIR=${S} + SLOT=${PV} + ;; + *.) + EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git; + inherit git-r3 + S=${WORKDIR}/binutils + EGIT_CHECKOUT_DIR=${S} + EGIT_BRANCH=$(ver_cut 1-2) + EGIT_BRANCH="binutils-${EGIT_BRANCH/./_}-branch" + SLOT=$(ver_cut 1-2) + ;; + *) + SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz" + SLOT=$(ver_cut 1-2) + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + ;; +esac + +# +# The Gentoo patchset +# +PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} +PATCH_DEV=${PATCH_DEV:-slyfox} + +[[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI} + https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz; + +# +# The cross-compile logic +# +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +# +# The dependencies +# +RDEPEND=" + >=sys-devel/binutils-config-3 + sys-libs/zlib +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( sys-apps/texinfo ) + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext ) + sys-devel/flex + virtual/yacc +" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.33-gcc-10.patch +) + +MY_BUILDDIR=${WORKDIR}/build + +src_unpack() { + case ${PV} in + *) + git-r3_src_unpack + ;; + *) + ;; + esac + default + mkdir -p "${MY_BUILDDIR}" +} + +src_prepare() { + if [[ ! -z ${PATCH_VER} ]] ; then + # Use upstream patch to enable development mode +