From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHxqE-0003H2-3M for qemu-devel@nongnu.org; Fri, 06 Sep 2013 11:21:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHxq8-0007Xx-5D for qemu-devel@nongnu.org; Fri, 06 Sep 2013 11:20:58 -0400 Received: from mail-vc0-x232.google.com ([2607:f8b0:400c:c03::232]:36812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHxq7-0007Xa-Qy for qemu-devel@nongnu.org; Fri, 06 Sep 2013 11:20:52 -0400 Received: by mail-vc0-f178.google.com with SMTP id ha12so2353763vcb.9 for ; Fri, 06 Sep 2013 08:20:50 -0700 (PDT) Sender: Richard Henderson Message-ID: <5229F2CE.6080509@twiddle.net> Date: Fri, 06 Sep 2013 08:20:46 -0700 From: Richard Henderson MIME-Version: 1.0 References: <5228EB17.4050209@weilnetz.de> <52295FD4.2030207@weilnetz.de> <5229F0DE.7040308@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug] qemu-sparc64 broken List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Stefan Weil , qemu-devel On 09/06/2013 08:15 AM, Peter Maydell wrote: > On 6 September 2013 16:12, Richard Henderson wrote: >> On 09/05/2013 09:53 PM, Stefan Weil wrote: >>> After lots of SIGSEGV, the program indeed finishes successfully, >>> so my report was wrong - SIGSEGV is not a fatal signal for sparc64. >>> That's interesting - thank you for this information. >> >> It's not just sparc64. >> >> That's changed page detection, for determining when to invalidate >> translation blocks. For self-modifying code, and more. > > Yeah, but in practice sparc64 does this a huge number of > times on simple binaries in a way that other linux-user > guests I looked at just don't. Presumably it's just that > gcc has for some reason put writable data next to code > for that target. It's the (old?) PLT scheme for sparc -- it modifies code on linking. If you use LD_BIND_NOW=1 it can help speed things up when debugging. r~