mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-05 21:56:29 +00:00
Fix build with latest glibc trunk 2.38+ while here drop upstreamed patches Add new dependency on zlib Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 lines
634 B
Diff
17 lines
634 B
Diff
map the mcontext_t structure for musl
|
|
|
|
Upstream-Status: Inappropriate [need to consider Android]
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
--- a/src/client/linux/minidump_writer/linux_core_dumper.cc
|
|
+++ b/src/client/linux/minidump_writer/linux_core_dumper.cc
|
|
@@ -214,7 +214,7 @@ bool LinuxCoreDumper::EnumerateThreads()
|
|
info.tgid = status->pr_pgrp;
|
|
info.ppid = status->pr_ppid;
|
|
#if defined(__mips__)
|
|
-# if defined(__ANDROID__)
|
|
+# if defined(__ANDROID__) || !defined(__GLIBC__)
|
|
for (int i = EF_R0; i <= EF_R31; i++)
|
|
info.mcontext.gregs[i - EF_R0] = status->pr_reg[i];
|
|
# else // __ANDROID__
|