From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2Uaz-0007kR-Ic for qemu-devel@nongnu.org; Thu, 15 Apr 2010 15:19:25 -0400 Received: from [140.186.70.92] (port=58525 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2Ua9-0005RB-81 for qemu-devel@nongnu.org; Thu, 15 Apr 2010 15:19:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2UXc-00074B-Fm for qemu-devel@nongnu.org; Thu, 15 Apr 2010 15:18:21 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:54186) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2UXc-000743-4E for qemu-devel@nongnu.org; Thu, 15 Apr 2010 15:15:56 -0400 Received: by pvd12 with SMTP id 12so1066424pvd.4 for ; Thu, 15 Apr 2010 12:15:54 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <741428003.623901271284473416.JavaMail.root@mail-01.cse.ucsc.edu> <773976174.623921271284601521.JavaMail.root@mail-01.cse.ucsc.edu> Date: Thu, 15 Apr 2010 22:15:54 +0300 Message-ID: Subject: Re: [Qemu-devel] sparc-linux-usermode broken after latest pull From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gabriel Southern Cc: David Munday , qemu-devel@nongnu.org On 4/15/10, Gabriel Southern wrote: > On Thu, Apr 15, 2010 at 9:33 AM, Blue Swirl wrote: > > On 4/15/10, David Munday wrote: > >> Hello, > >> Our lab just did a pull from the qemu repository and now we are unab= le to run a 32-bit sparc target on a 64-bit host. This functionality was wo= rking before we did the pull. The error message we get is:mmap: No such dev= ice or address > >> > >> And then the process dies. We are not sure why this is occuring but = have verified against our earlier qemu copy that the behavior did not exist= before our pull on Sunday. > >> > >> We appreciate any insights anyone might have. > > > > I can't replicate this, sparc-linux-user, sparc32plus-linux-user and > > sparc64-linux-user still work like before on amd64 Linux host. > > > > What is the host and which program? Could you bisect the problem, > > there haven't been that many commits in last few days? > > > > > I have also noticed that sparc-linux-user does not compile on an AMD64 > host (CentOS 5.4): > > cc1: warnings being treated as errors > /mada/users/gsouther/projs/qemu/linux-user/mmap.c: In function =E2=80=98= mmap_find_vma=E2=80=99: > /mada/users/gsouther/projs/qemu/linux-user/mmap.c:367: warning: > comparison is always false due to limited range of data type > make[1]: *** [mmap.o] Error 1 > gmake: *** [subdir-sparc-linux-user] Error 2 > > The compilation warning can be fixed by removing the ul specifier from > -1ul, but I'm wondering if you had noticed the same problem. Does not happen here for some reason. I think removing the ul would be correct since that is what the code above uses, but even better would be to use (abi_ulong)-1 consistently.