diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-07-06 08:24:29 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-07-06 08:24:29 +0000 |
commit | 0a7e4307eb65678f8f5ebddfbb5b17f7892ae6f3 (patch) | |
tree | 4790e56f7a19bea0a6a9eeb0efc78a273e205f10 /sys-devel | |
parent | Removed the old digests (diff) | |
download | historical-0a7e4307eb65678f8f5ebddfbb5b17f7892ae6f3.tar.gz historical-0a7e4307eb65678f8f5ebddfbb5b17f7892ae6f3.tar.bz2 historical-0a7e4307eb65678f8f5ebddfbb5b17f7892ae6f3.zip |
new broken version :/
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/binutils/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.12.90.0.14.ebuild | 149 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.12.90.0.7.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/binutils/files/binutils-2.12.90.0.14-glibc21.patch | 67 | ||||
-rw-r--r-- | sys-devel/binutils/files/binutils-2.12.90.0.14-x86_64-libpic.patch | 32 | ||||
-rw-r--r-- | sys-devel/binutils/files/digest-binutils-2.12.90.0.14 | 1 |
6 files changed, 257 insertions, 3 deletions
diff --git a/sys-devel/binutils/ChangeLog b/sys-devel/binutils/ChangeLog index ae3c01bfa859..14e63f525d44 100644 --- a/sys-devel/binutils/ChangeLog +++ b/sys-devel/binutils/ChangeLog @@ -1,11 +1,15 @@ # ChangeLog for sys-devel/binutils # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.7 2002/06/10 19:43:01 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.8 2002/07/06 08:24:29 azarah Exp $ + +*binutils-2.12.90.0.14 (6 Jul 2002) + + 6 Jul 2002; Martin Schlemmer <azarah@gentoo.org> : + Version update. *binutils-2.12.90.0.9 (10 Jun 2002) 9 Jun 2002; Martin Schlemmer <azarah@gentoo.org> : - Version update. *binutils-2.12.90.0.7 (25 Apr 2002) diff --git a/sys-devel/binutils/binutils-2.12.90.0.14.ebuild b/sys-devel/binutils/binutils-2.12.90.0.14.ebuild new file mode 100644 index 000000000000..50c69dca1465 --- /dev/null +++ b/sys-devel/binutils/binutils-2.12.90.0.14.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: System Team <system@gentoo.org> +# Author: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.12.90.0.14.ebuild,v 1.1 2002/07/06 08:24:29 azarah Exp $ + +# NOTE to Maintainer: ChangeLog states that it no longer use perl to build +# the manpages, but seems this is incorrect .... + +inherit libtool + +S=${WORKDIR}/${P} +DESCRIPTION="Tools necessary to build programs" +SRC_URI="ftp://ftp.kernel.org/pub/linux/devel/binutils/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2|LGPL-2" + +DEPEND="virtual/glibc + nls? ( sys-devel/gettext )" + +[ -z "`use build`" ] && [ -z "`use bootstrap`" ] && \ + DEPEND="${DEPEND} sys-devel/perl" + + +pkg_setup() { + + eerror + eerror "Please do not use this release of binutils, as it" + eerror "is very buggy (cannot even compile glibc)!!!" + eerror + die +} + +src_unpack() { + + unpack ${A} + + cd ${S} + # Some Mandrake/Suse patches to fixup build (fails with glibc among other + # thigns). + patch -p1 <${FILESDIR}/${P}-glibc21.patch || die + patch -p1 <${FILESDIR}/${P}-x86_64-libpic.patch || die +} + +src_compile() { + + local myconf="" + use nls && \ + myconf="${myconf} --without-included-gettext" || \ + myconf="${myconf} --disable-nls" + + # DO NOT LIBTOOLIZE, AS BINUTILS COME WITH ITS OWN VERSION + # OF LIBTOOL!!!!!!! + elibtoolize --portage + + ./configure --enable-shared \ + --enable-64-bit-bfd \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --host=${CHOST} \ + ${myconf} || die + + if [ "`use static`" ] + then + make headers -C bfd CFLAGS=-O || die + emake -e LDFLAGS=-all-static || die + else + make headers -C bfd CFLAGS=-O || die + emake || die + fi + + 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 {} ';' + 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! + rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt* + + #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 + + #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 + else + rm -rf ${D}/usr/share/man + fi +} + diff --git a/sys-devel/binutils/binutils-2.12.90.0.7.ebuild b/sys-devel/binutils/binutils-2.12.90.0.7.ebuild index 1910e7ff5884..d23a869e6eed 100644 --- a/sys-devel/binutils/binutils-2.12.90.0.7.ebuild +++ b/sys-devel/binutils/binutils-2.12.90.0.7.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: System Team <system@gentoo.org> # Author: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.12.90.0.7.ebuild,v 1.2 2002/06/29 23:17:13 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.12.90.0.7.ebuild,v 1.3 2002/07/06 08:24:29 azarah Exp $ # NOTE to Maintainer: ChangeLog states that it no longer use perl to build # the manpages, but seems this is incorrect .... @@ -14,6 +14,7 @@ DESCRIPTION="Tools necessary to build programs" SRC_URI="ftp://ftp.kernel.org/pub/linux/devel/binutils/${P}.tar.bz2" SLOT="0" +LICENSE="GPL-2|LGPL-2" DEPEND="virtual/glibc nls? ( sys-devel/gettext )" diff --git a/sys-devel/binutils/files/binutils-2.12.90.0.14-glibc21.patch b/sys-devel/binutils/files/binutils-2.12.90.0.14-glibc21.patch new file mode 100644 index 000000000000..bc78c7d9ce6b --- /dev/null +++ b/sys-devel/binutils/files/binutils-2.12.90.0.14-glibc21.patch @@ -0,0 +1,67 @@ +--- binutils-2.12.90.0.14/ld/emulparams/elf_i386_glibc21.sh.glibc21 2002-06-28 18:31:13.000000000 +0200 ++++ binutils-2.12.90.0.14/ld/emulparams/elf_i386_glibc21.sh 2002-06-28 18:31:13.000000000 +0200 +@@ -0,0 +1,11 @@ ++SCRIPT_NAME=elf ++OUTPUT_FORMAT="elf32-i386" ++TEXT_START_ADDR=0x08048000 ++MAXPAGESIZE=0x1000 ++NONPAGED_TEXT_START_ADDR=0x08048000 ++ARCH=i386 ++MACHINE= ++NOP=0x9090 ++TEMPLATE_NAME=elf32 ++GENERATE_SHLIB_SCRIPT=yes ++LIB_PATH=/usr/i386-glibc21-linux/lib:/usr/local/lib +--- binutils-2.12.90.0.14/ld/configure.tgt.glibc21 2002-06-19 06:41:59.000000000 +0200 ++++ binutils-2.12.90.0.14/ld/configure.tgt 2002-06-28 18:31:13.000000000 +0200 +@@ -142,7 +142,8 @@ i[3456]86-*-linux*aout*) targ_emul=i386l + ;; + i[3456]86-*-linux*oldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; + i[3456]86-*-linux-gnu*) targ_emul=elf_i386 +- targ_extra_emuls=i386linux ++ targ_extra_emuls="i386linux elf_i386_glibc21" ++ targ_extra_libpath=elf_i386_glibc21 + tdir_i386linux=${targ_alias}aout + ;; + x86_64-*-linux-gnu*) targ_emul=elf_x86_64 +--- binutils-2.12.90.0.14/ld/Makefile.am.glibc21 2002-06-26 18:24:56.000000000 +0200 ++++ binutils-2.12.90.0.14/ld/Makefile.am 2002-06-28 18:31:13.000000000 +0200 +@@ -178,6 +178,7 @@ ALL_EMULATIONS = \ + eelf_i386_be.o \ + eelf_i386_chaos.o \ + eelf_i386_fbsd.o \ ++ eelf_i386_glibc21.o \ + eelf_i386_ldso.o \ + eelf_s390.o \ + egld960.o \ +@@ -698,6 +699,9 @@ eelf_i386_be.c: $(srcdir)/emulparams/elf + eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS} + ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)" ++eelf_i386_glibc21.c: $(srcdir)/emulparams/elf_i386_glibc21.sh \ ++ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ++ ${GENSCRIPTS} elf_i386_glibc21 "$(tdir_elf_i386_glibc21)" + eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \ + $(srcdir)/emulparams/elf_i386.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} +--- binutils-2.12.90.0.14/ld/Makefile.in.glibc21 2002-06-26 18:24:56.000000000 +0200 ++++ binutils-2.12.90.0.14/ld/Makefile.in 2002-06-28 18:33:24.000000000 +0200 +@@ -186,7 +186,7 @@ INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) + BFDLIB = ../bfd/libbfd.la + LIBIBERTY = ../libiberty/libiberty.a + +-ALL_EMULATIONS = ea29k.o eaixppc.o eaixrs6.o ealpha.o earcelf.o earm_epoc_pe.o earmaoutb.o earmaoutl.o earmcoff.o earmelf.o earmelf_fbsd.o earmelf_linux.o earmelf_nbsd.o earmelfb_nbsd.o earmelf_oabi.o earmnbsd.o earmpe.o eavr1200.o eavr23xx.o eavr4433.o eavr44x4.o eavr85xx.o eavrmega103.o eavrmega161.o eavrmega603.o eavr1.o eavr2.o eavr3.o eavr4.o eavr5.o ecoff_sparc.o ecrisaout.o ecriself.o ecrislinux.o ed10velf.o ed30v_e.o ed30v_o.o ed30velf.o edelta68.o eelf32_dlx.o eebmon29k.o eelf32_i960.o eelf32_i860.o eelf32_sparc.o eelf32b4300.o eelf32bmip.o eelf32bmipn32.o eelf32btsmip.o eelf32ltsmip.o eelf32ebmip.o eelf32elmip.o eelf32fr30.o eelf32frv.o eelf32i370.o eelf32l4300.o eelf32lmip.o eelf32lppc.o eelf32lppcsim.o eelf32mcore.o eelf32openrisc.o eelf32ppc.o eelf32ppc_fbsd.o eelf32ppclinux.o eelf32ppcsim.o eelf32ppcwindiss.o eelf32vax.o eelf32xstormy16.o eelf_i386.o eelf_i386_be.o eelf_i386_chaos.o eelf_i386_fbsd.o eelf_i386_ldso.o eelf_s390.o egld960.o egld960coff.o eh8300.o eh8300h.o eh8300s.o eh8300elf.o eh8300helf.o eh8300self.o eh8500.o eh8500b.o eh8500c.o eh8500m.o eh8500s.o ehp300bsd.o ehp3hpux.o ehppaelf.o ehppalinux.o ehppanbsd.o ei386aout.o ei386beos.o ei386bsd.o ei386coff.o ei386go32.o ei386linux.o ei386lynx.o ei386mach.o ei386moss.o ei386msdos.o ei386nbsd.o ei386nto.o ei386nw.o ei386pe.o ei386pe_posix.o elnk960.o em68hc11elf.o em68hc11elfb.o em68hc12elf.o em68hc12elfb.o em68k4knbsd.o em68kaout.o em68kaux.o em68kcoff.o em68kelf.o em68kelfnbsd.o em68klinux.o em68klynx.o em68knbsd.o em68kpsos.o em88kbcs.o emcorepe.o emipsbig.o emipsbsd.o emipsidt.o emipsidtl.o emipslit.o emipslnews.o emipspe.o enews.o ens32knbsd.o eor32.o eor32elf.o epc532macha.o epdp11.o epjelf.o epjlelf.o eppcmacos.o eppcnw.o eppcpe.o eriscix.o esa29200.o esh.o eshelf32.o eshlelf32.o eshelf32_nbsd.o eshlelf32_nbsd.o eshelf.o eshelf_linux.o eshlelf_linux.o eshelf_nbsd.o eshlelf_nbsd.o eshl.o eshlelf.o eshpe.o esparcaout.o esparclinux.o esparclynx.o esparcnbsd.o est2000.o esun3.o esun4.o etic30aout.o etic30coff.o etic54xcoff.o etic80coff.o evanilla.o evax.o evaxnbsd.o evsta.o ew65.o ez8001.o ez8002.o ++ALL_EMULATIONS = ea29k.o eaixppc.o eaixrs6.o ealpha.o earcelf.o earm_epoc_pe.o earmaoutb.o earmaoutl.o earmcoff.o earmelf.o earmelf_fbsd.o earmelf_linux.o earmelf_nbsd.o earmelfb_nbsd.o earmelf_oabi.o earmnbsd.o earmpe.o eavr1200.o eavr23xx.o eavr4433.o eavr44x4.o eavr85xx.o eavrmega103.o eavrmega161.o eavrmega603.o eavr1.o eavr2.o eavr3.o eavr4.o eavr5.o ecoff_sparc.o ecrisaout.o ecriself.o ecrislinux.o ed10velf.o ed30v_e.o ed30v_o.o ed30velf.o edelta68.o eelf32_dlx.o eebmon29k.o eelf32_i960.o eelf32_i860.o eelf32_sparc.o eelf32b4300.o eelf32bmip.o eelf32bmipn32.o eelf32btsmip.o eelf32ltsmip.o eelf32ebmip.o eelf32elmip.o eelf32fr30.o eelf32frv.o eelf32i370.o eelf32l4300.o eelf32lmip.o eelf32lppc.o eelf32lppcsim.o eelf32mcore.o eelf32openrisc.o eelf32ppc.o eelf32ppc_fbsd.o eelf32ppclinux.o eelf32ppcsim.o eelf32ppcwindiss.o eelf32vax.o eelf32xstormy16.o eelf_i386.o eelf_i386_be.o eelf_i386_chaos.o eelf_i386_glibc21.o eelf_i386_fbsd.o eelf_i386_ldso.o eelf_s390.o egld960.o egld960coff.o eh8300.o eh8300h.o eh8300s.o eh8300elf.o eh8300helf.o eh8300self.o eh8500.o eh8500b.o eh8500c.o eh8500m.o eh8500s.o ehp300bsd.o ehp3hpux.o ehppaelf.o ehppalinux.o ehppanbsd.o ei386aout.o ei386beos.o ei386bsd.o ei386coff.o ei386go32.o ei386linux.o ei386lynx.o ei386mach.o ei386moss.o ei386msdos.o ei386nbsd.o ei386nto.o ei386nw.o ei386pe.o ei386pe_posix.o elnk960.o em68hc11elf.o em68hc11elfb.o em68hc12elf.o em68hc12elfb.o em68k4knbsd.o em68kaout.o em68kaux.o em68kcoff.o em68kelf.o em68kelfnbsd.o em68klinux.o em68klynx.o em68knbsd.o em68kpsos.o em88kbcs.o emcorepe.o emipsbig.o emipsbsd.o emipsidt.o emipsidtl.o emipslit.o emipslnews.o emipspe.o enews.o ens32knbsd.o eor32.o eor32elf.o epc532macha.o epdp11.o epjelf.o epjlelf.o eppcmacos.o eppcnw.o eppcpe.o eriscix.o esa29200.o esh.o eshelf32.o eshlelf32.o eshelf32_nbsd.o eshlelf32_nbsd.o eshelf.o eshelf_linux.o eshlelf_linux.o eshelf_nbsd.o eshlelf_nbsd.o eshl.o eshlelf.o eshpe.o esparcaout.o esparclinux.o esparclynx.o esparcnbsd.o est2000.o esun3.o esun4.o etic30aout.o etic30coff.o etic54xcoff.o etic80coff.o evanilla.o evax.o evaxnbsd.o evsta.o ew65.o ez8001.o ez8002.o + + + ALL_64_EMULATIONS = eelf64_aix.o eelf64_ia64.o eelf64_ia64_fbsd.o eshelf64.o eshlelf64.o eshelf64_nbsd.o eshlelf64_nbsd.o eelf_x86_64.o eelf_x86_64_fbsd.o eelf64_s390.o eelf64_sparc.o eelf64_sparc_fbsd.o eelf64alpha.o eelf64alpha_fbsd.o eelf64alpha_nbsd.o eelf64bmip.o eelf64btsmip.o eelf64ltsmip.o eelf64hppa.o eelf64mmix.o emmo.o eelf64ppc.o eelf64lppc.o ehppa64linux.o +@@ -1182,6 +1182,9 @@ eelf_i386_be.c: $(srcdir)/emulparams/elf + eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS} + ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)" ++eelf_i386_glibc21.c: $(srcdir)/emulparams/elf_i386_glibc21.sh \ ++ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ++ ${GENSCRIPTS} elf_i386_glibc21 "$(tdir_elf_i386_glibc21)" + eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \ + $(srcdir)/emulparams/elf_i386.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} diff --git a/sys-devel/binutils/files/binutils-2.12.90.0.14-x86_64-libpic.patch b/sys-devel/binutils/files/binutils-2.12.90.0.14-x86_64-libpic.patch new file mode 100644 index 000000000000..28937de97dca --- /dev/null +++ b/sys-devel/binutils/files/binutils-2.12.90.0.14-x86_64-libpic.patch @@ -0,0 +1,32 @@ +--- binutils-2.12.90.0.14/bfd/elf64-x86-64.c.x86_64-libpic 2002-06-28 18:37:41.000000000 +0200 ++++ binutils-2.12.90.0.14/bfd/elf64-x86-64.c 2002-06-28 18:45:29.000000000 +0200 +@@ -660,11 +660,28 @@ elf64_x86_64_check_relocs (abfd, info, s + case R_X86_64_8: + case R_X86_64_16: + case R_X86_64_32: +- case R_X86_64_64: + case R_X86_64_32S: ++ /* Let's help debug shared library creation. These relocs ++ cannot be used in shared libs. Don't error our for ++ sections we don't care about, such as debug sections or ++ non-constant sections. */ ++ if (info->shared ++ && (sec->flags & SEC_ALLOC) != 0 ++ && (sec->flags & SEC_READONLY) != 0) ++ { ++ (*_bfd_error_handler) ++ (_("%s: relocation %s can not be used when making a shared object; recompile with -fPIC"), ++ bfd_archive_filename (abfd), ++ x86_64_elf_howto_table[ELF64_R_TYPE (rel->r_info)].name); ++ bfd_set_error (bfd_error_bad_value); ++ return false; ++ } ++ /* Fall through. */ ++ + case R_X86_64_PC8: + case R_X86_64_PC16: + case R_X86_64_PC32: ++ case R_X86_64_64: + if (h != NULL && !info->shared) + { + /* If this reloc is in a read-only section, we might diff --git a/sys-devel/binutils/files/digest-binutils-2.12.90.0.14 b/sys-devel/binutils/files/digest-binutils-2.12.90.0.14 new file mode 100644 index 000000000000..a4b0e72f5064 --- /dev/null +++ b/sys-devel/binutils/files/digest-binutils-2.12.90.0.14 @@ -0,0 +1 @@ +MD5 0e057e6b4580a588362bc9c1b47b461a binutils-2.12.90.0.14.tar.bz2 8929369 |