diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-09-01 19:22:57 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-09-01 19:22:57 +0000 |
commit | bd631f61cf2d8f2e7f39a681454c3f1fa7cb3f89 (patch) | |
tree | 1e1a0ad2068aa6f459c73f23e72a06bf610125fa /sys-devel | |
parent | update version (diff) | |
download | gentoo-2-bd631f61cf2d8f2e7f39a681454c3f1fa7cb3f89.tar.gz gentoo-2-bd631f61cf2d8f2e7f39a681454c3f1fa7cb3f89.tar.bz2 gentoo-2-bd631f61cf2d8f2e7f39a681454c3f1fa7cb3f89.zip |
update version
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/binutils/ChangeLog | 10 | ||||
-rw-r--r-- | sys-devel/binutils/Manifest | 10 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.14.90.0.2.ebuild | 12 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild | 12 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild | 12 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.14.90.0.6-r2.ebuild | 188 | ||||
-rw-r--r-- | sys-devel/binutils/files/2.14/binutils-2.14.90.0.6-dont-crash-on-null-owner.patch | 23 | ||||
-rw-r--r-- | sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r2 | 1 |
8 files changed, 259 insertions, 9 deletions
diff --git a/sys-devel/binutils/ChangeLog b/sys-devel/binutils/ChangeLog index 0debe8ce44b7..d8dd04994d76 100644 --- a/sys-devel/binutils/ChangeLog +++ b/sys-devel/binutils/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-devel/binutils # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.66 2003/08/26 08:03:21 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.67 2003/09/01 19:22:42 azarah Exp $ + +*binutils-2.14.90.0.6-r2 (01 Sep 2003) + + 01 Sep 2003; Martin Schlemmer <azarah@gentoo.org> + binutils-2.14.90.0.2.ebuild, binutils-2.14.90.0.4.1-r1.ebuild, + binutils-2.14.90.0.5-r1.ebuild, binutils-2.14.90.0.6-r2.ebuild, + files/2.14/binutils-2.14.90.0.6-dont-crash-on-null-owner.patch: + Update, closes bug #27141. *binutils-2.14.90.0.6-r1 (26 Aug 2003) diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest index 69ed12ec296d..13224c62bfef 100644 --- a/sys-devel/binutils/Manifest +++ b/sys-devel/binutils/Manifest @@ -1,15 +1,15 @@ MD5 2adeb2860e4df3cdcb96ef6cd5430ab1 binutils-2.13.90.0.18-r1.ebuild 5376 -MD5 90bb3e6771fe986063bd022123417a30 binutils-2.14.90.0.2.ebuild 5337 -MD5 7fbe7f749ac14945e29b13ae6ef888ed binutils-2.14.90.0.6-r2.ebuild 5618 +MD5 c9a828a339b9ba2d8659e5e1f2c5e0b8 binutils-2.14.90.0.2.ebuild 5337 +MD5 c6f9d36a54ae8ed01820fd6afb59a1e9 binutils-2.14.90.0.6-r2.ebuild 5618 MD5 51bfea19ab266367baf39b3e6224be33 binutils-2.13.90.0.18.ebuild 4580 MD5 521cc69bcb76129aae7d1bfe050b8ee1 binutils-2.14.90.0.6-r1.ebuild 5126 MD5 5ed1c40a92233028ce782a0c337603d9 binutils-2.13.90.0.16-r1.ebuild 4740 MD5 368c85b995c3ab74a32a09e573aba1f9 binutils-2.12.90.0.15.ebuild 3512 -MD5 4489fb7323d7b5600136bb9335c36b7e ChangeLog 13964 +MD5 0e8b04f76d033f7abe84c6e62cc0acb3 ChangeLog 14283 MD5 011c5a33d84072e1af09ccf89cba6d61 binutils-2.11.92.0.7.ebuild 2357 MD5 39c137509f3ea2ab526bb092b10a9c54 binutils-2.11.92.0.12.3-r2.ebuild 3055 -MD5 711edc41922a59362d954348f573fd10 binutils-2.14.90.0.4.1-r1.ebuild 6298 -MD5 2b4119528d712a395bb50d8d0c0619d4 binutils-2.14.90.0.5-r1.ebuild 5793 +MD5 4836093e8728a6e672965159f4c998ef binutils-2.14.90.0.4.1-r1.ebuild 6299 +MD5 d7b8122753b4b58b3a672d538cb88af7 binutils-2.14.90.0.5-r1.ebuild 5792 MD5 3b32997c2ca6b9893839c439e077e82d files/digest-binutils-2.14.90.0.6-r1 75 MD5 3b32997c2ca6b9893839c439e077e82d files/digest-binutils-2.14.90.0.6-r2 75 MD5 c2028bfe76e16c23a00a4ad36a5a36f2 files/digest-binutils-2.14.90.0.4.1-r1 77 diff --git a/sys-devel/binutils/binutils-2.14.90.0.2.ebuild b/sys-devel/binutils/binutils-2.14.90.0.2.ebuild index 561cb8fb1869..75835eaa4c85 100644 --- a/sys-devel/binutils/binutils-2.14.90.0.2.ebuild +++ b/sys-devel/binutils/binutils-2.14.90.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.2.ebuild,v 1.9 2003/07/17 03:57:08 pfeifer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.2.ebuild,v 1.10 2003/09/01 19:22:43 azarah Exp $ IUSE="nls bootstrap build" @@ -53,6 +53,16 @@ src_unpack() { epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.1-sparc-nonpic.patch epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.1-eh-frame-ro.patch + # There is a bug in binutils 2.14.* which causes a segfault in certain + # circumstances when linking. This bug does not exist in binutils 2.11.*. + # + # More details on the bug can be found here: + # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html + # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html + # + # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for + # reporting. + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.patch use x86 &> /dev/null \ && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch diff --git a/sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild b/sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild index 7ebb2d3ad567..d1f4893cf996 100644 --- a/sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild +++ b/sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild,v 1.2 2003/07/12 23:46:42 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild,v 1.3 2003/09/01 19:22:43 azarah Exp $ IUSE="nls bootstrap build" @@ -64,6 +64,16 @@ src_unpack() { epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-s390-file-loc.patch epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch + # There is a bug in binutils 2.14.* which causes a segfault in certain + # circumstances when linking. This bug does not exist in binutils 2.11.*. + # + # More details on the bug can be found here: + # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html + # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html + # + # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for + # reporting. + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.patch use x86 &> /dev/null \ && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch diff --git a/sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild b/sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild index 2e3422c524c0..4a46ce94228b 100644 --- a/sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild +++ b/sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild,v 1.3 2003/08/20 03:45:38 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild,v 1.4 2003/09/01 19:22:43 azarah Exp $ IUSE="nls bootstrap build" @@ -59,6 +59,16 @@ src_unpack() { epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-testsuite.patch epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch + # There is a bug in binutils 2.14.* which causes a segfault in certain + # circumstances when linking. This bug does not exist in binutils 2.11.*. + # + # More details on the bug can be found here: + # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html + # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html + # + # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for + # reporting. + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.patch use x86 &> /dev/null \ && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch diff --git a/sys-devel/binutils/binutils-2.14.90.0.6-r2.ebuild b/sys-devel/binutils/binutils-2.14.90.0.6-r2.ebuild new file mode 100644 index 000000000000..bead02b82ddf --- /dev/null +++ b/sys-devel/binutils/binutils-2.14.90.0.6-r2.ebuild @@ -0,0 +1,188 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.6-r2.ebuild,v 1.1 2003/09/01 19:22:43 azarah Exp $ + +IUSE="nls bootstrap build" + +# NOTE to Maintainer: ChangeLog states that it no longer use perl to build +# the manpages, but seems this is incorrect .... + +inherit eutils libtool flag-o-matic + +# Generate borked binaries. Bug #6730 +filter-flags "-fomit-frame-pointer -fssa" + +S="${WORKDIR}/${P}" +DESCRIPTION="Tools necessary to build programs" +SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2 + mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2" +HOMEPAGE="http://sources.redhat.com/binutils/" + +SLOT="0" +LICENSE="GPL-2 | LGPL-2" +KEYWORDS="~amd64 ~x86 ~ppc ~alpha ~sparc ~mips ~hppa ~arm" + +DEPEND="virtual/glibc + >=sys-apps/portage-2.0.21 + nls? ( sys-devel/gettext ) + || ( dev-lang/perl + ( !build? ( dev-lang/perl ) ) + ( !bootstrap? ( dev-lang/perl ) ) + )" +# This is a hairy one. Basically depend on dev-lang/perl +# if "build" or "bootstrap" not in USE. + + +# filter CFLAGS=".. -O2 .." on arm +if [ "${ARCH}" = "arm" ]; then + CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')" +fi + +src_unpack() { + + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-glibc21.patch + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-sparc-nonpic.patch + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-eh-frame-ro.patch + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-ltconfig-multilib.patch +# Might think of adding the Prescott stuff later on +# epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-pni.patch +# This one cause failures in sash and util-linux-2.12 (bug #27330) +# epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-place-orphan.patch + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-s390-pie.patch + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-ppc64-pie.patch + epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-testsuite.patch + epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch + epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch + # There is a bug in binutils 2.14.* which causes a segfault in certain + # circumstances when linking. This bug does not exist in binutils 2.11.*. + # + # More details on the bug can be found here: + # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html + # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html + # + # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for + # reporting. + epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.patch + + use x86 &> /dev/null \ + && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch + + # Libtool is broken (Redhat). + for x in ${S}/opcodes/Makefile.{am,in} + do + cp ${x} ${x}.orig + gawk ' + { + if ($0 ~ /LIBADD/) + gsub("../bfd/libbfd.la", "-L../bfd/.libs ../bfd/libbfd.la") + + print + }' ${x}.orig > ${x} + rm -rf ${x}.orig + done +} + +src_compile() { + local myconf= + + use nls && \ + myconf="${myconf} --without-included-gettext" || \ + myconf="${myconf} --disable-nls" + + # Fix /usr/lib/libbfd.la + elibtoolize --portage + + ./configure --enable-shared \ + --enable-64-bit-bfd \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --host=${CHOST} \ + ${myconf} || die + + make configure-bfd || die + make headers -C bfd || die + emake tooldir="${ROOT}/usr/bin" \ + all || die + + if [ -z "`use build`" ] + then + if [ -z "`use bootstrap`" ] + then + # Nuke the manpages to recreate them (only use this if we have perl) + find . -name '*.1' -exec rm -f {} \; || : + fi + # Make the info pages (makeinfo included with gcc is used) + make info || die + fi +} + +src_install() { + + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + + insinto /usr/include + doins include/libiberty.h + + # c++filt is included with gcc -- what are these GNU people thinking? + # but not the manpage, so leave that! +# We install it now, as gcc-3.3 do not have it any longer ... +# rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt* + + # By default strip has a symlink going from /usr/${CHOST}/bin/strip to + # /usr/bin/strip we should reverse it: + + rm ${D}/usr/${CHOST}/bin/strip; mv ${D}/usr/bin/strip ${D}/usr/${CHOST}/bin/strip + # The strip symlink gets created in the loop below + + # By default ar, as, ld, nm, ranlib and strip are in two places; create + # symlinks. This will reduce the size of the tbz2 significantly. We also + # move all the stuff in /usr/bin to /usr/${CHOST}/bin and create the + # appropriate symlinks. Things are cleaner that way. + cd ${D}/usr/bin + local x= + for x in * strip + do + if [ ! -e ../${CHOST}/bin/${x} ] + then + mv ${x} ../${CHOST}/bin/${x} + else + rm -f ${x} + fi + ln -s ../${CHOST}/bin/${x} ${x} + done + + cd ${S} + if [ -z "`use build`" ] + then + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install-info || die + + dodoc COPYING* README + docinto bfd + dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO + docinto binutils + dodoc binutils/ChangeLog binutils/NEWS binutils/README + docinto gas + dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING gas/NEWS gas/README* + docinto gprof + dodoc gprof/ChangeLog* gprof/TEST gprof/TODO + docinto ld + dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO + docinto libiberty + dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README + docinto opcodes + dodoc opcodes/ChangeLog* + # Install pre-generated manpages .. currently we do not ... + else + rm -rf ${D}/usr/share/man + fi +} diff --git a/sys-devel/binutils/files/2.14/binutils-2.14.90.0.6-dont-crash-on-null-owner.patch b/sys-devel/binutils/files/2.14/binutils-2.14.90.0.6-dont-crash-on-null-owner.patch new file mode 100644 index 000000000000..9bf07a0b2f3c --- /dev/null +++ b/sys-devel/binutils/files/2.14/binutils-2.14.90.0.6-dont-crash-on-null-owner.patch @@ -0,0 +1,23 @@ +It's a bug in handling of absolute symbols. + + * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner. + +Index: bfd/elflink.h +=================================================================== +RCS file: /cvs/src/src/bfd/elflink.h,v +retrieving revision 1.239 +diff -u -p -r1.239 elflink.h +--- bfd/elflink.h 20 Aug 2003 08:37:19 -0000 1.239 ++++ bfd/elflink.h 23 Aug 2003 04:02:17 -0000 +@@ -1186,7 +1186,8 @@ elf_link_add_object_symbols (bfd *abfd, + bfd *common_bfd; + + symbol_align = ffs (h->root.u.def.value) - 1; +- if ((h->root.u.def.section->owner->flags & DYNAMIC) == 0) ++ if (h->root.u.def.section->owner != NULL ++ && (h->root.u.def.section->owner->flags & DYNAMIC) == 0) + { + normal_align = h->root.u.def.section->alignment_power; + if (normal_align > symbol_align) + + diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r2 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r2 new file mode 100644 index 000000000000..26abe27b6c76 --- /dev/null +++ b/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r2 @@ -0,0 +1 @@ +MD5 71b99dba3045a359dc314dbebedcf502 binutils-2.14.90.0.6.tar.bz2 10399066 |