[OE-core] [PATCH version2] db: disable the ARM assembler mutex code
Burton, Ross
ross.burton at intel.com
Tue Nov 8 09:27:29 UTC 2016
This is merged into my staging branch so should be in master soon.
Ross
On 8 November 2016 at 06:13, Zhou, Li <li.zhou at windriver.com> wrote:
> ping
>
>
>
> On 11/07/2016 11:02 AM, Li Zhou wrote:
>
>> 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>
>> ---
>> 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/"
>>
>>
>
> --
> Best Regards!
> Zhou Li
> Phone number: 86-10-84778511
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161108/002f9b21/attachment-0002.html>
More information about the Openembedded-core
mailing list