Patchwork [07/12] elfutils: new package

login
register
mail settings
Submitter Stefan Fröberg
Date Dec. 19, 2012, 11:43 p.m.
Message ID <1355960630-25089-7-git-send-email-stefan.froberg@petroprogram.com>
Download mbox | patch
Permalink /patch/207564/
State Superseded
Headers show

Comments

Stefan Fröberg - Dec. 19, 2012, 11:43 p.m.
Three of the programs from elfutils package (ranlib, strings & ar)
are using posix_madvice() function.
As of version 0.9.33 uClibc does not (yet) have this functionality.
(but there is an unofficial patch floating around in the Net).
So for now, disable final linking and installing of these three
binaries.

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
---
 .../elfutils/elfutils-disable-some-programs.patch  |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 package/elfutils/elfutils-disable-some-programs.patch

Patch

diff --git a/package/elfutils/elfutils-disable-some-programs.patch b/package/elfutils/elfutils-disable-some-programs.patch
new file mode 100644
index 0000000..db5b275
--- /dev/null
+++ b/package/elfutils/elfutils-disable-some-programs.patch
@@ -0,0 +1,12 @@ 
+diff -Naur elfutils-0.155.org/src/Makefile.am elfutils-0.155/src/Makefile.am
+--- elfutils-0.155.org/src/Makefile.am	2012-12-18 22:35:53.940259428 +0200
++++ elfutils-0.155/src/Makefile.am	2012-12-18 22:36:22.418878909 +0200
+@@ -37,7 +37,7 @@
+ base_cpu = @base_cpu@
+ 
+ bin_PROGRAMS = readelf nm size strip ld elflint findtextrel addr2line \
+-	       elfcmp objdump ranlib strings ar unstrip
++	       elfcmp objdump unstrip
+ 
+ 
+ ld_dsos = libld_elf_i386_pic.a