diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-12-26 20:01:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-29 18:14:51 +0000 |
commit | a28c70455931e0b7e3449a76c3b9132bd572478b (patch) | |
tree | 2146d94d9e9d4f13dfa3c26b29ee5bf53b1f2386 /meta/recipes-devtools/elfutils/elfutils | |
parent | a290429c8415042cb8c2f4258e76a3cc6815a172 (diff) | |
download | openembedded-core-a28c70455931e0b7e3449a76c3b9132bd572478b.tar.gz |
elfutils: Fix build with uclibc/musl
Remove mempcpy patch its already in uclibc now
refresh libargp patch to match latest elfutils
Add ALLOW_EMPTY for musl
core-image-cmdline-full asks for elfutils package to be added to package
it has all eu-* tools but we dont build them on musl. nevertheless lets
satisfy the dependency so image can build for musl
Build libdw,libasm,libebl along with libelf
enhance the musl portability patch to compile every other library
except the eu-* tools
Fix build on aarch64/musl issues
Header inclusion ends up with duplicate definitions of iovec struct
since uclibc defines the same in usersapce, we have been depending upong
including the kernel header on aarch64, using sys/uio.h is the right
approach
Fix x86 build warning seen on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils/mempcpy.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils/mempcpy.patch b/meta/recipes-devtools/elfutils/elfutils/mempcpy.patch deleted file mode 100644 index 24e31fa5b3..0000000000 --- a/meta/recipes-devtools/elfutils/elfutils/mempcpy.patch +++ /dev/null @@ -1,24 +0,0 @@ - -uclibc does not export __mempcpy like glibc so we alias it here. -This patch may make sense for upstream but elfutils uses more -glibc specific features like obstack_printf which are missing in -uclibc they need to be fixed along to make it work all the way - -Upstream-Status: Inappropriate[Elfutils uses more glibc specific features] - -Signed-off-by: Khem Raj <raj.khem@gmail.com> - -Index: elfutils-0.148/libelf/elf_begin.c -=================================================================== ---- elfutils-0.148.orig/libelf/elf_begin.c -+++ elfutils-0.148/libelf/elf_begin.c -@@ -68,6 +68,9 @@ - #include "libelfP.h" - #include "common.h" - -+#ifdef __UCLIBC__ -+#define __mempcpy mempcpy -+#endif - - /* Create descriptor for archive in memory. */ - static inline Elf * |