mirror of
https://git.yoctoproject.org/poky
synced 2026-02-23 01:49:40 +01:00
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 (From OE-Core rev: a28c70455931e0b7e3449a76c3b9132bd572478b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
48 lines
1.4 KiB
Diff
48 lines
1.4 KiB
Diff
Fix build on aarch64/musl
|
|
|
|
Errors
|
|
|
|
invalid operands to binary & (have 'long double' and 'unsigned int')
|
|
|
|
error: redefinition
|
|
of 'struct iovec'
|
|
struct iovec { void *iov_base; size_t iov_len; };
|
|
^
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Index: elfutils-0.163/backends/aarch64_initreg.c
|
|
===================================================================
|
|
--- elfutils-0.163.orig/backends/aarch64_initreg.c
|
|
+++ elfutils-0.163/backends/aarch64_initreg.c
|
|
@@ -33,7 +33,7 @@
|
|
#include "system.h"
|
|
#include <assert.h>
|
|
#ifdef __aarch64__
|
|
-# include <linux/uio.h>
|
|
+# include <sys/uio.h>
|
|
# include <sys/user.h>
|
|
# include <sys/ptrace.h>
|
|
/* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
|
|
@@ -82,7 +82,7 @@ aarch64_set_initial_registers_tid (pid_t
|
|
|
|
Dwarf_Word dwarf_fregs[32];
|
|
for (int r = 0; r < 32; r++)
|
|
- dwarf_fregs[r] = fregs.vregs[r] & 0xFFFFFFFF;
|
|
+ dwarf_fregs[r] = (unsigned int)fregs.vregs[r] & 0xFFFFFFFF;
|
|
|
|
if (! setfunc (64, 32, dwarf_fregs, arg))
|
|
return false;
|
|
Index: elfutils-0.163/backends/arm_initreg.c
|
|
===================================================================
|
|
--- elfutils-0.163.orig/backends/arm_initreg.c
|
|
+++ elfutils-0.163/backends/arm_initreg.c
|
|
@@ -37,7 +37,7 @@
|
|
#endif
|
|
|
|
#ifdef __aarch64__
|
|
-# include <linux/uio.h>
|
|
+# include <sys/uio.h>
|
|
# include <sys/user.h>
|
|
# include <sys/ptrace.h>
|
|
/* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
|