<div dir="ltr">Do you also have a fix for armv5t build issue with this new libunwind version?<div><br></div><div><a href="http://errors.yoctoproject.org/Errors/Details/143838/">http://errors.yoctoproject.org/Errors/Details/143838/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 5, 2017 at 10:53 PM, Ross Burton <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Ross Burton <<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>><br>
---<br>
.../libunwind/libunwind/fix-<wbr>mips.patch | 134 +++++++++++++++++++++<br>
meta/recipes-support/<wbr>libunwind/<a href="http://libunwind_1.2.bb" rel="noreferrer" target="_blank">libunwind_1.2.bb</a> | 1 +<br>
2 files changed, 135 insertions(+)<br>
create mode 100644 meta/recipes-support/<wbr>libunwind/libunwind/fix-mips.<wbr>patch<br>
<br>
diff --git a/meta/recipes-support/<wbr>libunwind/libunwind/fix-mips.<wbr>patch b/meta/recipes-support/<wbr>libunwind/libunwind/fix-mips.<wbr>patch<br>
new file mode 100644<br>
index 0000000..0022237<br>
--- /dev/null<br>
+++ b/meta/recipes-support/<wbr>libunwind/libunwind/fix-mips.<wbr>patch<br>
@@ -0,0 +1,134 @@<br>
+Upstream-Status: Backport<br>
+Signed-off-by: Ross Burton <<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>><br>
+<br>
+From 5f354cb7b9c84dae006f0ebd8ad7a7<wbr>8d7e2aad0c Mon Sep 17 00:00:00 2001<br>
+From: Dave Watson <<a href="mailto:davejwatson@fb.com">davejwatson@fb.com</a>><br>
+Date: Wed, 25 Jan 2017 16:18:02 -0800<br>
+Subject: [PATCH] mips/tilegx: Add missing unwind_i.h header file<br>
+<br>
+reported-by: John Knight <<a href="mailto:John.Knight@belkin.com">John.Knight@belkin.com</a>><br>
+---<br>
+ src/Makefile.am | 4 ++--<br>
+ 1 file changed, 2 insertions(+), 2 deletions(-)<br>
+<br>
+diff --git a/src/Makefile.am b/src/Makefile.am<br>
+index 5d874755..7de4c425 100644<br>
+--- a/src/Makefile.am<br>
++++ b/src/Makefile.am<br>
+@@ -280,7 +280,7 @@ libunwind_hppa_la_SOURCES_hppa = $(libunwind_la_SOURCES_hppa_<wbr>common) \<br>
+ hppa/Gresume.c hppa/Gstep.c<br>
+<br>
+ # The list of files that go info libunwind and libunwind-mips:<br>
+-noinst_HEADERS += mips/init.h mips/offsets.h<br>
++noinst_HEADERS += mips/init.h mips/offsets.h mips/unwind_i.h<br>
+ libunwind_la_SOURCES_mips_<wbr>common = $(libunwind_la_SOURCES_common) \<br>
+ mips/is_fpreg.c mips/regname.c<br>
+<br>
+@@ -299,7 +299,7 @@ libunwind_mips_la_SOURCES_mips = $(libunwind_la_SOURCES_mips_<wbr>common) \<br>
+ mips/Gis_signal_frame.c mips/Gregs.c mips/Gresume.c mips/Gstep.c<br>
+<br>
+ # The list of files that go info libunwind and libunwind-tilegx:<br>
+-noinst_HEADERS += tilegx/init.h tilegx/offsets.h<br>
++noinst_HEADERS += tilegx/init.h tilegx/offsets.h tilegx/unwind_i.h<br>
+ libunwind_la_SOURCES_tilegx_<wbr>common = $(libunwind_la_SOURCES_common) \<br>
+ tilegx/is_fpreg.c tilegx/regname.c<br>
+<br>
+diff --git a/src/mips/unwind_i.h b/src/mips/unwind_i.h<br>
+new file mode 100644<br>
+index 0000000..3382dcf<br>
+--- /dev/null<br>
++++ b/src/mips/unwind_i.h<br>
+@@ -0,0 +1,43 @@<br>
++/* libunwind - a platform-independent unwind library<br>
++ Copyright (C) 2008 CodeSourcery<br>
++<br>
++This file is part of libunwind.<br>
++<br>
++Permission is hereby granted, free of charge, to any person obtaining<br>
++a copy of this software and associated documentation files (the<br>
++"Software"), to deal in the Software without restriction, including<br>
++without limitation the rights to use, copy, modify, merge, publish,<br>
++distribute, sublicense, and/or sell copies of the Software, and to<br>
++permit persons to whom the Software is furnished to do so, subject to<br>
++the following conditions:<br>
++<br>
++The above copyright notice and this permission notice shall be<br>
++included in all copies or substantial portions of the Software.<br>
++<br>
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,<br>
++EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF<br>
++MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND<br>
++NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE<br>
++LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION<br>
++OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION<br>
++WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */<br>
++<br>
++#ifndef unwind_i_h<br>
++#define unwind_i_h<br>
++<br>
++#include <stdint.h><br>
++<br>
++#include <libunwind-mips.h><br>
++<br>
++#include "libunwind_i.h"<br>
++<br>
++#define mips_lock UNW_OBJ(lock)<br>
++#define mips_local_resume UNW_OBJ(local_resume)<br>
++#define mips_local_addr_space_init UNW_OBJ(local_addr_space_init)<br>
++<br>
++extern int mips_local_resume (unw_addr_space_t as, unw_cursor_t *cursor,<br>
++ void *arg);<br>
++<br>
++extern void mips_local_addr_space_init (void);<br>
++<br>
++#endif /* unwind_i_h */<br>
+diff --git a/src/tilegx/unwind_i.h b/src/tilegx/unwind_i.h<br>
+new file mode 100644<br>
+index 0000000..aac7be3<br>
+--- /dev/null<br>
++++ b/src/tilegx/unwind_i.h<br>
+@@ -0,0 +1,44 @@<br>
++/* libunwind - a platform-independent unwind library<br>
++ Copyright (C) 2008 CodeSourcery<br>
++<br>
++This file is part of libunwind.<br>
++<br>
++Permission is hereby granted, free of charge, to any person obtaining<br>
++a copy of this software and associated documentation files (the<br>
++"Software"), to deal in the Software without restriction, including<br>
++without limitation the rights to use, copy, modify, merge, publish,<br>
++distribute, sublicense, and/or sell copies of the Software, and to<br>
++permit persons to whom the Software is furnished to do so, subject to<br>
++the following conditions:<br>
++<br>
++The above copyright notice and this permission notice shall be<br>
++included in all copies or substantial portions of the Software.<br>
++<br>
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,<br>
++EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF<br>
++MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND<br>
++NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE<br>
++LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION<br>
++OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION<br>
++WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */<br>
++<br>
++#ifndef unwind_i_h<br>
++#define unwind_i_h<br>
++<br>
++#include <memory.h><br>
++#include <stdint.h><br>
++<br>
++#include <libunwind-tilegx.h><br>
++<br>
++#include "libunwind_i.h"<br>
++<br>
++#define tilegx_local_resume UNW_OBJ(local_resume)<br>
++#define tilegx_local_addr_space_init UNW_OBJ(local_addr_space_init)<br>
++<br>
++extern int tilegx_local_resume (unw_addr_space_t as,<br>
++ unw_cursor_t *cursor,<br>
++ void *arg);<br>
++<br>
++extern void tilegx_local_addr_space_init (void);<br>
++<br>
++#endif /* unwind_i_h */<br>
diff --git a/meta/recipes-support/<wbr>libunwind/<a href="http://libunwind_1.2.bb" rel="noreferrer" target="_blank">libunwind_1.2.bb</a> b/meta/recipes-support/<wbr>libunwind/<a href="http://libunwind_1.2.bb" rel="noreferrer" target="_blank">libunwind_1.2.bb</a><br>
index a398d33..e598e40 100644<br>
--- a/meta/recipes-support/<wbr>libunwind/<a href="http://libunwind_1.2.bb" rel="noreferrer" target="_blank">libunwind_1.2.bb</a><br>
+++ b/meta/recipes-support/<wbr>libunwind/<a href="http://libunwind_1.2.bb" rel="noreferrer" target="_blank">libunwind_1.2.bb</a><br>
@@ -11,6 +11,7 @@ SRC_URI = "<a href="http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV" rel="noreferrer" target="_blank">http://download.savannah.<wbr>nongnu.org/releases/libunwind/<wbr>libunwind-${PV</a><br>
file://0001-add-knobs-to-<wbr>disable-enable-tests.patch \<br>
file://0001-ppc32-Consider-<wbr>ucontext-mismatches-between-<wbr>glibc-and.patch \<br>
file://libunwind-1.1-x32.patch \<br>
+ file://fix-mips.patch \<br>
"<br>
<br>
SRC_URI_append_libc-musl = " file://musl-header-conflict.<wbr>patch"<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.8.1<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>