bc92e491f1
Download the portability patch into the buildroot tree. This isn't nice but there really isn't another good solution for it. The elfutils-portability.patch is version-dependent hence we already have an older version for an older version of elfutils in the mirrors. This causes hash check failures when fetching from sources.buildroot.net But we can't remove (hence replace) the old version with the new one since this would causee issues with older versions of buildroot/elfutils for the same scenario. Fixes: http://autobuild.buildroot.net/results/26a/26afb92dc14fd0f85c0800dd4e034ea86af19fe2/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
733 B
Diff
27 lines
733 B
Diff
Provide a compatibility alias __memcpy
|
|
|
|
For some reason, libelf uses the internal glibc alias __memcpy, which
|
|
doesn't exist in uClibc. Add a manual alias so that the build can
|
|
proceed with uClibc.
|
|
|
|
Based on the former patch by Thomas Petazzoni.
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
|
|
|
diff -rup a/libelf/libelf.h b/libelf/libelf.h
|
|
--- a/libelf/libelf.h 2014-08-27 10:25:17.000000000 +0100
|
|
+++ b/libelf/libelf.h 2014-11-07 15:13:08.743508221 +0000
|
|
@@ -34,6 +34,11 @@
|
|
/* Get the ELF types. */
|
|
#include <elf.h>
|
|
|
|
+#ifndef _LIBC
|
|
+#ifndef __mempcpy
|
|
+#define __mempcpy mempcpy
|
|
+#endif
|
|
+#endif
|
|
|
|
/* Known translation types. */
|
|
typedef enum
|