diff options
author | Li Zhou <li.zhou@windriver.com> | 2016-11-07 11:02:16 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 11:46:39 +0000 |
commit | d6a0ef7e9dfbda3d55ba18f2bcc69f04d502495d (patch) | |
tree | c6da1f6e2faf4614ff26b937fab0be18d0da0f1c /meta/recipes-support/db | |
parent | b4498a6b734661fdfe3ff4e0a9850e796b72005c (diff) | |
download | openembedded-core-d6a0ef7e9dfbda3d55ba18f2bcc69f04d502495d.tar.gz openembedded-core-d6a0ef7e9dfbda3d55ba18f2bcc69f04d502495d.tar.bz2 openembedded-core-d6a0ef7e9dfbda3d55ba18f2bcc69f04d502495d.zip |
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.
(From OE-Core rev: aafbc548ebc66dc0d703526f9a98f784e9c9605b)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-support/db')
-rw-r--r-- | meta/recipes-support/db/db_6.0.35.bb | 9 |
1 files changed, 0 insertions, 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 32afbe82d8..0f69cab761 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" |