[oe-commits] [openembedded-core] 31/50: db: disable the ARM assembler mutex code

git at git.openembedded.org git at git.openembedded.org
Tue Nov 15 15:21:03 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit aafbc548ebc66dc0d703526f9a98f784e9c9605b
Author: Li Zhou <li.zhou at windriver.com>
AuthorDate: Mon Nov 7 11:02:16 2016 +0800

    db: disable the ARM assembler mutex code
    
    The swpb in macro MUTEX_SET will cause "undefined instruction" error
    on the new arm arches which don't support this assembly instruction
    any more. If use ldrex/strex to replace swpb, the old arm arches don't
    support them. So to avoid this issue, just disable the ARM assembler
    mutex code, and use the default pthreads mutex.
    
    Signed-off-by: Li Zhou <li.zhou at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/db/db_6.0.35.bb | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/meta/recipes-support/db/db_6.0.35.bb b/meta/recipes-support/db/db_6.0.35.bb
index f60edf9..b1bec0e 100644
--- a/meta/recipes-support/db/db_6.0.35.bb
+++ b/meta/recipes-support/db/db_6.0.35.bb
@@ -77,15 +77,6 @@ do_configure() {
 	oe_runconf
 }
 
-# Override the MUTEX setting here, the POSIX library is
-# the default - "POSIX/pthreads/library".
-# Don't ignore the nice SWP instruction on the ARM:
-# These enable the ARM assembler mutex code
-ARM_MUTEX = "--with-mutex=ARM/gcc-assembly"
-MUTEX = ""
-MUTEX_arm = "${ARM_MUTEX}"
-MUTEX_armeb = "${ARM_MUTEX}"
-EXTRA_OECONF += "${MUTEX}"
 EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"
 EXTRA_OEMAKE += "STRIP=true docdir=${docdir}/db/"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list