<div dir="ltr">This is merged into my staging branch so should be in master soon.<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 November 2016 at 06:13, Zhou, Li <span dir="ltr"><<a href="mailto:li.zhou@windriver.com" target="_blank">li.zhou@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ping<div><div class="h5"><br>
<br>
<br>
On 11/07/2016 11:02 AM, Li Zhou wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The swpb in macro MUTEX_SET will cause "undefined instruction" error<br>
on the new arm arches which don't support this assembly instruction<br>
any more. If use ldrex/strex to replace swpb, the old arm arches don't<br>
support them. So to avoid this issue, just disable the ARM assembler<br>
mutex code, and use the default pthreads mutex.<br>
<br>
Signed-off-by: Li Zhou <<a href="mailto:li.zhou@windriver.com" target="_blank">li.zhou@windriver.com</a>><br>
---<br>
 meta/recipes-support/db/<a href="http://db_6.0.35.bb" rel="noreferrer" target="_blank">db_6.0<wbr>.35.bb</a> | 9 ---------<br>
 1 file changed, 9 deletions(-)<br>
<br>
diff --git a/meta/recipes-support/db/<a href="http://db_6.0.35.bb" rel="noreferrer" target="_blank">db_6<wbr>.0.35.bb</a> b/meta/recipes-support/db/<a href="http://db_6.0.35.bb" rel="noreferrer" target="_blank">db_6<wbr>.0.35.bb</a><br>
index f60edf9..b1bec0e 100644<br>
--- a/meta/recipes-support/db/<a href="http://db_6.0.35.bb" rel="noreferrer" target="_blank">db_6<wbr>.0.35.bb</a><br>
+++ b/meta/recipes-support/db/<a href="http://db_6.0.35.bb" rel="noreferrer" target="_blank">db_6<wbr>.0.35.bb</a><br>
@@ -77,15 +77,6 @@ do_configure() {<br>
    oe_runconf<br>
 }<br>
 -# Override the MUTEX setting here, the POSIX library is<br>
-# the default - "POSIX/pthreads/library".<br>
-# Don't ignore the nice SWP instruction on the ARM:<br>
-# These enable the ARM assembler mutex code<br>
-ARM_MUTEX = "--with-mutex=ARM/gcc-assembly<wbr>"<br>
-MUTEX = ""<br>
-MUTEX_arm = "${ARM_MUTEX}"<br>
-MUTEX_armeb = "${ARM_MUTEX}"<br>
-EXTRA_OECONF += "${MUTEX}"<br>
 EXTRA_OEMAKE_append_class-targ<wbr>et = " LIBTOOL=${STAGING_BINDIR_CROSS<wbr>}/${HOST_SYS}-libtool"<br>
 EXTRA_OEMAKE += "STRIP=true docdir=${docdir}/db/"<br>
 <br>
</blockquote>
<br>
-- <br></div></div>
Best Regards!<span class="HOEnZb"><font color="#888888"><br>
Zhou Li<br>
Phone number: 86-10-84778511</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openem<wbr>bedded.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>
</div></div></blockquote></div><br></div>