public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2007-11-11 19:55 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2007-11-11 19:55 UTC (permalink / raw
  To: gentoo-commits

vapier      07/11/11 19:55:43

  Modified:             toolchain-binutils.eclass
  Log:
  make sure info pages dont get regenerated in releases #193364

Revision  Changes    Path
1.77                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.77&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.77&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.76&r2=1.77

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- toolchain-binutils.eclass	23 Jul 2007 16:32:13 -0000	1.76
+++ toolchain-binutils.eclass	11 Nov 2007 19:55:42 -0000	1.77
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.76 2007/07/23 16:32:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.77 2007/11/11 19:55:42 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -179,6 +179,12 @@
 }
 
 toolchain-binutils_src_compile() {
+	# prevent makeinfo from running in releases.  it may not always be
+	# installed, and older binutils may fail with newer texinfo.
+	# besides, we never patch the doc files anyways, so regenerating
+	# in the first place is useless. #193364
+	find . '(' -name '*.info' -o -name '*.texi' ')' -print0 | xargs -0 touch -r .
+
 	# make sure we filter $LINGUAS so that only ones that
 	# actually work make it through #42033
 	strip-linguas -u */po



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2008-12-09  6:06 Joshua Kinard (kumba)
  0 siblings, 0 replies; 59+ messages in thread
From: Joshua Kinard (kumba) @ 2008-12-09  6:06 UTC (permalink / raw
  To: gentoo-commits

kumba       08/12/09 06:06:50

  Modified:             toolchain-binutils.eclass
  Log:
  Add patch to drop including .gnu.hash support on mips targets.

Revision  Changes    Path
1.78                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.78&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.78&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.77&r2=1.78

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- toolchain-binutils.eclass	11 Nov 2007 19:55:42 -0000	1.77
+++ toolchain-binutils.eclass	9 Dec 2008 06:06:50 -0000	1.78
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.77 2007/11/11 19:55:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.78 2008/12/09 06:06:50 kumba Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -114,6 +114,10 @@
 	if ! use vanilla ; then
 		if [[ -n ${PATCHVER} ]] ; then
 			EPATCH_SOURCE=${WORKDIR}/patch
+			if [[ ${CTARGET} == mips* ]] ; then
+				# remove gnu-hash for mips (bug #233233)
+				EPATCH_EXCLUDE="77_all_generate-gnu-hash.patch"
+			fi
 			[[ -n $(ls "${EPATCH_SOURCE}"/*.bz2 2>/dev/null) ]] \
 				&& EPATCH_SUFFIX="patch.bz2" \
 				|| EPATCH_SUFFIX="patch"






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2009-05-03  0:12 Mark Loeser (halcy0n)
  0 siblings, 0 replies; 59+ messages in thread
From: Mark Loeser (halcy0n) @ 2009-05-03  0:12 UTC (permalink / raw
  To: gentoo-commits

halcy0n     09/05/03 00:12:00

  Modified:             toolchain-binutils.eclass
  Log:
  Add dependency on sys-devel/flex for binutils; bug #221407

Revision  Changes    Path
1.79                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.79&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.79&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.78&r2=1.79

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- toolchain-binutils.eclass	9 Dec 2008 06:06:50 -0000	1.78
+++ toolchain-binutils.eclass	3 May 2009 00:12:00 -0000	1.79
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.78 2008/12/09 06:06:50 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.79 2009/05/03 00:12:00 halcy0n Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -87,7 +87,8 @@
 fi
 DEPEND="${RDEPEND}
 	test? ( dev-util/dejagnu )
-	nls? ( sys-devel/gettext )"
+	nls? ( sys-devel/gettext )
+	sys-devel/flex"
 
 S=${WORKDIR}/binutils
 [[ ${BVER} != "cvs" ]] && S=${S}-${BVER}






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2009-05-09 20:57 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2009-05-09 20:57 UTC (permalink / raw
  To: gentoo-commits

vapier      09/05/09 20:57:33

  Modified:             toolchain-binutils.eclass
  Log:
  add USE=gold support #266282 and depend on binutils-config-1.9 for everyone

Revision  Changes    Path
1.80                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.80&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.80&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.79&r2=1.80

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- toolchain-binutils.eclass	3 May 2009 00:12:00 -0000	1.79
+++ toolchain-binutils.eclass	9 May 2009 20:57:33 -0000	1.80
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.79 2009/05/03 00:12:00 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.80 2009/05/09 20:57:33 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -71,7 +71,7 @@
 add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER}
 
 LICENSE="|| ( GPL-2 LGPL-2 )"
-IUSE="nls multitarget multislot test vanilla"
+IUSE="gold nls multitarget multislot test vanilla"
 if use multislot ; then
 	SLOT="${CTARGET}-${BVER}"
 elif is_cross ; then
@@ -80,11 +80,7 @@
 	SLOT="0"
 fi
 
-if is_cross ; then
-	RDEPEND=">=sys-devel/binutils-config-1.9"
-else
-	RDEPEND=">=sys-devel/binutils-config-1.8-r6"
-fi
+RDEPEND=">=sys-devel/binutils-config-1.9"
 DEPEND="${RDEPEND}
 	test? ( dev-util/dejagnu )
 	nls? ( sys-devel/gettext )
@@ -229,6 +225,7 @@
 		--enable-64-bit-bfd \
 		--enable-shared \
 		--disable-werror \
+		$(use_enable gold) \
 		${myconf} ${EXTRA_ECONF}"
 	echo ./configure ${myconf}
 	"${S}"/configure ${myconf} || die "configure failed"






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2009-05-10  1:41 Mark Loeser (halcy0n)
  0 siblings, 0 replies; 59+ messages in thread
From: Mark Loeser (halcy0n) @ 2009-05-10  1:41 UTC (permalink / raw
  To: gentoo-commits

halcy0n     09/05/10 01:41:33

  Modified:             toolchain-binutils.eclass
  Log:
  binutils >= 2.18 is GPL-3

Revision  Changes    Path
1.81                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.81&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.81&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.80&r2=1.81

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- toolchain-binutils.eclass	9 May 2009 20:57:33 -0000	1.80
+++ toolchain-binutils.eclass	10 May 2009 01:41:33 -0000	1.81
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.80 2009/05/09 20:57:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.81 2009/05/10 01:41:33 halcy0n Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -38,7 +38,7 @@
 	BVER=${BINUTILS_VER}
 fi
 
-inherit eutils libtool flag-o-matic gnuconfig multilib ${extra_eclass}
+inherit eutils libtool flag-o-matic gnuconfig multilib versionator ${extra_eclass}
 EXPORT_FUNCTIONS src_unpack src_compile src_test src_install pkg_postinst pkg_postrm
 
 export CTARGET=${CTARGET:-${CHOST}}
@@ -70,7 +70,11 @@
 add_src_uri binutils-${PV}-uclibc-patches-${UCLIBC_PATCHVER}.tar.bz2 ${UCLIBC_PATCHVER}
 add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER}
 
-LICENSE="|| ( GPL-2 LGPL-2 )"
+if version_is_at_least 2.18 ; then
+	LICENSE="|| ( GPL-3 LGPL-3 )"
+else
+	LICENSE="|| ( GPL-2 LGPL-2 )"
+fi
 IUSE="gold nls multitarget multislot test vanilla"
 if use multislot ; then
 	SLOT="${CTARGET}-${BVER}"






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2009-05-23 23:07 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2009-05-23 23:07 UTC (permalink / raw
  To: gentoo-commits

vapier      09/05/23 23:07:28

  Modified:             toolchain-binutils.eclass
  Log:
  rever previous change

Revision  Changes    Path
1.83                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.83&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.83&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.82&r2=1.83

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- toolchain-binutils.eclass	23 May 2009 23:06:55 -0000	1.82
+++ toolchain-binutils.eclass	23 May 2009 23:07:28 -0000	1.83
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.82 2009/05/23 23:06:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.83 2009/05/23 23:07:28 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -68,16 +68,7 @@
 }
 add_src_uri binutils-${PV}-patches-${PATCHVER}.tar.bz2 ${PATCHVER}
 add_src_uri binutils-${PV}-uclibc-patches-${UCLIBC_PATCHVER}.tar.bz2 ${UCLIBC_PATCHVER}
-
-case ${ELF2FLT_VER} in
-	cvs:*)
-		inherit cvs
-		;;
-	git:*)
-		inherit git
-		;;
-	*) add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER};;
-esac
+add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER}
 
 if version_is_at_least 2.18 ; then
 	LICENSE="|| ( GPL-3 LGPL-3 )"






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2009-09-06 16:58 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2009-09-06 16:58 UTC (permalink / raw
  To: gentoo-commits

vapier      09/09/06 16:58:09

  Modified:             toolchain-binutils.eclass
  Log:
  convert getline() to get_line() when needed #272594 by Diego E. Pettenò

Revision  Changes    Path
1.85                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.85&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.85&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.84&r2=1.85

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- toolchain-binutils.eclass	26 Aug 2009 21:47:56 -0000	1.84
+++ toolchain-binutils.eclass	6 Sep 2009 16:58:09 -0000	1.85
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.84 2009/08/26 21:47:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.85 2009/09/06 16:58:09 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -151,6 +151,10 @@
 			eend $?
 		done
 	fi
+	# fix conflicts with newer glibc #272594
+	if [[ -e libiberty/testsuite/test-demangle.c ]] ; then
+		sed -i 's:\<getline\>:get_line:g' libiberty/testsuite/test-demangle.c
+	fi
 
 	# Fix po Makefile generators
 	sed -i \






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2009-11-21  5:06 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2009-11-21  5:06 UTC (permalink / raw
  To: gentoo-commits

vapier      09/11/21 05:06:48

  Modified:             toolchain-binutils.eclass
  Log:
  handle newer gold options where it can be installed with ld at the same time

Revision  Changes    Path
1.86                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.86&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.86&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.85&r2=1.86

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- toolchain-binutils.eclass	6 Sep 2009 16:58:09 -0000	1.85
+++ toolchain-binutils.eclass	21 Nov 2009 05:06:48 -0000	1.86
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.85 2009/09/06 16:58:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.86 2009/11/21 05:06:48 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -198,6 +198,12 @@
 
 	cd "${MY_BUILDDIR}"
 	local myconf=""
+	# new versions allow gold and ld while older allowed only one
+	if grep -q 'gold.*yes,both' "${S}"/configure ; then
+		myconf="${myconf} $(use_enable gold gold both) --enable-linker=bfd"
+	else
+		myconf="${myconf} $(use_enable gold)"
+	fi
 	use nls \
 		&& myconf="${myconf} --without-included-gettext" \
 		|| myconf="${myconf} --disable-nls"
@@ -221,7 +227,6 @@
 		--enable-64-bit-bfd \
 		--enable-shared \
 		--disable-werror \
-		$(use_enable gold) \
 		${myconf} ${EXTRA_ECONF}"
 	echo ./configure ${myconf}
 	"${S}"/configure ${myconf} || die "configure failed"






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2009-12-19 15:48 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2009-12-19 15:48 UTC (permalink / raw
  To: gentoo-commits

vapier      09/12/19 15:48:21

  Modified:             toolchain-binutils.eclass
  Log:
  use emake when generating info pages

Revision  Changes    Path
1.87                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.87&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.87&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.86&r2=1.87

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- toolchain-binutils.eclass	21 Nov 2009 05:06:48 -0000	1.86
+++ toolchain-binutils.eclass	19 Dec 2009 15:48:21 -0000	1.87
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.86 2009/11/21 05:06:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.87 2009/12/19 15:48:21 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -237,7 +237,7 @@
 	# we have makeinfo (may not exist when we bootstrap)
 	if ! has noinfo ${FEATURES} ; then
 		if type -p makeinfo > /dev/null ; then
-			make info || die "make info failed"
+			emake info || die "make info failed"
 		fi
 	fi
 	# we nuke the manpages when we're left with junk






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2009-12-24 13:16 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2009-12-24 13:16 UTC (permalink / raw
  To: gentoo-commits

vapier      09/12/24 13:16:16

  Modified:             toolchain-binutils.eclass
  Log:
  dont need the binutils-config-1.9 sanity check anymore #297928 by Willard Dawson

Revision  Changes    Path
1.88                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.88&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.88&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.87&r2=1.88

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- toolchain-binutils.eclass	19 Dec 2009 15:48:21 -0000	1.87
+++ toolchain-binutils.eclass	24 Dec 2009 13:16:16 -0000	1.88
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.87 2009/12/19 15:48:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.88 2009/12/24 13:16:16 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -168,9 +168,6 @@
 }
 
 toolchain-binutils_src_unpack() {
-	is_cross && [[ $(binutils-config -V) != binutils-config-1.9* ]] \
-		&& die "You need to upgrade your binutils-config to 1.9 or newer"
-
 	tc-binutils_unpack
 	tc-binutils_apply_patches
 }






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2010-01-28  0:25 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2010-01-28  0:25 UTC (permalink / raw
  To: gentoo-commits

vapier      10/01/28 00:25:22

  Modified:             toolchain-binutils.eclass
  Log:
  drop USE=gold and enable bfd/gold all the time (with bfd being the default) ... this implies dropping gold support in older binutils, but screw em #301480

Revision  Changes    Path
1.89                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.89&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.89&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.88&r2=1.89

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- toolchain-binutils.eclass	24 Dec 2009 13:16:16 -0000	1.88
+++ toolchain-binutils.eclass	28 Jan 2010 00:25:22 -0000	1.89
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.88 2009/12/24 13:16:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.89 2010/01/28 00:25:22 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -75,7 +75,7 @@
 else
 	LICENSE="|| ( GPL-2 LGPL-2 )"
 fi
-IUSE="gold nls multitarget multislot test vanilla"
+IUSE="nls multitarget multislot test vanilla"
 if use multislot ; then
 	SLOT="${CTARGET}-${BVER}"
 elif is_cross ; then
@@ -195,11 +195,9 @@
 
 	cd "${MY_BUILDDIR}"
 	local myconf=""
-	# new versions allow gold and ld while older allowed only one
-	if grep -q 'gold.*yes,both' "${S}"/configure ; then
-		myconf="${myconf} $(use_enable gold gold both) --enable-linker=bfd"
-	else
-		myconf="${myconf} $(use_enable gold)"
+	# new versions allow gold and ld; screw older versions
+	if grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
+		myconf="${myconf} --enable-gold=both/bfd"
 	fi
 	use nls \
 		&& myconf="${myconf} --without-included-gettext" \






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2010-03-07 16:32 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2010-03-07 16:32 UTC (permalink / raw
  To: gentoo-commits

vapier      10/03/07 16:32:07

  Modified:             toolchain-binutils.eclass
  Log:
  let portage handle FEATURES="noman noinfo" #278749

Revision  Changes    Path
1.90                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.90&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.90&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.89&r2=1.90

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- toolchain-binutils.eclass	28 Jan 2010 00:25:22 -0000	1.89
+++ toolchain-binutils.eclass	7 Mar 2010 16:32:07 -0000	1.90
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.89 2010/01/28 00:25:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.90 2010/03/07 16:32:07 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -230,10 +230,8 @@
 
 	# only build info pages if we user wants them, and if
 	# we have makeinfo (may not exist when we bootstrap)
-	if ! has noinfo ${FEATURES} ; then
-		if type -p makeinfo > /dev/null ; then
-			emake info || die "make info failed"
-		fi
+	if type -p makeinfo > /dev/null ; then
+		emake info || die "make info failed"
 	fi
 	# we nuke the manpages when we're left with junk
 	# (like when we bootstrap, no perl -> no manpages)
@@ -365,9 +363,6 @@
 		docinto opcodes
 		dodoc opcodes/ChangeLog*
 	fi
-	# Punt all the fun stuff if user doesn't want it :)
-	has noinfo ${FEATURES} && rm -r "${D}"/${DATAPATH}/info
-	has noman ${FEATURES} && rm -r "${D}"/${DATAPATH}/man
 	# Remove shared info pages
 	rm -f "${D}"/${DATAPATH}/info/{dir,configure.info,standards.info}
 	# Trim all empty dirs






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2010-04-19 23:02 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2010-04-19 23:02 UTC (permalink / raw
  To: gentoo-commits

vapier      10/04/19 23:02:57

  Modified:             toolchain-binutils.eclass
  Log:
  handle yet newer style of gold+bfd parallel installs configure option #315995 by Johannes Nixdorf

Revision  Changes    Path
1.91                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.91&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.91&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.90&r2=1.91

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- toolchain-binutils.eclass	7 Mar 2010 16:32:07 -0000	1.90
+++ toolchain-binutils.eclass	19 Apr 2010 23:02:56 -0000	1.91
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.90 2010/03/07 16:32:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.91 2010/04/19 23:02:56 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -196,7 +196,9 @@
 	cd "${MY_BUILDDIR}"
 	local myconf=""
 	# new versions allow gold and ld; screw older versions
-	if grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
+	if grep -q 'enable-gold=both/ld' "${S}"/configure ; then
+		myconf="${myconf} --enable-gold=both/ld"
+	elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
 		myconf="${myconf} --enable-gold=both/bfd"
 	fi
 	use nls \






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2010-12-01 11:22 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2010-12-01 11:22 UTC (permalink / raw
  To: gentoo-commits

vapier      10/12/01 11:22:11

  Modified:             toolchain-binutils.eclass
  Log:
  add --enable-plugins when ld/configure supports it

Revision  Changes    Path
1.92                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.92&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.92&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.91&r2=1.92

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- toolchain-binutils.eclass	19 Apr 2010 23:02:56 -0000	1.91
+++ toolchain-binutils.eclass	1 Dec 2010 11:22:11 -0000	1.92
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.91 2010/04/19 23:02:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.92 2010/12/01 11:22:11 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -201,6 +201,9 @@
 	elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
 		myconf="${myconf} --enable-gold=both/bfd"
 	fi
+	if grep -q -e '--enable-plugins' "${S}"/ld/configure ; then
+		myconf="${myconf} --enable-plugins"
+	fi
 	use nls \
 		&& myconf="${myconf} --without-included-gettext" \
 		|| myconf="${myconf} --disable-nls"






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2010-12-01 11:45 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2010-12-01 11:45 UTC (permalink / raw
  To: gentoo-commits

vapier      10/12/01 11:45:50

  Modified:             toolchain-binutils.eclass
  Log:
  switch myconf to `set` to handle spaces in args

Revision  Changes    Path
1.93                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.93&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.93&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.92&r2=1.93

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- toolchain-binutils.eclass	1 Dec 2010 11:22:11 -0000	1.92
+++ toolchain-binutils.eclass	1 Dec 2010 11:45:50 -0000	1.93
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.92 2010/12/01 11:22:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.93 2010/12/01 11:45:50 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -194,27 +194,28 @@
 	echo
 
 	cd "${MY_BUILDDIR}"
-	local myconf=""
+	set --
 	# new versions allow gold and ld; screw older versions
 	if grep -q 'enable-gold=both/ld' "${S}"/configure ; then
-		myconf="${myconf} --enable-gold=both/ld"
+		set -- "$@" --enable-gold=both/ld
 	elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
-		myconf="${myconf} --enable-gold=both/bfd"
+		set -- "$@" --enable-gold=both/bfd
 	fi
 	if grep -q -e '--enable-plugins' "${S}"/ld/configure ; then
-		myconf="${myconf} --enable-plugins"
+		set -- "$@" --enable-plugins
 	fi
 	use nls \
-		&& myconf="${myconf} --without-included-gettext" \
-		|| myconf="${myconf} --disable-nls"
-	use multitarget && myconf="${myconf} --enable-targets=all"
-	[[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}"
-	is_cross && myconf="${myconf} --with-sysroot=/usr/${CTARGET}"
+		&& set -- "$@" --without-included-gettext \
+		|| set -- "$@" --disable-nls
+	use multitarget && set -- "$@" --enable-targets=all
+	[[ -n ${CBUILD} ]] && set -- "$@" --build=${CBUILD}
+	is_cross && set -- "$@" --with-sysroot=/usr/${CTARGET}
 	# glibc-2.3.6 lacks support for this ... so rather than force glibc-2.5+
 	# on everyone in alpha (for now), we'll just enable it when possible
-	has_version ">=${CATEGORY}/glibc-2.5" && myconf="${myconf} --enable-secureplt"
-	has_version ">=sys-libs/glibc-2.5" && myconf="${myconf} --enable-secureplt"
-	myconf="--prefix=/usr \
+	has_version ">=${CATEGORY}/glibc-2.5" && set -- "$@" --enable-secureplt
+	has_version ">=sys-libs/glibc-2.5" && set -- "$@" --enable-secureplt
+	set -- "$@" \
+		--prefix=/usr \
 		--host=${CHOST} \
 		--target=${CTARGET} \
 		--datadir=${DATAPATH} \
@@ -227,9 +228,9 @@
 		--enable-64-bit-bfd \
 		--enable-shared \
 		--disable-werror \
-		${myconf} ${EXTRA_ECONF}"
-	echo ./configure ${myconf}
-	"${S}"/configure ${myconf} || die "configure failed"
+		${EXTRA_ECONF}
+	echo ./configure "$@"
+	"${S}"/configure "$@" || die
 
 	emake all || die "emake failed"
 
@@ -253,13 +254,13 @@
 
 		if [[ ${x} != "UNSUPPORTED" ]] ; then
 			append-flags -I"${S}"/include
-			myconf="--with-bfd-include-dir=${MY_BUILDDIR}/bfd \
+			set -- "$@" \
+				--with-bfd-include-dir=${MY_BUILDDIR}/bfd \
 				--with-libbfd=${MY_BUILDDIR}/bfd/libbfd.a \
 				--with-libiberty=${MY_BUILDDIR}/libiberty/libiberty.a \
-				--with-binutils-ldscript-dir=${LIBPATH}/ldscripts \
-				${myconf}"
-			echo ./configure ${myconf}
-			./configure ${myconf} || die "configure elf2flt failed"
+				--with-binutils-ldscript-dir=${LIBPATH}/ldscripts
+			echo ./configure "$@"
+			./configure "$@" || die
 			emake || die "make elf2flt failed"
 		fi
 	fi






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2010-12-09  1:32 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 59+ messages in thread
From: Ryan Hill (dirtyepic) @ 2010-12-09  1:32 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    10/12/09 01:32:33

  Modified:             toolchain-binutils.eclass
  Log:
  Update gold configure for 2.21.51.0.2.

Revision  Changes    Path
1.94                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.94&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.94&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.93&r2=1.94

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- toolchain-binutils.eclass	1 Dec 2010 11:45:50 -0000	1.93
+++ toolchain-binutils.eclass	9 Dec 2010 01:32:33 -0000	1.94
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.93 2010/12/01 11:45:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.94 2010/12/09 01:32:33 dirtyepic Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -195,8 +195,11 @@
 
 	cd "${MY_BUILDDIR}"
 	set --
-	# new versions allow gold and ld; screw older versions
-	if grep -q 'enable-gold=both/ld' "${S}"/configure ; then
+	# enable gold if available (installed as ld.gold)
+	if grep -q 'enable-gold=default' "${S}"/configure ; then
+		set -- "$@" --enable-gold
+	# old ways - remove when 2.21 is stable
+	elif grep -q 'enable-gold=both/ld' "${S}"/configure ; then
 		set -- "$@" --enable-gold=both/ld
 	elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
 		set -- "$@" --enable-gold=both/bfd






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-03-02  6:37 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-03-02  6:37 UTC (permalink / raw
  To: gentoo-commits

vapier      11/03/02 06:37:28

  Modified:             toolchain-binutils.eclass
  Log:
  pass along ROOT when uninstalling binutils

Revision  Changes    Path
1.95                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.95&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.95&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.94&r2=1.95

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- toolchain-binutils.eclass	9 Dec 2010 01:32:33 -0000	1.94
+++ toolchain-binutils.eclass	2 Mar 2011 06:37:28 -0000	1.95
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.94 2010/12/09 01:32:33 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.95 2011/03/02 06:37:28 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -398,7 +398,7 @@
 		choice=${choice//$'\n'/ }
 		choice=${choice/* }
 		if [[ -z ${choice} ]] ; then
-			env -i binutils-config -u ${CTARGET}
+			env -i ROOT="${ROOT}" binutils-config -u ${CTARGET}
 		else
 			binutils-config ${choice}
 		fi






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-03-08  8:36 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 59+ messages in thread
From: Ryan Hill (dirtyepic) @ 2011-03-08  8:36 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    11/03/08 08:36:38

  Modified:             toolchain-binutils.eclass
  Log:
  Keep going on test failures.

Revision  Changes    Path
1.96                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.96&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.96&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.95&r2=1.96

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- toolchain-binutils.eclass	2 Mar 2011 06:37:28 -0000	1.95
+++ toolchain-binutils.eclass	8 Mar 2011 08:36:37 -0000	1.96
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.95 2011/03/02 06:37:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.96 2011/03/08 08:36:37 dirtyepic Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -271,7 +271,7 @@
 
 toolchain-binutils_src_test() {
 	cd "${MY_BUILDDIR}"
-	make check || die "check failed :("
+	make -k check || die "check failed :("
 }
 
 toolchain-binutils_src_install() {






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-03-10  4:28 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-03-10  4:28 UTC (permalink / raw
  To: gentoo-commits

vapier      11/03/10 04:28:07

  Modified:             toolchain-binutils.eclass
  Log:
  use emake when testing

Revision  Changes    Path
1.97                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.97&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.97&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.96&r2=1.97

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- toolchain-binutils.eclass	8 Mar 2011 08:36:37 -0000	1.96
+++ toolchain-binutils.eclass	10 Mar 2011 04:28:07 -0000	1.97
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.96 2011/03/08 08:36:37 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.97 2011/03/10 04:28:07 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -271,7 +271,7 @@
 
 toolchain-binutils_src_test() {
 	cd "${MY_BUILDDIR}"
-	make -k check || die "check failed :("
+	emake -k check || die "check failed :("
 }
 
 toolchain-binutils_src_install() {






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-03-18 19:51 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-03-18 19:51 UTC (permalink / raw
  To: gentoo-commits

vapier      11/03/18 19:51:55

  Modified:             toolchain-binutils.eclass
  Log:
  exclude the amd64 lib32 linker patch when SYMLINK_LIB is disabled as it is only needed when lib32 is in use

Revision  Changes    Path
1.98                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.98&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.98&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.97&r2=1.98

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- toolchain-binutils.eclass	10 Mar 2011 04:28:07 -0000	1.97
+++ toolchain-binutils.eclass	18 Mar 2011 19:51:55 -0000	1.98
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.97 2011/03/10 04:28:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.98 2011/03/18 19:51:55 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -113,11 +113,13 @@
 	cd "${S}"
 
 	if ! use vanilla ; then
+		EPATCH_EXCLUDE=
+		[[ ${SYMLINK_LIB} != "yes" ]] && EPATCH_EXCLUDE+=" 65_all_binutils-*-amd64-32bit-path.patch"
 		if [[ -n ${PATCHVER} ]] ; then
 			EPATCH_SOURCE=${WORKDIR}/patch
 			if [[ ${CTARGET} == mips* ]] ; then
 				# remove gnu-hash for mips (bug #233233)
-				EPATCH_EXCLUDE="77_all_generate-gnu-hash.patch"
+				EPATCH_EXCLUDE+=" 77_all_generate-gnu-hash.patch"
 			fi
 			[[ -n $(ls "${EPATCH_SOURCE}"/*.bz2 2>/dev/null) ]] \
 				&& EPATCH_SUFFIX="patch.bz2" \






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-08-11  2:17 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-08-11  2:17 UTC (permalink / raw
  To: gentoo-commits

vapier      11/08/11 02:17:50

  Modified:             toolchain-binutils.eclass
  Log:
  we need yacc to build binutils

Revision  Changes    Path
1.99                 eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.99&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.99&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.98&r2=1.99

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- toolchain-binutils.eclass	18 Mar 2011 19:51:55 -0000	1.98
+++ toolchain-binutils.eclass	11 Aug 2011 02:17:50 -0000	1.99
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.98 2011/03/18 19:51:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.99 2011/08/11 02:17:50 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -88,7 +88,8 @@
 DEPEND="${RDEPEND}
 	test? ( dev-util/dejagnu )
 	nls? ( sys-devel/gettext )
-	sys-devel/flex"
+	sys-devel/flex
+	virtual/yacc"
 
 S=${WORKDIR}/binutils
 [[ ${BVER} != "cvs" ]] && S=${S}-${BVER}






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-09-18  9:22 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-09-18  9:22 UTC (permalink / raw
  To: gentoo-commits

vapier      11/09/18 09:22:50

  Modified:             toolchain-binutils.eclass
  Log:
  add USE=static-libs support #379049 by Agostino Sarubbo

Revision  Changes    Path
1.100                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.100&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.100&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.99&r2=1.100

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- toolchain-binutils.eclass	11 Aug 2011 02:17:50 -0000	1.99
+++ toolchain-binutils.eclass	18 Sep 2011 09:22:50 -0000	1.100
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.99 2011/08/11 02:17:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.100 2011/09/18 09:22:50 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -75,7 +75,7 @@
 else
 	LICENSE="|| ( GPL-2 LGPL-2 )"
 fi
-IUSE="nls multitarget multislot test vanilla"
+IUSE="nls multitarget multislot static-libs test vanilla"
 if use multislot ; then
 	SLOT="${CTARGET}-${BVER}"
 elif is_cross ; then
@@ -234,6 +234,7 @@
 		--enable-64-bit-bfd \
 		--enable-shared \
 		--disable-werror \
+		$(use_enable static-libs static) \
 		${EXTRA_ECONF}
 	echo ./configure "$@"
 	"${S}"/configure "$@" || die
@@ -283,6 +284,7 @@
 	cd "${MY_BUILDDIR}"
 	emake DESTDIR="${D}" tooldir="${LIBPATH}" install || die
 	rm -rf "${D}"/${LIBPATH}/bin
+	use static-libs || find "${D}" -name '*.la' -delete
 
 	# Newer versions of binutils get fancy with ${LIBPATH} #171905
 	cd "${D}"/${LIBPATH}






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-09-19 14:34 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-09-19 14:34 UTC (permalink / raw
  To: gentoo-commits

vapier      11/09/19 14:34:58

  Modified:             toolchain-binutils.eclass
  Log:
  disable kernel.org mirrors for now #383579

Revision  Changes    Path
1.101                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.101&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.101&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.100&r2=1.101

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- toolchain-binutils.eclass	18 Sep 2011 09:22:50 -0000	1.100
+++ toolchain-binutils.eclass	19 Sep 2011 14:34:58 -0000	1.101
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.100 2011/09/18 09:22:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.101 2011/09/19 14:34:58 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -59,6 +59,8 @@
 		SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${PV}.tar.bz2
 			mirror://kernel/linux/devel/binutils/test/binutils-${PV}.tar.bz2
 			mirror://gnu/binutils/binutils-${PV}.tar.bz2"
+		# disable kernel mirrors until kernel.org is back up #383579
+		SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.bz2"
 esac
 add_src_uri() {
 	[[ -z $2 ]] && return






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-10-28  7:58 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-10-28  7:58 UTC (permalink / raw
  To: gentoo-commits

vapier      11/10/28 07:58:38

  Modified:             toolchain-binutils.eclass
  Log:
  allow users to specify a base EPATCH_EXCLUDE

Revision  Changes    Path
1.102                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.102&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.102&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.101&r2=1.102

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- toolchain-binutils.eclass	19 Sep 2011 14:34:58 -0000	1.101
+++ toolchain-binutils.eclass	28 Oct 2011 07:58:38 -0000	1.102
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.101 2011/09/19 14:34:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.102 2011/10/28 07:58:38 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -116,7 +116,6 @@
 	cd "${S}"
 
 	if ! use vanilla ; then
-		EPATCH_EXCLUDE=
 		[[ ${SYMLINK_LIB} != "yes" ]] && EPATCH_EXCLUDE+=" 65_all_binutils-*-amd64-32bit-path.patch"
 		if [[ -n ${PATCHVER} ]] ; then
 			EPATCH_SOURCE=${WORKDIR}/patch






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-11-29 20:10 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-11-29 20:10 UTC (permalink / raw
  To: gentoo-commits

vapier      11/11/29 20:10:03

  Modified:             toolchain-binutils.eclass
  Log:
  add USE=zlib support with newer binutils

Revision  Changes    Path
1.103                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.103&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.103&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.102&r2=1.103

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- toolchain-binutils.eclass	28 Oct 2011 07:58:38 -0000	1.102
+++ toolchain-binutils.eclass	29 Nov 2011 20:10:03 -0000	1.103
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.102 2011/10/28 07:58:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.103 2011/11/29 20:10:03 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -78,6 +78,9 @@
 	LICENSE="|| ( GPL-2 LGPL-2 )"
 fi
 IUSE="nls multitarget multislot static-libs test vanilla"
+if version_is_at_least 2.19 ; then
+	IUSE+=" zlib"
+fi
 if use multislot ; then
 	SLOT="${CTARGET}-${BVER}"
 elif is_cross ; then
@@ -87,6 +90,7 @@
 fi
 
 RDEPEND=">=sys-devel/binutils-config-1.9"
+in_iuse zlib && RDEPEND+=" zlib? ( sys-libs/zlib )"
 DEPEND="${RDEPEND}
 	test? ( dev-util/dejagnu )
 	nls? ( sys-devel/gettext )
@@ -199,6 +203,7 @@
 
 	cd "${MY_BUILDDIR}"
 	set --
+
 	# enable gold if available (installed as ld.gold)
 	if grep -q 'enable-gold=default' "${S}"/configure ; then
 		set -- "$@" --enable-gold
@@ -211,16 +216,26 @@
 	if grep -q -e '--enable-plugins' "${S}"/ld/configure ; then
 		set -- "$@" --enable-plugins
 	fi
+
 	use nls \
 		&& set -- "$@" --without-included-gettext \
 		|| set -- "$@" --disable-nls
+
+	if in_iuse zlib ; then
+		# older versions did not have an explicit configure flag
+		export ac_cv_search_zlibVersion=$(usex zlib)
+		set -- "$@" $(use_with zlib)
+	fi
+
 	use multitarget && set -- "$@" --enable-targets=all
 	[[ -n ${CBUILD} ]] && set -- "$@" --build=${CBUILD}
 	is_cross && set -- "$@" --with-sysroot=/usr/${CTARGET}
+
 	# glibc-2.3.6 lacks support for this ... so rather than force glibc-2.5+
 	# on everyone in alpha (for now), we'll just enable it when possible
 	has_version ">=${CATEGORY}/glibc-2.5" && set -- "$@" --enable-secureplt
 	has_version ">=sys-libs/glibc-2.5" && set -- "$@" --enable-secureplt
+
 	set -- "$@" \
 		--prefix=/usr \
 		--host=${CHOST} \






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-11-29 22:45 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-11-29 22:45 UTC (permalink / raw
  To: gentoo-commits

vapier      11/11/29 22:45:32

  Modified:             toolchain-binutils.eclass
  Log:
  ac_cv_search expects the library name to link, not "yes" #392471 by Ted Marston

Revision  Changes    Path
1.104                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.104&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.104&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.103&r2=1.104

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- toolchain-binutils.eclass	29 Nov 2011 20:10:03 -0000	1.103
+++ toolchain-binutils.eclass	29 Nov 2011 22:45:31 -0000	1.104
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.103 2011/11/29 20:10:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.104 2011/11/29 22:45:31 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -223,7 +223,7 @@
 
 	if in_iuse zlib ; then
 		# older versions did not have an explicit configure flag
-		export ac_cv_search_zlibVersion=$(usex zlib)
+		export ac_cv_search_zlibVersion=$(usex zlib -lz no)
 		set -- "$@" $(use_with zlib)
 	fi
 






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-12-12 22:23 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-12-12 22:23 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/12 22:23:10

  Modified:             toolchain-binutils.eclass
  Log:
  set bugurl to the Gentoo bugzilla

Revision  Changes    Path
1.105                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.105&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.105&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.104&r2=1.105

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- toolchain-binutils.eclass	29 Nov 2011 22:45:31 -0000	1.104
+++ toolchain-binutils.eclass	12 Dec 2011 22:23:10 -0000	1.105
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.104 2011/11/29 22:45:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.105 2011/12/12 22:23:10 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -250,6 +250,7 @@
 		--enable-64-bit-bfd \
 		--enable-shared \
 		--disable-werror \
+		--with-bugurl=http://bugs.gentoo.org/ \
 		$(use_enable static-libs static) \
 		${EXTRA_ECONF}
 	echo ./configure "$@"






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-12-12 22:47 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-12-12 22:47 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/12 22:47:55

  Modified:             toolchain-binutils.eclass
  Log:
  add git support

Revision  Changes    Path
1.106                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.106&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.106&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.105&r2=1.106

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- toolchain-binutils.eclass	12 Dec 2011 22:23:10 -0000	1.105
+++ toolchain-binutils.eclass	12 Dec 2011 22:47:55 -0000	1.106
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.105 2011/12/12 22:23:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.106 2011/12/12 22:47:55 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -8,7 +8,8 @@
 # us easily merge multiple versions for multiple targets (if we wish) and
 # then switch the versions on the fly (with `binutils-config`).
 #
-# binutils-9999           -> live cvs
+# binutils-99999999       -> live cvs
+# binutils-9999           -> live git
 # binutils-9999_preYYMMDD -> nightly snapshot date YYMMDD
 # binutils-#              -> normal release
 
@@ -17,26 +18,37 @@
 	BTYPE=${BINUTILS_TYPE}
 else
 	case ${PV} in
-	9999)      BTYPE="cvs";;
+	99999999)  BTYPE="cvs";;
+	9999)      BTYPE="git";;
 	9999_pre*) BTYPE="snap";;
 	*)         BTYPE="rel";;
 	esac
 fi
 
-if [[ ${BTYPE} == "cvs" ]] ; then
+case ${BTYPE} in
+cvs)
 	extra_eclass="cvs"
 	ECVS_SERVER="sourceware.org:/cvs/src"
 	ECVS_MODULE="binutils"
 	ECVS_USER="anoncvs"
 	ECVS_PASS="anoncvs"
 	BVER="cvs"
-elif [[ ${BTYPE} == "snap" ]] ; then
+	;;
+git)
+	extra_eclass="git-2"
+	BVER="git"
+	EGIT_REPO_URI="git://sourceware.org/git/binutils.git"
+	;;
+snap)
 	BVER=${PV/9999_pre}
-elif [[ ${BTYPE} == "rel" ]] ; then
+	;;
+rel)
 	BVER=${PV}
-else
+	;;
+*)
 	BVER=${BINUTILS_VER}
-fi
+	;;
+esac
 
 inherit eutils libtool flag-o-matic gnuconfig multilib versionator ${extra_eclass}
 EXPORT_FUNCTIONS src_unpack src_compile src_test src_install pkg_postinst pkg_postrm
@@ -53,7 +65,7 @@
 HOMEPAGE="http://sources.redhat.com/binutils/"
 
 case ${BTYPE} in
-	cvs)  SRC_URI="";;
+	cvs|git) SRC_URI="" ;;
 	snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2";;
 	rel)
 		SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${PV}.tar.bz2
@@ -98,7 +110,10 @@
 	virtual/yacc"
 
 S=${WORKDIR}/binutils
-[[ ${BVER} != "cvs" ]] && S=${S}-${BVER}
+case ${BVER} in
+cvs|git) ;;
+*) S=${S}-${BVER} ;;
+esac
 
 LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${BVER}
 INCPATH=${LIBPATH}/include
@@ -111,7 +126,11 @@
 fi
 
 tc-binutils_unpack() {
-	unpack ${A}
+	case ${BTYPE} in
+	cvs) cvs_src_unpack ;;
+	git) git-2_src_unpack ;;
+	*)   unpack ${A} ;;
+	esac
 	mkdir -p "${MY_BUILDDIR}"
 	[[ -d ${WORKDIR}/patch ]] && mkdir "${WORKDIR}"/patch/skip
 }






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-12-21 21:01 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-12-21 21:01 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/21 21:01:22

  Modified:             toolchain-binutils.eclass
  Log:
  restore BINUTILS_VER support a bit for releases (for msp430-binutils), and allow ebuilds to specify additional patches via ${PATCHES[@]}

Revision  Changes    Path
1.107                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.107&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.107&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.106&r2=1.107

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- toolchain-binutils.eclass	12 Dec 2011 22:47:55 -0000	1.106
+++ toolchain-binutils.eclass	21 Dec 2011 21:01:22 -0000	1.107
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.106 2011/12/12 22:47:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.107 2011/12/21 21:01:22 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -42,11 +42,8 @@
 snap)
 	BVER=${PV/9999_pre}
 	;;
-rel)
-	BVER=${PV}
-	;;
 *)
-	BVER=${BINUTILS_VER}
+	BVER=${BINUTILS_VER:-${PV}}
 	;;
 esac
 
@@ -68,11 +65,11 @@
 	cvs|git) SRC_URI="" ;;
 	snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2";;
 	rel)
-		SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${PV}.tar.bz2
-			mirror://kernel/linux/devel/binutils/test/binutils-${PV}.tar.bz2
-			mirror://gnu/binutils/binutils-${PV}.tar.bz2"
+		SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar.bz2
+			mirror://kernel/linux/devel/binutils/test/binutils-${BVER}.tar.bz2
+			mirror://gnu/binutils/binutils-${BVER}.tar.bz2"
 		# disable kernel mirrors until kernel.org is back up #383579
-		SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.bz2"
+		SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2"
 esac
 add_src_uri() {
 	[[ -z $2 ]] && return
@@ -80,8 +77,8 @@
 	set -- mirror://gentoo http://dev.gentoo.org/~vapier/dist
 	SRC_URI="${SRC_URI} ${@/%//${a}}"
 }
-add_src_uri binutils-${PV}-patches-${PATCHVER}.tar.bz2 ${PATCHVER}
-add_src_uri binutils-${PV}-uclibc-patches-${UCLIBC_PATCHVER}.tar.bz2 ${UCLIBC_PATCHVER}
+add_src_uri binutils-${BVER}-patches-${PATCHVER}.tar.bz2 ${PATCHVER}
+add_src_uri binutils-${BVER}-uclibc-patches-${UCLIBC_PATCHVER}.tar.bz2 ${UCLIBC_PATCHVER}
 add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER}
 
 if version_is_at_least 2.18 ; then
@@ -135,6 +132,9 @@
 	[[ -d ${WORKDIR}/patch ]] && mkdir "${WORKDIR}"/patch/skip
 }
 
+# In case the ebuild wants to add a few of their own.
+PATCHES=()
+
 tc-binutils_apply_patches() {
 	cd "${S}"
 
@@ -165,6 +165,7 @@
 				die "sorry, but this binutils doesn't yet support uClibc :("
 			fi
 		fi
+		[[ ${PATCHES[@]} -gt 0 ]] && epatch "${PATCHES[@]}"
 		epatch_user
 	fi
 






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2011-12-21 21:44 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2011-12-21 21:44 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/21 21:44:18

  Modified:             toolchain-binutils.eclass
  Log:
  check for len and not the patch files themselves

Revision  Changes    Path
1.108                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.108&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.108&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.107&r2=1.108

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- toolchain-binutils.eclass	21 Dec 2011 21:01:22 -0000	1.107
+++ toolchain-binutils.eclass	21 Dec 2011 21:44:18 -0000	1.108
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.107 2011/12/21 21:01:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.108 2011/12/21 21:44:18 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -165,7 +165,7 @@
 				die "sorry, but this binutils doesn't yet support uClibc :("
 			fi
 		fi
-		[[ ${PATCHES[@]} -gt 0 ]] && epatch "${PATCHES[@]}"
+		[[ ${#PATCHES[@]} -gt 0 ]] && epatch "${PATCHES[@]}"
 		epatch_user
 	fi
 






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-02-05  2:33 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-02-05  2:33 UTC (permalink / raw
  To: gentoo-commits

vapier      12/02/05 02:33:43

  Modified:             toolchain-binutils.eclass
  Log:
  restore kernel.org mirrors for hjlu snapshots

Revision  Changes    Path
1.109                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.109&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.109&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.108&r2=1.109

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- toolchain-binutils.eclass	21 Dec 2011 21:44:18 -0000	1.108
+++ toolchain-binutils.eclass	5 Feb 2012 02:33:43 -0000	1.109
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.108 2011/12/21 21:44:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.109 2012/02/05 02:33:43 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -21,6 +21,7 @@
 	99999999)  BTYPE="cvs";;
 	9999)      BTYPE="git";;
 	9999_pre*) BTYPE="snap";;
+	*.*.*.*.*) BTYPE="hjlu";;
 	*)         BTYPE="rel";;
 	esac
 fi
@@ -63,13 +64,9 @@
 
 case ${BTYPE} in
 	cvs|git) SRC_URI="" ;;
-	snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2";;
-	rel)
-		SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar.bz2
-			mirror://kernel/linux/devel/binutils/test/binutils-${BVER}.tar.bz2
-			mirror://gnu/binutils/binutils-${BVER}.tar.bz2"
-		# disable kernel mirrors until kernel.org is back up #383579
-		SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2"
+	snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;;
+	hjlu) SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar.bz2" ;;
+	rel) SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2" ;;
 esac
 add_src_uri() {
 	[[ -z $2 ]] && return






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-03-05  5:13 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-03-05  5:13 UTC (permalink / raw
  To: gentoo-commits

vapier      12/03/05 05:13:06

  Modified:             toolchain-binutils.eclass
  Log:
  simplify SLOT logic

Revision  Changes    Path
1.110                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.110&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.110&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.109&r2=1.110

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- toolchain-binutils.eclass	5 Feb 2012 02:33:43 -0000	1.109
+++ toolchain-binutils.eclass	5 Mar 2012 05:13:06 -0000	1.110
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.109 2012/02/05 02:33:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.110 2012/03/05 05:13:06 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -88,9 +88,7 @@
 	IUSE+=" zlib"
 fi
 if use multislot ; then
-	SLOT="${CTARGET}-${BVER}"
-elif is_cross ; then
-	SLOT="${CTARGET}"
+	SLOT="${BVER}"
 else
 	SLOT="0"
 fi






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-03-05 18:55 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-03-05 18:55 UTC (permalink / raw
  To: gentoo-commits

vapier      12/03/05 18:55:47

  Modified:             toolchain-binutils.eclass
  Log:
  pass --enable-threads for gold

Revision  Changes    Path
1.111                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.111&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.111&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.110&r2=1.111

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- toolchain-binutils.eclass	5 Mar 2012 05:13:06 -0000	1.110
+++ toolchain-binutils.eclass	5 Mar 2012 18:55:47 -0000	1.111
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.110 2012/03/05 05:13:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.111 2012/03/05 18:55:47 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -264,6 +264,7 @@
 		--includedir=${INCPATH} \
 		--enable-64-bit-bfd \
 		--enable-shared \
+		--enable-threads \
 		--disable-werror \
 		--with-bugurl=http://bugs.gentoo.org/ \
 		$(use_enable static-libs static) \






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-04-26  2:14 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-04-26  2:14 UTC (permalink / raw
  To: gentoo-commits

vapier      12/04/26 02:14:55

  Modified:             toolchain-binutils.eclass
  Log:
  use .xz tarballs with newer hjlu releases

Revision  Changes    Path
1.112                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.112&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.112&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.111&r2=1.112

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- toolchain-binutils.eclass	5 Mar 2012 18:55:47 -0000	1.111
+++ toolchain-binutils.eclass	26 Apr 2012 02:14:55 -0000	1.112
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.111 2012/03/05 18:55:47 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.112 2012/04/26 02:14:55 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -48,7 +48,7 @@
 	;;
 esac
 
-inherit eutils libtool flag-o-matic gnuconfig multilib versionator ${extra_eclass}
+inherit eutils libtool flag-o-matic gnuconfig multilib versionator unpacker ${extra_eclass}
 EXPORT_FUNCTIONS src_unpack src_compile src_test src_install pkg_postinst pkg_postrm
 
 export CTARGET=${CTARGET:-${CHOST}}
@@ -65,18 +65,25 @@
 case ${BTYPE} in
 	cvs|git) SRC_URI="" ;;
 	snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;;
-	hjlu) SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar.bz2" ;;
+	hjlu)
+		SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar."
+		version_is_at_least 2.21 && SRC_URI+="xz" || SRC_URI+="bz2" ;;
 	rel) SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2" ;;
 esac
 add_src_uri() {
 	[[ -z $2 ]] && return
 	local a=$1
+	if [[ ${BTYPE} == "hjlu" ]] && version_is_at_least 2.22.52.0.2 ; then
+		a+=".xz"
+	else
+		a+=".bz2"
+	fi
 	set -- mirror://gentoo http://dev.gentoo.org/~vapier/dist
 	SRC_URI="${SRC_URI} ${@/%//${a}}"
 }
-add_src_uri binutils-${BVER}-patches-${PATCHVER}.tar.bz2 ${PATCHVER}
-add_src_uri binutils-${BVER}-uclibc-patches-${UCLIBC_PATCHVER}.tar.bz2 ${UCLIBC_PATCHVER}
-add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER}
+add_src_uri binutils-${BVER}-patches-${PATCHVER}.tar ${PATCHVER}
+add_src_uri binutils-${BVER}-uclibc-patches-${UCLIBC_PATCHVER}.tar ${UCLIBC_PATCHVER}
+add_src_uri elf2flt-${ELF2FLT_VER}.tar ${ELF2FLT_VER}
 
 if version_is_at_least 2.18 ; then
 	LICENSE="|| ( GPL-3 LGPL-3 )"
@@ -121,7 +128,7 @@
 	case ${BTYPE} in
 	cvs) cvs_src_unpack ;;
 	git) git-2_src_unpack ;;
-	*)   unpack ${A} ;;
+	*)   unpacker ${A} ;;
 	esac
 	mkdir -p "${MY_BUILDDIR}"
 	[[ -d ${WORKDIR}/patch ]] && mkdir "${WORKDIR}"/patch/skip






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-05-03  2:29 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-05-03  2:29 UTC (permalink / raw
  To: gentoo-commits

vapier      12/05/03 02:29:53

  Modified:             toolchain-binutils.eclass
  Log:
  refine the xz usage to a newer version

Revision  Changes    Path
1.113                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.113&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.113&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.112&r2=1.113

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- toolchain-binutils.eclass	26 Apr 2012 02:14:55 -0000	1.112
+++ toolchain-binutils.eclass	3 May 2012 02:29:52 -0000	1.113
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.112 2012/04/26 02:14:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.113 2012/05/03 02:29:52 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -67,7 +67,7 @@
 	snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;;
 	hjlu)
 		SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar."
-		version_is_at_least 2.21 && SRC_URI+="xz" || SRC_URI+="bz2" ;;
+		version_is_at_least 2.21.51.0.5 && SRC_URI+="xz" || SRC_URI+="bz2" ;;
 	rel) SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2" ;;
 esac
 add_src_uri() {






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-05-03  2:32 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-05-03  2:32 UTC (permalink / raw
  To: gentoo-commits

vapier      12/05/03 02:32:23

  Modified:             toolchain-binutils.eclass
  Log:
  add USE=cxx to control gold usage

Revision  Changes    Path
1.114                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.114&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.114&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.113&r2=1.114

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- toolchain-binutils.eclass	3 May 2012 02:29:52 -0000	1.113
+++ toolchain-binutils.eclass	3 May 2012 02:32:23 -0000	1.114
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.113 2012/05/03 02:29:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.114 2012/05/03 02:32:23 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -90,7 +90,7 @@
 else
 	LICENSE="|| ( GPL-2 LGPL-2 )"
 fi
-IUSE="nls multitarget multislot static-libs test vanilla"
+IUSE="cxx nls multitarget multislot static-libs test vanilla"
 if version_is_at_least 2.19 ; then
 	IUSE+=" zlib"
 fi
@@ -227,16 +227,18 @@
 	set --
 
 	# enable gold if available (installed as ld.gold)
-	if grep -q 'enable-gold=default' "${S}"/configure ; then
-		set -- "$@" --enable-gold
-	# old ways - remove when 2.21 is stable
-	elif grep -q 'enable-gold=both/ld' "${S}"/configure ; then
-		set -- "$@" --enable-gold=both/ld
-	elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
-		set -- "$@" --enable-gold=both/bfd
-	fi
-	if grep -q -e '--enable-plugins' "${S}"/ld/configure ; then
-		set -- "$@" --enable-plugins
+	if use cxx ; then
+		if grep -q 'enable-gold=default' "${S}"/configure ; then
+			set -- "$@" --enable-gold
+		# old ways - remove when 2.21 is stable
+		elif grep -q 'enable-gold=both/ld' "${S}"/configure ; then
+			set -- "$@" --enable-gold=both/ld
+		elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
+			set -- "$@" --enable-gold=both/bfd
+		fi
+		if grep -q -e '--enable-plugins' "${S}"/ld/configure ; then
+			set -- "$@" --enable-plugins
+		fi
 	fi
 
 	use nls \






^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-07-27 17:02 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-07-27 17:02 UTC (permalink / raw
  To: gentoo-commits

vapier      12/07/27 17:02:41

  Modified:             toolchain-binutils.eclass
  Log:
  recognize x.x.90 versions as official GNU binutils snapshots

Revision  Changes    Path
1.116                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.116&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.116&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.115&r2=1.116

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- toolchain-binutils.eclass	31 May 2012 17:45:08 -0000	1.115
+++ toolchain-binutils.eclass	27 Jul 2012 17:02:41 -0000	1.116
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.115 2012/05/31 17:45:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.116 2012/07/27 17:02:41 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -21,6 +21,7 @@
 	99999999)  BTYPE="cvs";;
 	9999)      BTYPE="git";;
 	9999_pre*) BTYPE="snap";;
+	*.*.90)    BTYPE="snap";;
 	*.*.*.*.*) BTYPE="hjlu";;
 	*)         BTYPE="rel";;
 	esac
@@ -64,7 +65,9 @@
 
 case ${BTYPE} in
 	cvs|git) SRC_URI="" ;;
-	snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;;
+	snap)
+		SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2
+			ftp://sourceware.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;;
 	hjlu)
 		SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar."
 		version_is_at_least 2.21.51.0.5 && SRC_URI+="xz" || SRC_URI+="bz2" ;;





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-07-27 17:03 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-07-27 17:03 UTC (permalink / raw
  To: gentoo-commits

vapier      12/07/27 17:03:25

  Modified:             toolchain-binutils.eclass
  Log:
  use .xz for all newer binutils versions, not just hjlu ones

Revision  Changes    Path
1.117                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.117&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.117&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.116&r2=1.117

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- toolchain-binutils.eclass	27 Jul 2012 17:02:41 -0000	1.116
+++ toolchain-binutils.eclass	27 Jul 2012 17:03:25 -0000	1.117
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.116 2012/07/27 17:02:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.117 2012/07/27 17:03:25 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -76,7 +76,7 @@
 add_src_uri() {
 	[[ -z $2 ]] && return
 	local a=$1
-	if [[ ${BTYPE} == "hjlu" ]] && version_is_at_least 2.22.52.0.2 ; then
+	if version_is_at_least 2.22.52.0.2 ; then
 		a+=".xz"
 	else
 		a+=".bz2"





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-07-27 17:05 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-07-27 17:05 UTC (permalink / raw
  To: gentoo-commits

vapier      12/07/27 17:05:08

  Modified:             toolchain-binutils.eclass
  Log:
  use general arrays rather than overloading $@ for configure options

Revision  Changes    Path
1.118                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.118&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.118&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.117&r2=1.118

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- toolchain-binutils.eclass	27 Jul 2012 17:03:25 -0000	1.117
+++ toolchain-binutils.eclass	27 Jul 2012 17:05:08 -0000	1.118
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.117 2012/07/27 17:03:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.118 2012/07/27 17:05:08 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -227,63 +227,64 @@
 	echo
 
 	cd "${MY_BUILDDIR}"
-	set --
+	local myconf=()
 
 	# enable gold if available (installed as ld.gold)
 	if use cxx ; then
 		if grep -q 'enable-gold=default' "${S}"/configure ; then
-			set -- "$@" --enable-gold
+			myconf+=( --enable-gold )
 		# old ways - remove when 2.21 is stable
 		elif grep -q 'enable-gold=both/ld' "${S}"/configure ; then
-			set -- "$@" --enable-gold=both/ld
+			myconf+=( --enable-gold=both/ld )
 		elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
-			set -- "$@" --enable-gold=both/bfd
+			myconf+=( --enable-gold=both/bfd )
 		fi
 		if grep -q -e '--enable-plugins' "${S}"/ld/configure ; then
-			set -- "$@" --enable-plugins
+			myconf+=( --enable-plugins )
 		fi
 	fi
 
 	use nls \
-		&& set -- "$@" --without-included-gettext \
-		|| set -- "$@" --disable-nls
+		&& myconf+=( --without-included-gettext ) \
+		|| myconf+=( --disable-nls )
 
 	if in_iuse zlib ; then
 		# older versions did not have an explicit configure flag
 		export ac_cv_search_zlibVersion=$(usex zlib -lz no)
-		set -- "$@" $(use_with zlib)
+		myconf+=( $(use_with zlib) )
 	fi
 
-	use multitarget && set -- "$@" --enable-targets=all
-	[[ -n ${CBUILD} ]] && set -- "$@" --build=${CBUILD}
-	is_cross && set -- "$@" --with-sysroot=/usr/${CTARGET}
+	use multitarget && myconf+=( --enable-targets=all )
+	[[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} )
+	is_cross && myconf+=( --with-sysroot=/usr/${CTARGET} )
 
 	# glibc-2.3.6 lacks support for this ... so rather than force glibc-2.5+
 	# on everyone in alpha (for now), we'll just enable it when possible
-	has_version ">=${CATEGORY}/glibc-2.5" && set -- "$@" --enable-secureplt
-	has_version ">=sys-libs/glibc-2.5" && set -- "$@" --enable-secureplt
+	has_version ">=${CATEGORY}/glibc-2.5" && myconf+=( --enable-secureplt )
+	has_version ">=sys-libs/glibc-2.5" && myconf+=( --enable-secureplt )
 
-	set -- "$@" \
-		--prefix=/usr \
-		--host=${CHOST} \
-		--target=${CTARGET} \
-		--datadir=${DATAPATH} \
-		--infodir=${DATAPATH}/info \
-		--mandir=${DATAPATH}/man \
-		--bindir=${BINPATH} \
-		--libdir=${LIBPATH} \
-		--libexecdir=${LIBPATH} \
-		--includedir=${INCPATH} \
-		--enable-64-bit-bfd \
-		--enable-obsolete \
-		--enable-shared \
-		--enable-threads \
-		--disable-werror \
-		--with-bugurl=http://bugs.gentoo.org/ \
-		$(use_enable static-libs static) \
+	myconf+=(
+		--prefix=/usr
+		--host=${CHOST}
+		--target=${CTARGET}
+		--datadir=${DATAPATH}
+		--infodir=${DATAPATH}/info
+		--mandir=${DATAPATH}/man
+		--bindir=${BINPATH}
+		--libdir=${LIBPATH}
+		--libexecdir=${LIBPATH}
+		--includedir=${INCPATH}
+		--enable-64-bit-bfd
+		--enable-obsolete
+		--enable-shared
+		--enable-threads
+		--disable-werror
+		--with-bugurl=http://bugs.gentoo.org/
+		$(use_enable static-libs static)
 		${EXTRA_ECONF}
-	echo ./configure "$@"
-	"${S}"/configure "$@" || die
+	)
+	echo ./configure "${myconf[@]}"
+	"${S}"/configure "${myconf[@]}" || die
 
 	emake all || die "emake failed"
 
@@ -307,13 +308,14 @@
 
 		if [[ ${x} != "UNSUPPORTED" ]] ; then
 			append-flags -I"${S}"/include
-			set -- "$@" \
-				--with-bfd-include-dir=${MY_BUILDDIR}/bfd \
-				--with-libbfd=${MY_BUILDDIR}/bfd/libbfd.a \
-				--with-libiberty=${MY_BUILDDIR}/libiberty/libiberty.a \
+			myconf+=(
+				--with-bfd-include-dir=${MY_BUILDDIR}/bfd
+				--with-libbfd=${MY_BUILDDIR}/bfd/libbfd.a
+				--with-libiberty=${MY_BUILDDIR}/libiberty/libiberty.a
 				--with-binutils-ldscript-dir=${LIBPATH}/ldscripts
-			echo ./configure "$@"
-			./configure "$@" || die
+			)
+			echo ./configure "${myconf[@]}"
+			./configure "${myconf[@]}" || die
 			emake || die "make elf2flt failed"
 		fi
 	fi





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-10-17 19:14 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-10-17 19:14 UTC (permalink / raw
  To: gentoo-commits

vapier      12/10/17 19:14:58

  Modified:             toolchain-binutils.eclass
  Log:
  only force enable 64bit bfd when doing USE=multitarget as it provides no benefit for 32bit targets, and 64bit targets automatically enable this option #438522 by Siarhei Siamashka

Revision  Changes    Path
1.119                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.119&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.119&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.118&r2=1.119

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- toolchain-binutils.eclass	27 Jul 2012 17:05:08 -0000	1.118
+++ toolchain-binutils.eclass	17 Oct 2012 19:14:58 -0000	1.119
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.118 2012/07/27 17:05:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.119 2012/10/17 19:14:58 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -254,7 +254,7 @@
 		myconf+=( $(use_with zlib) )
 	fi
 
-	use multitarget && myconf+=( --enable-targets=all )
+	use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
 	[[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} )
 	is_cross && myconf+=( --with-sysroot=/usr/${CTARGET} )
 
@@ -274,7 +274,6 @@
 		--libdir=${LIBPATH}
 		--libexecdir=${LIBPATH}
 		--includedir=${INCPATH}
-		--enable-64-bit-bfd
 		--enable-obsolete
 		--enable-shared
 		--enable-threads





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-10-24  3:24 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-10-24  3:24 UTC (permalink / raw
  To: gentoo-commits

vapier      12/10/24 03:24:45

  Modified:             toolchain-binutils.eclass
  Log:
  install more libiberty headers #439286 by Hristo Venev

Revision  Changes    Path
1.120                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.120&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.120&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.119&r2=1.120

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- toolchain-binutils.eclass	17 Oct 2012 19:14:58 -0000	1.119
+++ toolchain-binutils.eclass	24 Oct 2012 03:24:45 -0000	1.120
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.119 2012/10/17 19:14:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.120 2012/10/24 03:24:45 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -357,7 +357,17 @@
 		fi
 	fi
 	insinto ${INCPATH}
-	doins "${S}/include/libiberty.h"
+	local libiberty_headers=(
+		# Not all the libiberty headers.  See libiberty/Makefile.in:install_to_libdir.
+		demangle.h
+		dyn-string.h
+		fibheap.h
+		hashtab.h
+		libiberty.h
+		objalloc.h
+		splay-tree.h
+	)
+	doins "${libiberty_headers[@]/#/${S}/include/}" || die
 	if [[ -d ${D}/${LIBPATH}/lib ]] ; then
 		mv "${D}"/${LIBPATH}/lib/* "${D}"/${LIBPATH}/
 		rm -r "${D}"/${LIBPATH}/lib





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-11-26 18:06 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-11-26 18:06 UTC (permalink / raw
  To: gentoo-commits

vapier      12/11/26 18:06:55

  Modified:             toolchain-binutils.eclass
  Log:
  drop SYMLINK_LIB patch since upstream has added a similar change to mainline

Revision  Changes    Path
1.121                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.121&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.121&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.120&r2=1.121

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- toolchain-binutils.eclass	24 Oct 2012 03:24:45 -0000	1.120
+++ toolchain-binutils.eclass	26 Nov 2012 18:06:55 -0000	1.121
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.120 2012/10/24 03:24:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.121 2012/11/26 18:06:55 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -144,7 +144,6 @@
 	cd "${S}"
 
 	if ! use vanilla ; then
-		[[ ${SYMLINK_LIB} != "yes" ]] && EPATCH_EXCLUDE+=" 65_all_binutils-*-amd64-32bit-path.patch"
 		if [[ -n ${PATCHVER} ]] ; then
 			EPATCH_SOURCE=${WORKDIR}/patch
 			if [[ ${CTARGET} == mips* ]] ; then





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2012-12-23 23:37 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2012-12-23 23:37 UTC (permalink / raw
  To: gentoo-commits

vapier      12/12/23 23:37:26

  Modified:             toolchain-binutils.eclass
  Log:
  re-enable 64bit bfd for arches which want to do bi-arch #446946

Revision  Changes    Path
1.122                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.122&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.122&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.121&r2=1.122

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- toolchain-binutils.eclass	26 Nov 2012 18:06:55 -0000	1.121
+++ toolchain-binutils.eclass	23 Dec 2012 23:37:26 -0000	1.122
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.121 2012/11/26 18:06:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.122 2012/12/23 23:37:26 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -253,6 +253,13 @@
 		myconf+=( $(use_with zlib) )
 	fi
 
+	# For bi-arch systems, enable a 64bit bfd.  This matches
+	# the bi-arch logic in toolchain.eclass. #446946
+	# We used to do it for everyone, but it's slow on 32bit arches. #438522
+	case $(tc-arch) in
+	ppc|sparc|x86) myconf+=( --enable-64-bit-bfd ) ;;
+	esac
+
 	use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
 	[[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} )
 	is_cross && myconf+=( --with-sysroot=/usr/${CTARGET} )





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2013-02-09  4:32 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2013-02-09  4:32 UTC (permalink / raw
  To: gentoo-commits

vapier      13/02/09 04:32:48

  Modified:             toolchain-binutils.eclass
  Log:
  update HOMEPAGE to use sourceware.org #455152

Revision  Changes    Path
1.123                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.123&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.123&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.122&r2=1.123

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- toolchain-binutils.eclass	23 Dec 2012 23:37:26 -0000	1.122
+++ toolchain-binutils.eclass	9 Feb 2013 04:32:48 -0000	1.123
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.122 2012/12/23 23:37:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.123 2013/02/09 04:32:48 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -61,7 +61,7 @@
 is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
 
 DESCRIPTION="Tools necessary to build programs"
-HOMEPAGE="http://sources.redhat.com/binutils/"
+HOMEPAGE="http://sourceware.org/binutils/"
 
 case ${BTYPE} in
 	cvs|git) SRC_URI="" ;;





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2013-10-11 18:35 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2013-10-11 18:35 UTC (permalink / raw
  To: gentoo-commits

vapier      13/10/11 18:35:59

  Modified:             toolchain-binutils.eclass
  Log:
  avoid changing to $S just to create the env.d -- use $T instead

Revision  Changes    Path
1.125                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.125&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.125&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.124&r2=1.125

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- toolchain-binutils.eclass	30 Sep 2013 02:28:42 -0000	1.124
+++ toolchain-binutils.eclass	11 Oct 2013 18:35:59 -0000	1.125
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.124 2013/09/30 02:28:42 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.125 2013/10/11 18:35:59 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -414,15 +414,14 @@
 	[[ -n ${src}${dst} ]] && FAKE_TARGETS="${FAKE_TARGETS} ${CTARGET/${src}/${dst}}"
 
 	# Generate an env.d entry for this binutils
-	cd "${S}"
 	insinto /etc/env.d/binutils
-	cat <<-EOF > env.d
+	cat <<-EOF > "${T}"/env.d
 		TARGET="${CTARGET}"
 		VER="${BVER}"
 		LIBPATH="${EPREFIX}${LIBPATH}"
 		FAKE_TARGETS="${FAKE_TARGETS}"
 	EOF
-	newins env.d ${CTARGET}-${BVER}
+	newins "${T}"/env.d ${CTARGET}-${BVER}
 
 	# Handle documentation
 	if ! is_cross ; then





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2013-11-20  8:13 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2013-11-20  8:13 UTC (permalink / raw
  To: gentoo-commits

vapier      13/11/20 08:13:56

  Modified:             toolchain-binutils.eclass
  Log:
  update binutils git repo #490566

Revision  Changes    Path
1.126                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.126&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.126&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.125&r2=1.126

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- toolchain-binutils.eclass	11 Oct 2013 18:35:59 -0000	1.125
+++ toolchain-binutils.eclass	20 Nov 2013 08:13:56 -0000	1.126
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.125 2013/10/11 18:35:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.126 2013/11/20 08:13:56 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -39,7 +39,7 @@
 git)
 	extra_eclass="git-2"
 	BVER="git"
-	EGIT_REPO_URI="git://sourceware.org/git/binutils.git"
+	EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git"
 	;;
 snap)
 	BVER=${PV/9999_pre}





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2013-11-21  4:07 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2013-11-21  4:07 UTC (permalink / raw
  To: gentoo-commits

vapier      13/11/21 04:07:25

  Modified:             toolchain-binutils.eclass
  Log:
  disable dirs specific to gdb in case we have a combined tree #490566

Revision  Changes    Path
1.127                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.127&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.127&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.126&r2=1.127

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -r1.126 -r1.127
--- toolchain-binutils.eclass	20 Nov 2013 08:13:56 -0000	1.126
+++ toolchain-binutils.eclass	21 Nov 2013 04:07:25 -0000	1.127
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.126 2013/11/20 08:13:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.127 2013/11/21 04:07:25 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -290,6 +290,8 @@
 		--with-bugurl=http://bugs.gentoo.org/
 		$(use_enable static-libs static)
 		${EXTRA_ECONF}
+		# Disable modules that are in a combined binutils/gdb tree. #490566
+		--disable-{gdb,libdecnumber,readline,sim}
 	)
 	echo ./configure "${myconf[@]}"
 	"${S}"/configure "${myconf[@]}" || die





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2013-12-22 20:59 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2013-12-22 20:59 UTC (permalink / raw
  To: gentoo-commits

vapier      13/12/22 20:59:02

  Modified:             toolchain-binutils.eclass
  Log:
  rework how we disable makeinfo; and disable it completely for older versions, not just releases #294617

Revision  Changes    Path
1.130                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.130&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.130&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.129&r2=1.130

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -r1.129 -r1.130
--- toolchain-binutils.eclass	22 Dec 2013 16:51:49 -0000	1.129
+++ toolchain-binutils.eclass	22 Dec 2013 20:59:02 -0000	1.130
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.129 2013/12/22 16:51:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.130 2013/12/22 20:59:02 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -223,12 +223,6 @@
 toolchain-binutils_src_configure() {
 	_eprefix_init
 
-	# prevent makeinfo from running in releases.  it may not always be
-	# installed, and older binutils may fail with newer texinfo.
-	# besides, we never patch the doc files anyways, so regenerating
-	# in the first place is useless. #193364
-	find . '(' -name '*.info' -o -name '*.texi' ')' -exec touch -r . {} +
-
 	# make sure we filter $LINGUAS so that only ones that
 	# actually work make it through #42033
 	strip-linguas -u */po
@@ -310,6 +304,18 @@
 	)
 	echo ./configure "${myconf[@]}"
 	"${S}"/configure "${myconf[@]}" || die
+
+	# Prevent makeinfo from running in releases.  It may not always be
+	# installed, and older binutils may fail with newer texinfo.
+	# Besides, we never patch the doc files anyways, so regenerating
+	# in the first place is useless. #193364
+	# For older versions, it means we don't get any info pages at all.
+	# Oh well, tough luck. #294617
+	if [[ -e ${S}/gas/doc/as.info ]] || ! version_is_at_least 2.24 ; then
+		sed -i \
+			-e '/^MAKEINFO/s:=.*:= true:' \
+			Makefile || die
+	fi
 }
 
 toolchain-binutils_src_compile() {





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2014-01-06 16:10 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2014-01-06 16:10 UTC (permalink / raw
  To: gentoo-commits

vapier      14/01/06 16:10:56

  Modified:             toolchain-binutils.eclass
  Log:
  enable explicit install of libiberty w/newer versions #497268

Revision  Changes    Path
1.131                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.131&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.131&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.130&r2=1.131

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -r1.130 -r1.131
--- toolchain-binutils.eclass	22 Dec 2013 20:59:02 -0000	1.130
+++ toolchain-binutils.eclass	6 Jan 2014 16:10:56 -0000	1.131
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.130 2013/12/22 20:59:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.131 2014/01/06 16:10:56 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -295,6 +295,8 @@
 		--enable-obsolete
 		--enable-shared
 		--enable-threads
+		# Newer versions (>=2.24) make this an explicit option. #497268
+		--enable-install-libiberty
 		--disable-werror
 		--with-bugurl=http://bugs.gentoo.org/
 		$(use_enable static-libs static)





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2014-06-06 19:33 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2014-06-06 19:33 UTC (permalink / raw
  To: gentoo-commits

vapier      14/06/06 19:33:22

  Modified:             toolchain-binutils.eclass
  Log:
  fix IUSE sorting

Revision  Changes    Path
1.132                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.132&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.132&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.131&r2=1.132

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -r1.131 -r1.132
--- toolchain-binutils.eclass	6 Jan 2014 16:10:56 -0000	1.131
+++ toolchain-binutils.eclass	6 Jun 2014 19:33:22 -0000	1.132
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.131 2014/01/06 16:10:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.132 2014/06/06 19:33:22 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -99,7 +99,7 @@
 else
 	LICENSE="|| ( GPL-2 LGPL-2 )"
 fi
-IUSE="cxx nls multitarget multislot static-libs test vanilla"
+IUSE="cxx multislot multitarget nls static-libs test vanilla"
 if version_is_at_least 2.19 ; then
 	IUSE+=" zlib"
 fi





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2014-06-07  5:08 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2014-06-07  5:08 UTC (permalink / raw
  To: gentoo-commits

vapier      14/06/07 05:08:19

  Modified:             toolchain-binutils.eclass
  Log:
  start setting --with-pkgversion details in our builds so --version output looks good

Revision  Changes    Path
1.133                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.133&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.133&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.132&r2=1.133

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- toolchain-binutils.eclass	6 Jun 2014 19:33:22 -0000	1.132
+++ toolchain-binutils.eclass	7 Jun 2014 05:08:19 -0000	1.133
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.132 2014/06/06 19:33:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.133 2014/06/07 05:08:19 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -281,6 +281,8 @@
 	has_version ">=${CATEGORY}/glibc-2.5" && myconf+=( --enable-secureplt )
 	has_version ">=sys-libs/glibc-2.5" && myconf+=( --enable-secureplt )
 
+	local pkgver="Gentoo ${BVER}"
+	[[ -n ${PATCHVER} ]] && pkgver+=" p${PATCHVER}"
 	myconf+=(
 		--prefix="${EPREFIX}"/usr
 		--host=${CHOST}
@@ -299,6 +301,7 @@
 		--enable-install-libiberty
 		--disable-werror
 		--with-bugurl=http://bugs.gentoo.org/
+		--with-pkgversion="${pkgver}"
 		$(use_enable static-libs static)
 		${EXTRA_ECONF}
 		# Disable modules that are in a combined binutils/gdb tree. #490566





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2014-08-11 13:32 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2014-08-11 13:32 UTC (permalink / raw
  To: gentoo-commits

vapier      14/08/11 13:32:35

  Modified:             toolchain-binutils.eclass
  Log:
  drop FAKE_TARGETS support #467488

Revision  Changes    Path
1.134                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.134&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.134&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.133&r2=1.134

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -r1.133 -r1.134
--- toolchain-binutils.eclass	7 Jun 2014 05:08:19 -0000	1.133
+++ toolchain-binutils.eclass	11 Aug 2014 13:32:35 -0000	1.134
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.133 2014/06/07 05:08:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.134 2014/08/11 13:32:35 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -431,32 +431,12 @@
 		newdoc README README.elf2flt
 	fi
 
-	# Now, some binutils are tricky and actually provide
-	# for multiple TARGETS.  Really, we're talking just
-	# 32bit/64bit support (like mips/ppc/sparc).  Here
-	# we want to tell binutils-config that it's cool if
-	# it generates multiple sets of binutil symlinks.
-	# e.g. sparc gets {sparc,sparc64}-unknown-linux-gnu
-	local targ=${CTARGET/-*} src="" dst=""
-	local FAKE_TARGETS=${CTARGET}
-	case ${targ} in
-		mips*)    src="mips"    dst="mips64";;
-		powerpc*) src="powerpc" dst="powerpc64";;
-		s390*)    src="s390"    dst="s390x";;
-		sparc*)   src="sparc"   dst="sparc64";;
-	esac
-	case ${targ} in
-		mips64*|powerpc64*|s390x*|sparc64*) targ=${src} src=${dst} dst=${targ};;
-	esac
-	[[ -n ${src}${dst} ]] && FAKE_TARGETS="${FAKE_TARGETS} ${CTARGET/${src}/${dst}}"
-
 	# Generate an env.d entry for this binutils
 	insinto /etc/env.d/binutils
 	cat <<-EOF > "${T}"/env.d
 		TARGET="${CTARGET}"
 		VER="${BVER}"
 		LIBPATH="${EPREFIX}${LIBPATH}"
-		FAKE_TARGETS="${FAKE_TARGETS}"
 	EOF
 	newins "${T}"/env.d ${CTARGET}-${BVER}
 





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2014-09-09 22:29 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2014-09-09 22:29 UTC (permalink / raw
  To: gentoo-commits

vapier      14/09/09 22:29:29

  Modified:             toolchain-binutils.eclass
  Log:
  avoid static linking of libstdc++ and libgcc

Revision  Changes    Path
1.135                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.135&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.135&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.134&r2=1.135

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -r1.134 -r1.135
--- toolchain-binutils.eclass	11 Aug 2014 13:32:35 -0000	1.134
+++ toolchain-binutils.eclass	9 Sep 2014 22:29:29 -0000	1.135
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.134 2014/08/11 13:32:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.135 2014/09/09 22:29:29 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -306,6 +306,9 @@
 		${EXTRA_ECONF}
 		# Disable modules that are in a combined binutils/gdb tree. #490566
 		--disable-{gdb,libdecnumber,readline,sim}
+		# Strip out broken static link flags.
+		# https://gcc.gnu.org/PR56750
+		--without-stage1-ldflags
 	)
 	echo ./configure "${myconf[@]}"
 	"${S}"/configure "${myconf[@]}" || die





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2014-11-02 19:36 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2014-11-02 19:36 UTC (permalink / raw
  To: gentoo-commits

vapier      14/11/02 19:36:36

  Modified:             toolchain-binutils.eclass
  Log:
  enable multislot for all versions <2.24

Revision  Changes    Path
1.136                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.136&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.136&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.135&r2=1.136

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- toolchain-binutils.eclass	9 Sep 2014 22:29:29 -0000	1.135
+++ toolchain-binutils.eclass	2 Nov 2014 19:36:36 -0000	1.136
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.135 2014/09/09 22:29:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.136 2014/11/02 19:36:36 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -103,13 +103,13 @@
 if version_is_at_least 2.19 ; then
 	IUSE+=" zlib"
 fi
-if use multislot ; then
+if ! version_is_at_least 2.23.90 || [[ ${PV} == "9999" ]] || use multislot ; then
 	SLOT="${BVER}"
 else
 	SLOT="0"
 fi
 
-RDEPEND=">=sys-devel/binutils-config-1.9"
+RDEPEND=">=sys-devel/binutils-config-3"
 in_iuse zlib && RDEPEND+=" zlib? ( sys-libs/zlib )"
 DEPEND="${RDEPEND}
 	test? ( dev-util/dejagnu )





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2014-11-08 17:12 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2014-11-08 17:12 UTC (permalink / raw
  To: gentoo-commits

vapier      14/11/08 17:12:09

  Modified:             toolchain-binutils.eclass
  Log:
  refactor bugurl/pkgversion info so ebuilds can override them easily

Revision  Changes    Path
1.137                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.137&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.137&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.136&r2=1.137

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -r1.136 -r1.137
--- toolchain-binutils.eclass	2 Nov 2014 19:36:36 -0000	1.136
+++ toolchain-binutils.eclass	8 Nov 2014 17:12:09 -0000	1.137
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.136 2014/11/02 19:36:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.137 2014/11/08 17:12:09 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -220,6 +220,15 @@
 	has "${EAPI:-0}" 0 1 2 && ED=${D} EPREFIX= EROOT=${ROOT}
 }
 
+# Intended for ebuilds to override to set their own versioning information.
+toolchain-binutils_bugurl() {
+	printf "http://bugs.gentoo.org/"
+}
+toolchain-binutils_pkgversion() {
+	printf "Gentoo ${BVER}"
+	[[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
+}
+
 toolchain-binutils_src_configure() {
 	_eprefix_init
 
@@ -281,8 +290,6 @@
 	has_version ">=${CATEGORY}/glibc-2.5" && myconf+=( --enable-secureplt )
 	has_version ">=sys-libs/glibc-2.5" && myconf+=( --enable-secureplt )
 
-	local pkgver="Gentoo ${BVER}"
-	[[ -n ${PATCHVER} ]] && pkgver+=" p${PATCHVER}"
 	myconf+=(
 		--prefix="${EPREFIX}"/usr
 		--host=${CHOST}
@@ -300,8 +307,8 @@
 		# Newer versions (>=2.24) make this an explicit option. #497268
 		--enable-install-libiberty
 		--disable-werror
-		--with-bugurl=http://bugs.gentoo.org/
-		--with-pkgversion="${pkgver}"
+		--with-bugurl="$(toolchain-binutils_bugurl)"
+		--with-pkgversion="$(toolchain-binutils_pkgversion)"
 		$(use_enable static-libs static)
 		${EXTRA_ECONF}
 		# Disable modules that are in a combined binutils/gdb tree. #490566





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2015-02-09 15:43 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2015-02-09 15:43 UTC (permalink / raw
  To: gentoo-commits

vapier      15/02/09 15:43:16

  Modified:             toolchain-binutils.eclass
  Log:
  drop cvs support

Revision  Changes    Path
1.138                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.138&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.138&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.137&r2=1.138

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -r1.137 -r1.138
--- toolchain-binutils.eclass	8 Nov 2014 17:12:09 -0000	1.137
+++ toolchain-binutils.eclass	9 Feb 2015 15:43:16 -0000	1.138
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.137 2014/11/08 17:12:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.138 2015/02/09 15:43:16 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -8,17 +8,14 @@
 # us easily merge multiple versions for multiple targets (if we wish) and
 # then switch the versions on the fly (with `binutils-config`).
 #
-# binutils-99999999       -> live cvs
 # binutils-9999           -> live git
 # binutils-9999_preYYMMDD -> nightly snapshot date YYMMDD
 # binutils-#              -> normal release
 
-extra_eclass=""
 if [[ -n ${BINUTILS_TYPE} ]] ; then
 	BTYPE=${BINUTILS_TYPE}
 else
 	case ${PV} in
-	99999999)  BTYPE="cvs";;
 	9999)      BTYPE="git";;
 	9999_pre*) BTYPE="snap";;
 	*.*.90)    BTYPE="snap";;
@@ -28,18 +25,10 @@
 fi
 
 case ${BTYPE} in
-cvs)
-	extra_eclass="cvs"
-	ECVS_SERVER="sourceware.org:/cvs/src"
-	ECVS_MODULE="binutils"
-	ECVS_USER="anoncvs"
-	ECVS_PASS="anoncvs"
-	BVER="cvs"
-	;;
 git)
-	extra_eclass="git-2"
 	BVER="git"
 	EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git"
+	inherit git-2
 	;;
 snap)
 	BVER=${PV/9999_pre}
@@ -49,7 +38,7 @@
 	;;
 esac
 
-inherit eutils libtool flag-o-matic gnuconfig multilib versionator unpacker ${extra_eclass}
+inherit eutils libtool flag-o-matic gnuconfig multilib versionator unpacker
 case ${EAPI:-0} in
 0|1)
 	EXPORT_FUNCTIONS src_unpack src_compile src_test src_install pkg_postinst pkg_postrm ;;
@@ -70,7 +59,7 @@
 HOMEPAGE="http://sourceware.org/binutils/"
 
 case ${BTYPE} in
-	cvs|git) SRC_URI="" ;;
+	git) SRC_URI="" ;;
 	snap)
 		SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2
 			ftp://sourceware.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;;
@@ -119,7 +108,7 @@
 
 S=${WORKDIR}/binutils
 case ${BVER} in
-cvs|git) ;;
+git) ;;
 *) S=${S}-${BVER} ;;
 esac
 
@@ -135,7 +124,6 @@
 
 tc-binutils_unpack() {
 	case ${BTYPE} in
-	cvs) cvs_src_unpack ;;
 	git) git-2_src_unpack ;;
 	*)   unpacker ${A} ;;
 	esac





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2015-02-09 15:47 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2015-02-09 15:47 UTC (permalink / raw
  To: gentoo-commits

vapier      15/02/09 15:47:05

  Modified:             toolchain-binutils.eclass
  Log:
  enable multislot for all non-release versions

Revision  Changes    Path
1.139                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.139&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.139&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.138&r2=1.139

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- toolchain-binutils.eclass	9 Feb 2015 15:43:16 -0000	1.138
+++ toolchain-binutils.eclass	9 Feb 2015 15:47:05 -0000	1.139
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.138 2015/02/09 15:43:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.139 2015/02/09 15:47:05 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -92,7 +92,7 @@
 if version_is_at_least 2.19 ; then
 	IUSE+=" zlib"
 fi
-if ! version_is_at_least 2.23.90 || [[ ${PV} == "9999" ]] || use multislot ; then
+if ! version_is_at_least 2.23.90 || [[ ${BTYPE} != "rel" ]] || use multislot ; then
 	SLOT="${BVER}"
 else
 	SLOT="0"





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2015-02-09 19:34 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2015-02-09 19:34 UTC (permalink / raw
  To: gentoo-commits

vapier      15/02/09 19:34:02

  Modified:             toolchain-binutils.eclass
  Log:
  use multislot for all cross-compilers

Revision  Changes    Path
1.140                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.140&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.140&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.139&r2=1.140

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -r1.139 -r1.140
--- toolchain-binutils.eclass	9 Feb 2015 15:47:05 -0000	1.139
+++ toolchain-binutils.eclass	9 Feb 2015 19:34:02 -0000	1.140
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.139 2015/02/09 15:47:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.140 2015/02/09 19:34:02 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -92,7 +92,7 @@
 if version_is_at_least 2.19 ; then
 	IUSE+=" zlib"
 fi
-if ! version_is_at_least 2.23.90 || [[ ${BTYPE} != "rel" ]] || use multislot ; then
+if ! version_is_at_least 2.23.90 || [[ ${BTYPE} != "rel" ]] || is_cross || use multislot ; then
 	SLOT="${BVER}"
 else
 	SLOT="0"





^ permalink raw reply	[flat|nested] 59+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
@ 2015-05-25  8:39 Mike Frysinger (vapier)
  0 siblings, 0 replies; 59+ messages in thread
From: Mike Frysinger (vapier) @ 2015-05-25  8:39 UTC (permalink / raw
  To: gentoo-commits

vapier      15/05/25 08:39:36

  Modified:             toolchain-binutils.eclass
  Log:
  enable the poisoned system directories flags when cross-compiling (see the new 67_all_ld-poison-system-directories.patch in the Gentoo patchset)

Revision  Changes    Path
1.141                eclass/toolchain-binutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.141&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.141&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.140&r2=1.141

Index: toolchain-binutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- toolchain-binutils.eclass	9 Feb 2015 19:34:02 -0000	1.140
+++ toolchain-binutils.eclass	25 May 2015 08:39:36 -0000	1.141
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.140 2015/02/09 19:34:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.141 2015/05/25 08:39:36 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -271,7 +271,10 @@
 
 	use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
 	[[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} )
-	is_cross && myconf+=( --with-sysroot="${EPREFIX}"/usr/${CTARGET} )
+	is_cross && myconf+=(
+		--with-sysroot="${EPREFIX}"/usr/${CTARGET}
+		--enable-poison-system-directories
+	)
 
 	# glibc-2.3.6 lacks support for this ... so rather than force glibc-2.5+
 	# on everyone in alpha (for now), we'll just enable it when possible





^ permalink raw reply	[flat|nested] 59+ messages in thread

end of thread, other threads:[~2015-05-25  8:39 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-24  3:24 [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2015-05-25  8:39 Mike Frysinger (vapier)
2015-02-09 19:34 Mike Frysinger (vapier)
2015-02-09 15:47 Mike Frysinger (vapier)
2015-02-09 15:43 Mike Frysinger (vapier)
2014-11-08 17:12 Mike Frysinger (vapier)
2014-11-02 19:36 Mike Frysinger (vapier)
2014-09-09 22:29 Mike Frysinger (vapier)
2014-08-11 13:32 Mike Frysinger (vapier)
2014-06-07  5:08 Mike Frysinger (vapier)
2014-06-06 19:33 Mike Frysinger (vapier)
2014-01-06 16:10 Mike Frysinger (vapier)
2013-12-22 20:59 Mike Frysinger (vapier)
2013-11-21  4:07 Mike Frysinger (vapier)
2013-11-20  8:13 Mike Frysinger (vapier)
2013-10-11 18:35 Mike Frysinger (vapier)
2013-02-09  4:32 Mike Frysinger (vapier)
2012-12-23 23:37 Mike Frysinger (vapier)
2012-11-26 18:06 Mike Frysinger (vapier)
2012-10-17 19:14 Mike Frysinger (vapier)
2012-07-27 17:05 Mike Frysinger (vapier)
2012-07-27 17:03 Mike Frysinger (vapier)
2012-07-27 17:02 Mike Frysinger (vapier)
2012-05-03  2:32 Mike Frysinger (vapier)
2012-05-03  2:29 Mike Frysinger (vapier)
2012-04-26  2:14 Mike Frysinger (vapier)
2012-03-05 18:55 Mike Frysinger (vapier)
2012-03-05  5:13 Mike Frysinger (vapier)
2012-02-05  2:33 Mike Frysinger (vapier)
2011-12-21 21:44 Mike Frysinger (vapier)
2011-12-21 21:01 Mike Frysinger (vapier)
2011-12-12 22:47 Mike Frysinger (vapier)
2011-12-12 22:23 Mike Frysinger (vapier)
2011-11-29 22:45 Mike Frysinger (vapier)
2011-11-29 20:10 Mike Frysinger (vapier)
2011-10-28  7:58 Mike Frysinger (vapier)
2011-09-19 14:34 Mike Frysinger (vapier)
2011-09-18  9:22 Mike Frysinger (vapier)
2011-08-11  2:17 Mike Frysinger (vapier)
2011-03-18 19:51 Mike Frysinger (vapier)
2011-03-10  4:28 Mike Frysinger (vapier)
2011-03-08  8:36 Ryan Hill (dirtyepic)
2011-03-02  6:37 Mike Frysinger (vapier)
2010-12-09  1:32 Ryan Hill (dirtyepic)
2010-12-01 11:45 Mike Frysinger (vapier)
2010-12-01 11:22 Mike Frysinger (vapier)
2010-04-19 23:02 Mike Frysinger (vapier)
2010-03-07 16:32 Mike Frysinger (vapier)
2010-01-28  0:25 Mike Frysinger (vapier)
2009-12-24 13:16 Mike Frysinger (vapier)
2009-12-19 15:48 Mike Frysinger (vapier)
2009-11-21  5:06 Mike Frysinger (vapier)
2009-09-06 16:58 Mike Frysinger (vapier)
2009-05-23 23:07 Mike Frysinger (vapier)
2009-05-10  1:41 Mark Loeser (halcy0n)
2009-05-09 20:57 Mike Frysinger (vapier)
2009-05-03  0:12 Mark Loeser (halcy0n)
2008-12-09  6:06 Joshua Kinard (kumba)
2007-11-11 19:55 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox