From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KazU0-00011I-76 for qemu-devel@nongnu.org; Wed, 03 Sep 2008 17:01:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KazTy-00010y-3T for qemu-devel@nongnu.org; Wed, 03 Sep 2008 17:01:43 -0400 Received: from [199.232.76.173] (port=49559 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KazTx-00010p-SO for qemu-devel@nongnu.org; Wed, 03 Sep 2008 17:01:41 -0400 Received: from csl.cornell.edu ([128.84.224.10]:3444 helo=vlsi.csl.cornell.edu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KazTx-0001WB-GB for qemu-devel@nongnu.org; Wed, 03 Sep 2008 17:01:41 -0400 Received: from stanley.csl.cornell.edu (stanley.csl.cornell.edu [128.84.224.15]) by vlsi.csl.cornell.edu (8.13.4/8.13.4) with ESMTP id m83L1aEe017191 for ; Wed, 3 Sep 2008 17:01:41 -0400 (EDT) Date: Wed, 3 Sep 2008 17:01:36 -0400 (EDT) From: Vince Weaver Message-ID: <20080903165652.P92245@stanley.csl.cornell.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [Qemu-devel] linux-user 32/64 bit mremap() problem Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello This has been discuessed a year ago http://www.nabble.com/linux-user-mmap()-for-32-bit-guest-on-64-bit-host-td12934745.html http://osdir.com/ml/linux.ports.x86-64.general/2007-10/msg00007.html but hasn't really been resolved. The linux-user mremap() syscall implementation will return a 64-bit value when running on a 64-bit machine, even when the architecture being simulated is only 32-bits. Has any progress been made on this issue? I might try implementing the workaround the kernel people suggested. This actually prevents one of the perlbmk spec2k benchmarks from running with sparc32plus emulation on an x86_64 machine. Vince