From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id AC95D7709E for ; Fri, 30 Oct 2015 07:13:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t9U7DcYB010675; Fri, 30 Oct 2015 07:13:38 GMT Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7OmAOZF1HI0Q; Fri, 30 Oct 2015 07:13:38 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t9U7DMWa010671 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 30 Oct 2015 07:13:33 GMT Message-ID: <1446189202.4521.45.camel@linuxfoundation.org> From: Richard Purdie To: Randy Witt Date: Fri, 30 Oct 2015 07:13:22 +0000 In-Reply-To: References: <1446151418-16034-1-git-send-email-juro.bystricky@intel.com> <1446151418-16034-2-git-send-email-juro.bystricky@intel.com> <1446157200.4521.40.camel@linuxfoundation.org> X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Cc: jurobystricky@hotmail.com, openembedded-core@lists.openembedded.org Subject: Re: [PATCH 1/1] glibc: Allow 64 bit atomics for x86 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, 30 Oct 2015 07:13:48 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2015-10-29 at 15:29 -0700, Randy Witt wrote: > > > On Thu, Oct 29, 2015 at 3:20 PM, Richard Purdie > wrote: > On Thu, 2015-10-29 at 13:43 -0700, Juro Bystricky wrote: > > This patch fixes [YOCTO#8140]. > > > > The fix consist of allowing 64bit atomic ops for x86. > > This should be safe for i586 and newer CPUs. > > It also makes the synchronization more efficient. > > > > Signed-off-by: Juro Bystricky > > --- > > .../glibc/glibc/use_64bit_atomics.patch | 24 > ++++++++++++++++++++++ > > meta/recipes-core/glibc/glibc_2.22.bb | 1 + > > 2 files changed, 25 insertions(+) > > create mode 100644 > meta/recipes-core/glibc/glibc/use_64bit_atomics.patch > > Since the patch is only changing nativesdk 32 bit x86 and we > know that > the 32 bit SDK is pretty broken at the moment I've merged this > on the > basis that it can't really make it any worse. There is > pressure to move > to the next rc candidate for 2.0. > > I would like to get to the bottom of the real issue here and I > still > suspect 32 bit x86 images are likely broken too :/. > > > With Juro's change I built core-image-minimal using a 32-bit > buildtools on a 32-bit host(vm) and that appears to boot fine using > runqemu. Right, but can we run bitbake in a qemux86 image (on target) or does it show the same issue as bug 8140? If it shows the same issue, futexes are likely bust on 32 bit x86 targets too. Cheers, Richard