mirror of
https://git.yoctoproject.org/poky
synced 2026-02-24 02:19:39 +01:00
elfutils: fix compilations issue with the gcc 4.7
(From OE-Core rev: 291483a20933cc70a49c2acadc9891bea2158564) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
860d8fdd27
commit
2c81d95059
25
meta/recipes-devtools/elfutils/elfutils/mempcpy.patch
Normal file
25
meta/recipes-devtools/elfutils/elfutils/mempcpy.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
Upstream-Status: Backport
|
||||
|
||||
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 *
|
||||
Reference in New Issue
Block a user