From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDdRS-0000qx-Tg for qemu-devel@nongnu.org; Mon, 17 Sep 2012 11:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDdRN-0005DT-4o for qemu-devel@nongnu.org; Mon, 17 Sep 2012 11:40:58 -0400 Received: from mail-qa0-f45.google.com ([209.85.216.45]:65397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDdRN-0005DG-1M for qemu-devel@nongnu.org; Mon, 17 Sep 2012 11:40:53 -0400 Received: by qadc10 with SMTP id c10so1613984qad.4 for ; Mon, 17 Sep 2012 08:40:52 -0700 (PDT) Sender: Richard Henderson Message-ID: <50574481.8000600@twiddle.net> Date: Mon, 17 Sep 2012 08:40:49 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1347895732-22212-1-git-send-email-rth@twiddle.net> <1347895732-22212-2-git-send-email-rth@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 01/13] linux-user: Use memcpy in get_user/put_user. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: blauwirbel@gmail.com, qemu-devel@nongnu.org On 09/17/2012 08:35 AM, Peter Maydell wrote: > On 17 September 2012 16:28, Richard Henderson wrote: >> Not sure whether this is a gcc bug, but on sparc we wind up >> trying to use std to an unaligned address. The patch does >> work around the problem. > > Hmm. I guess this is guest and host having differing alignment > requirements for 64 bit types? What case does it fail on? I'll have to re-check. I'm pretty sure this was sparc32 hosting arm-linux-user. r~