From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19ahjq-0006zI-7V for qemu-devel@nongnu.org; Thu, 10 Jul 2003 16:09:58 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19ahjK-0006nK-7E for qemu-devel@nongnu.org; Thu, 10 Jul 2003 16:09:57 -0400 Received: from smtp4.wanadoo.fr ([193.252.22.26] helo=mwinf0503.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ahjJ-0006n8-TC for qemu-devel@nongnu.org; Thu, 10 Jul 2003 16:09:26 -0400 Received: from free.fr (AMontpellier-205-1-21-20.w81-49.abo.wanadoo.fr [81.49.237.20]) by mwinf0503.wanadoo.fr (SMTP Server) with ESMTP id 00D9D680009F for ; Thu, 10 Jul 2003 22:09:24 +0200 (CEST) Message-ID: <3F0DC822.9010302@free.fr> Date: Thu, 10 Jul 2003 22:10:10 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] ARM References: <20030709183518.GA24671@nevyn.them.org> <3F0C71CD.30808@free.fr> <20030710161718.GA29632@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org which version of x86 gcc do you use ? It seems to be a problem with x86 coge generator. Did you take my latest commit in exec.h ? The 'return' I added in it does not seem to be generated in the x86 code. Fabrice. Daniel Jacobowitz wrote: > On Wed, Jul 09, 2003 at 09:49:33PM +0200, Fabrice Bellard wrote: > >>Daniel Jacobowitz wrote: >> >>>I was just playing with the ARM support, it's great to see it taking >>>shape :) Fabrice, are you still investigating it, or does it work for >>>you? My local ARM setup crashes a few hundred instructions into ld.so; >>>a loop runs for too long and hits the top of the stack. >>> >> >>With my latest commits it is working: QEMU can launch dynamically linked >>'ls' and 'bash' processes. I will provide soon a binary archive so that >>people can at least try it if they have problems. > > > Still doesn't work here. I've attached the debugging output if you're > curious; I won't have time to debug it properly until next week. It > looks like something wrong with the conditional jump. > > >>Warning: no FPU emulation is done. I just added the necessary code to >>skip the few FPU instructions present in the libc. If anyone has ideas >>about FPU on ARM, I am interested. Unfortunately the Linux distributions >>seem to use the kernel based NetWinder FPU emulator. > > > Yes; here we use userspace software floating point generally instead. > Hardware which actually has the FPA unit is rare (is there any > supported?) > > >>I tested the ARM support with an ARM glibc-2.2.5 from a debian 3.0 >>installed on a StrongARM board. > > > My failing test is from a later version of glibc and GCC.