From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mail.openembedded.org (Postfix) with ESMTP id 45DE371B53 for ; Fri, 4 Nov 2016 16:08:02 +0000 (UTC) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP; 04 Nov 2016 09:08:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,444,1473145200"; d="scan'208";a="27591464" Received: from lsandov1-mobl2.zpn.intel.com (HELO [10.219.5.38]) ([10.219.5.38]) by orsmga005.jf.intel.com with ESMTP; 04 Nov 2016 09:08:03 -0700 To: Li Zhou , openembedded-core@lists.openembedded.org References: <20161104090719.30795-1-li.zhou@windriver.com> From: Leonardo Sandoval Message-ID: <2dd71023-841c-f106-0b3e-8defa6bf2156@linux.intel.com> Date: Fri, 4 Nov 2016 10:12:51 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161104090719.30795-1-li.zhou@windriver.com> Subject: Re: [PATCH] db: disable the ARM assembler mutex code X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2016 16:08:05 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit This patch cannot be applied because the modified file is not track by oe-core. On 11/04/2016 03:07 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 > --- > meta/recipes-support/db/db_6.0.30.bb | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/meta/recipes-support/db/db_6.0.30.bb b/meta/recipes-support/db/db_6.0.30.bb > index 50a469b..2d08b5e 100644 > --- a/meta/recipes-support/db/db_6.0.30.bb > +++ b/meta/recipes-support/db/db_6.0.30.bb > @@ -74,15 +74,6 @@ DB6_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disabl > > EXTRA_OECONF = "${DB6_CONFIG} --enable-shared --enable-cxx --with-sysroot" > > -# 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_class-target = "LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" > > # Cancel the site stuff - it's set for db3 and destroys the