From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 327D2138334 for ; Tue, 12 Feb 2019 23:32:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8652E08AC; Tue, 12 Feb 2019 23:32:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A703BE08AC for ; Tue, 12 Feb 2019 23:32:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4649F340C15 for ; Tue, 12 Feb 2019 23:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B26354E3 for ; Tue, 12 Feb 2019 23:32:45 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1550014278.2daa70b566d006aa2cfba6e20842b7287766f5e5.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/binutils/binutils-2.31.1-r4.ebuild sys-devel/binutils/binutils-9999.ebuild sys-devel/binutils/metadata.xml X-VCS-Directories: sys-devel/binutils/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 2daa70b566d006aa2cfba6e20842b7287766f5e5 X-VCS-Branch: master Date: Tue, 12 Feb 2019 23:32:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40d9a8fd-8f4d-41fe-b3d5-d28d62a13580 X-Archives-Hash: aa3fcf7e25aac6adfe180cfd4e3205a9 commit: 2daa70b566d006aa2cfba6e20842b7287766f5e5 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Feb 12 23:31:18 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Feb 12 23:31:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2daa70b5 sys-devel/binutils: split USE="cxx" into USE="gold plugins" Reported-by: Dirkjan Ochtman Bug: https://bugs.gentoo.org/663776 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich gentoo.org> .../{binutils-9999.ebuild => binutils-2.31.1-r4.ebuild} | 14 +++++++++----- sys-devel/binutils/binutils-9999.ebuild | 9 ++++++--- sys-devel/binutils/metadata.xml | 2 ++ 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-2.31.1-r4.ebuild similarity index 97% copy from sys-devel/binutils/binutils-9999.ebuild copy to sys-devel/binutils/binutils-2.31.1-r4.ebuild index 4e2bb0f4ec7..841412c05e2 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-2.31.1-r4.ebuild @@ -8,7 +8,8 @@ inherit eutils libtool flag-o-matic gnuconfig multilib versionator DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="+cxx doc multitarget +nls static-libs test" +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 @@ -19,8 +20,8 @@ IUSE="+cxx doc multitarget +nls static-libs test" # for the patchsets # Default: dilfridge :) -PATCH_VER=2 -PATCH_BINUTILS_VER=9999 +PATCH_VER=5 +PATCH_DEV=dilfridge case ${PV} in 9999) @@ -42,6 +43,7 @@ case ${PV} in *) SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz" SLOT=$(get_version_component_range 1-2) + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" ;; esac @@ -174,10 +176,12 @@ src_configure() { cd "${MY_BUILDDIR}" local myconf=() + if use plugins ; then + myconf+=( --enable-plugins ) + fi # enable gold (installed as ld.gold) and ld's plugin architecture - if use cxx ; then + if use gold ; then myconf+=( --enable-gold ) - myconf+=( --enable-plugins ) if use default-gold; then myconf+=( --enable-gold=default ) fi diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index 4e2bb0f4ec7..7debbc5c53e 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -8,7 +8,8 @@ inherit eutils libtool flag-o-matic gnuconfig multilib versionator DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="+cxx doc multitarget +nls static-libs test" +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 @@ -174,10 +175,12 @@ src_configure() { cd "${MY_BUILDDIR}" local myconf=() + if use plugins ; then + myconf+=( --enable-plugins ) + fi # enable gold (installed as ld.gold) and ld's plugin architecture - if use cxx ; then + if use gold ; then myconf+=( --enable-gold ) - myconf+=( --enable-plugins ) if use default-gold; then myconf+=( --enable-gold=default ) fi diff --git a/sys-devel/binutils/metadata.xml b/sys-devel/binutils/metadata.xml index 98c985e11c4..66f4f23df42 100644 --- a/sys-devel/binutils/metadata.xml +++ b/sys-devel/binutils/metadata.xml @@ -7,6 +7,8 @@ Set ld to point to ld.gold instead of ld.bfd + Build ld.gold linker + Enable plugin support in tools Adds support to binutils for cross compiling (does not work with gas)