summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-05-10 12:09:37 +0000
committerMike Frysinger <vapier@gentoo.org>2008-05-10 12:09:37 +0000
commit3820c9c3fcbdc0b110054cc6d724f37c5f4122a2 (patch)
tree4e259a299ff705e64db2be334db7ce024e84e5d4 /dev-libs/elfutils
parentFix building with no optimization #220641. (diff)
downloadgentoo-2-3820c9c3fcbdc0b110054cc6d724f37c5f4122a2.tar.gz
gentoo-2-3820c9c3fcbdc0b110054cc6d724f37c5f4122a2.tar.bz2
gentoo-2-3820c9c3fcbdc0b110054cc6d724f37c5f4122a2.zip
old
(Portage version: 2.2_pre5)
Diffstat (limited to 'dev-libs/elfutils')
-rw-r--r--dev-libs/elfutils/elfutils-0.118.ebuild60
-rw-r--r--dev-libs/elfutils/elfutils-0.123.ebuild56
-rw-r--r--dev-libs/elfutils/elfutils-0.125.ebuild56
-rw-r--r--dev-libs/elfutils/elfutils-0.131.ebuild56
-rw-r--r--dev-libs/elfutils/files/elfutils-0.118-glibc-hacks.patch15
-rw-r--r--dev-libs/elfutils/files/elfutils-0.118-libelf-link.patch36
-rw-r--r--dev-libs/elfutils/files/elfutils-0.118-no-nested-functions.patch59
-rw-r--r--dev-libs/elfutils/files/elfutils-0.120-mkinstalldirs.patch22
8 files changed, 0 insertions, 360 deletions
diff --git a/dev-libs/elfutils/elfutils-0.118.ebuild b/dev-libs/elfutils/elfutils-0.118.ebuild
deleted file mode 100644
index 54008679ec26..000000000000
--- a/dev-libs/elfutils/elfutils-0.118.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.118.ebuild,v 1.19 2007/02/07 03:35:07 vapier Exp $
-
-inherit eutils autotools
-
-PVER="1.0"
-DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
-HOMEPAGE="http://people.redhat.com/drepper/"
-SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz
- http://dev.gentoo.org/~azarah/${PN}/${P}-patches-${PVER}.tar.bz2
- mirror://gentoo/${P}-patches-${PVER}.tar.bz2"
-
-LICENSE="OpenSoftware"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-# This pkg does not actually seem to compile currently in a uClibc
-# environment (xrealloc errs), but we need to ensure that glibc never
-# gets pulled in as a dep since this package does not respect virtual/libc
-DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3.2 )
- sys-devel/gettext
- sys-devel/autoconf
- !dev-libs/libelf"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- EPATCH_SUFFIX="patch" \
- epatch "${WORKDIR}"/patch/
- epatch "${FILESDIR}"/${P}-glibc-hacks.patch #130121
- epatch "${FILESDIR}"/${P}-libelf-link.patch
- epatch "${FILESDIR}"/${P}-PaX-support.patch
- epatch "${FILESDIR}"/${P}-no-nested-functions.patch #116968
-
- eautoreconf
-
- find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
-}
-
-src_compile() {
- econf \
- --program-prefix="eu-" \
- --enable-shared \
- || die "./configure failed"
- emake || die
-}
-
-src_test() {
- env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
- make check || die "test failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
-}
diff --git a/dev-libs/elfutils/elfutils-0.123.ebuild b/dev-libs/elfutils/elfutils-0.123.ebuild
deleted file mode 100644
index 614ff9c15e4f..000000000000
--- a/dev-libs/elfutils/elfutils-0.123.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.123.ebuild,v 1.9 2007/08/25 22:38:06 vapier Exp $
-
-inherit eutils autotools
-
-PVER="1.0"
-DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
-HOMEPAGE="http://people.redhat.com/drepper/"
-SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PVER}.tar.bz2"
-
-LICENSE="OpenSoftware"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-# This pkg does not actually seem to compile currently in a uClibc
-# environment (xrealloc errs), but we need to ensure that glibc never
-# gets pulled in as a dep since this package does not respect virtual/libc
-DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3.2 )
- sys-devel/gettext
- sys-devel/autoconf
- >=sys-devel/binutils-2.15.90.0.1
- >=sys-devel/gcc-3.3.3
- !dev-libs/libelf"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${WORKDIR}"/patch/*.patch
- # this will make more files +x than need be, but who cares really
- chmod a+rx config/*
-
- AT_M4DIR="${S}/m4" eautoreconf
- find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
-}
-
-src_compile() {
- econf \
- --program-prefix="eu-" \
- --enable-shared \
- || die "./configure failed"
- emake || die
-}
-
-src_test() {
- env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
- make check || die "test failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
-}
diff --git a/dev-libs/elfutils/elfutils-0.125.ebuild b/dev-libs/elfutils/elfutils-0.125.ebuild
deleted file mode 100644
index d03523f10e10..000000000000
--- a/dev-libs/elfutils/elfutils-0.125.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.125.ebuild,v 1.9 2007/05/12 02:40:05 kumba Exp $
-
-inherit eutils autotools
-
-PVER="1.0"
-DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
-HOMEPAGE="http://people.redhat.com/drepper/"
-SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PVER}.tar.bz2"
-
-LICENSE="OpenSoftware"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-# This pkg does not actually seem to compile currently in a uClibc
-# environment (xrealloc errs), but we need to ensure that glibc never
-# gets pulled in as a dep since this package does not respect virtual/libc
-DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3.2 )
- sys-devel/gettext
- sys-devel/autoconf
- >=sys-devel/binutils-2.15.90.0.1
- >=sys-devel/gcc-3.3.3
- !dev-libs/libelf"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${WORKDIR}"/patch/*.patch
- # this will make more files +x than need be, but who cares really
- chmod a+rx config/*
-
- AT_M4DIR="${S}/m4" eautoreconf
- find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
-}
-
-src_compile() {
- econf \
- --program-prefix="eu-" \
- --enable-shared \
- || die "./configure failed"
- emake || die
-}
-
-src_test() {
- env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
- make check || die "test failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
-}
diff --git a/dev-libs/elfutils/elfutils-0.131.ebuild b/dev-libs/elfutils/elfutils-0.131.ebuild
deleted file mode 100644
index bd5dc61d60a8..000000000000
--- a/dev-libs/elfutils/elfutils-0.131.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.131.ebuild,v 1.1 2007/12/30 19:00:07 flameeyes Exp $
-
-inherit eutils autotools
-
-PVER="1.0"
-DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
-HOMEPAGE="http://people.redhat.com/drepper/"
-SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PVER}.tar.bz2"
-
-LICENSE="OpenSoftware"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-
-# This pkg does not actually seem to compile currently in a uClibc
-# environment (xrealloc errs), but we need to ensure that glibc never
-# gets pulled in as a dep since this package does not respect virtual/libc
-DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3.2 )
- sys-devel/gettext
- sys-devel/autoconf
- >=sys-devel/binutils-2.15.90.0.1
- >=sys-devel/gcc-3.3.3
- !dev-libs/libelf"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${WORKDIR}"/patch/*.patch
- # this will make more files +x than need be, but who cares really
- chmod a+rx config/*
-
- AT_M4DIR="${S}/m4" eautoreconf
- find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
-}
-
-src_compile() {
- econf \
- --program-prefix="eu-" \
- --enable-shared \
- || die "./configure failed"
- emake || die
-}
-
-src_test() {
- env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
- make check || die "test failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
-}
diff --git a/dev-libs/elfutils/files/elfutils-0.118-glibc-hacks.patch b/dev-libs/elfutils/files/elfutils-0.118-glibc-hacks.patch
deleted file mode 100644
index 829a3f61f5c0..000000000000
--- a/dev-libs/elfutils/files/elfutils-0.118-glibc-hacks.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://bugs.gentoo.org/130121#c8
-
---- src/strings.c
-+++ src/strings.c
-@@ -480,6 +480,10 @@
- if (mem != MAP_FAILED)
- {
- /* We will go through the mapping sequentially. */
-+/* hack for old glibc systems */
-+#ifndef POSIX_MADV_SEQUENTIAL
-+# define POSIX_MADV_SEQUENTIAL 2
-+#endif
- (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL);
- break;
- }
diff --git a/dev-libs/elfutils/files/elfutils-0.118-libelf-link.patch b/dev-libs/elfutils/files/elfutils-0.118-libelf-link.patch
deleted file mode 100644
index 9bb2d6065f59..000000000000
--- a/dev-libs/elfutils/files/elfutils-0.118-libelf-link.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-libdw needs libelf
-
-http://bugs.gentoo.org/115385
-
---- src/Makefile.am
-+++ src/Makefile.am
-@@ -93,7 +93,7 @@
- ld_LDFLAGS = -rdynamic
- elflint_LDADD = $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
- findtextrel_LDADD = $(libdw) $(libelf) $(libmudflap)
--addr2line_LDADD = $(libdw) $(libmudflap)
-+addr2line_LDADD = $(libdw) $(libelf) $(libmudflap)
- elfcmp_LDADD = $(libebl) $(libelf) $(libmudflap) -ldl
- objdump_LDADD = $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
- ranlib_LDADD = $(libelf) $(libeu) $(libmudflap)
---- tests/Makefile.am
-+++ tests/Makefile.am
-@@ -160,12 +160,12 @@
- get_aranges_LDADD = $(libdw) $(libelf) $(libmudflap)
- allfcts_LDADD = $(libdw) $(libelf) $(libmudflap)
- line2addr_no_Wformat = yes
--line2addr_LDADD = $(libdw) $(libmudflap)
--addrscopes_LDADD = $(libdw) $(libmudflap)
--funcscopes_LDADD = $(libdw) $(libmudflap)
--funcretval_LDADD = $(libdw) $(libmudflap)
--allregs_LDADD = $(libdw) $(libmudflap)
--find_prologues_LDADD = $(libdw) $(libmudflap)
-+line2addr_LDADD = $(libdw) $(libelf) $(libmudflap)
-+addrscopes_LDADD = $(libdw) $(libelf) $(libmudflap)
-+funcscopes_LDADD = $(libdw) $(libelf) $(libmudflap)
-+funcretval_LDADD = $(libdw) $(libelf) $(libmudflap)
-+allregs_LDADD = $(libdw) $(libelf) $(libmudflap)
-+find_prologues_LDADD = $(libdw) $(libelf) $(libmudflap)
- #show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf) $(libmudflap)
- asm_tst1_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl
- asm_tst2_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl
diff --git a/dev-libs/elfutils/files/elfutils-0.118-no-nested-functions.patch b/dev-libs/elfutils/files/elfutils-0.118-no-nested-functions.patch
deleted file mode 100644
index f89158b1a1b3..000000000000
--- a/dev-libs/elfutils/files/elfutils-0.118-no-nested-functions.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-Using nested functions causes gcc to generate trampolines which
-requires an executable stack.
-
-http://bugs.gentoo.org/116968
-
---- elfutils/src/nm.c
-+++ elfutils/src/nm.c
-@@ -926,23 +926,22 @@
- /* Maximum size of memory we allocate on the stack. */
- #define MAX_STACK_ALLOC 65536
-
--static void
--show_symbols (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, Elf_Scn *xndxscn,
-- GElf_Shdr *shdr, const char *prefix, const char *fname,
-- const char *fullname)
--{
-+/* hack to avoid nested functions -> executable stack */
-+static Ebl *_show_symbols_ebl;
-+static GElf_Shdr *_show_symbols_shdr;
-+static
- int sort_by_name (const void *p1, const void *p2)
- {
- GElf_SymX *s1 = (GElf_SymX *) p1;
- GElf_SymX *s2 = (GElf_SymX *) p2;
- int result;
-
-- result = strcmp (elf_strptr (ebl->elf, shdr->sh_link, s1->sym.st_name),
-- elf_strptr (ebl->elf, shdr->sh_link, s2->sym.st_name));
-+ result = strcmp (elf_strptr (_show_symbols_ebl->elf, _show_symbols_shdr->sh_link, s1->sym.st_name),
-+ elf_strptr (_show_symbols_ebl->elf, _show_symbols_shdr->sh_link, s2->sym.st_name));
-
- return reverse_sort ? -result : result;
- }
--
-+static
- int sort_by_address (const void *p1, const void *p2)
- {
- GElf_SymX *s1 = (GElf_SymX *) p1;
-@@ -954,6 +953,11 @@
- return reverse_sort ? -result : result;
- }
-
-+static void
-+show_symbols (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, Elf_Scn *xndxscn,
-+ GElf_Shdr *shdr, const char *prefix, const char *fname,
-+ const char *fullname)
-+{
- /* Get the section header string table index. */
- size_t shstrndx;
- if (elf_getshstrndx (ebl->elf, &shstrndx) < 0)
-@@ -1129,6 +1133,8 @@
- nentries = nentries_used;
-
- /* Sort the entries according to the users wishes. */
-+ _show_symbols_ebl = ebl;
-+ _show_symbols_shdr = shdr;
- if (sort == sort_name)
- qsort (sym_mem, nentries, sizeof (GElf_SymX), sort_by_name);
- else if (sort == sort_numeric)
diff --git a/dev-libs/elfutils/files/elfutils-0.120-mkinstalldirs.patch b/dev-libs/elfutils/files/elfutils-0.120-mkinstalldirs.patch
deleted file mode 100644
index 1af1b990182c..000000000000
--- a/dev-libs/elfutils/files/elfutils-0.120-mkinstalldirs.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- libelf-po/Makefile.in.in
-+++ libelf-po/Makefile.in.in
-@@ -28,7 +28,7 @@
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
- MKINSTALLDIRS = @MKINSTALLDIRS@
--mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
-+mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
-
- GMSGFMT = @GMSGFMT@
- MSGFMT = @MSGFMT@
---- po/Makefile.in.in
-+++ po/Makefile.in.in
-@@ -28,7 +28,7 @@
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
- MKINSTALLDIRS = @MKINSTALLDIRS@
--mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
-+mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
-
- GMSGFMT = @GMSGFMT@
- MSGFMT = @MSGFMT@