qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch] Arm arch5 support


From: Lennert Buytenhek
Subject: Re: [Qemu-devel] [patch] Arm arch5 support
Date: Sun, 1 Aug 2004 23:38:44 +0200
User-agent: Mutt/1.4.1i

On Sun, Aug 01, 2004 at 07:32:58PM +0100, Paul Brook wrote:

> > phi% armv5te-redhat-linux-gcc -Wall -o hi hi.c -static
> > phi% /tmp/qemu/bin/qemu-arm ./hi
> > qemu: uncaught target signal 11 (Segmentation fault) - exiting
> > phi%
> >
> > The binaries generated with this toolchain run fine on a PXA25x, and
> > with -mbig-endian they run fine on an Intel IXP2400.
> 
> Code for "t" variants (maybe all armv5 targets) probably uses the bx
> thumb interworking instruction, which isn't implemented yet.

OK.. I get the same thing with armv5e-redhat-linux (just built a few
new toolchains):

phi% cat hi.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main()
{
        write(1, "hi!\n", 4);
        return 0;
}
phi% 
/opt/crosstool/armv5e-redhat-linux/gcc-3.3.3-glibc-2.3.2/bin/armv5e-redhat-linux-gcc
 -o hi hi.c -static
phi% /tmp/qemu/bin/qemu-arm ./hi
qemu: uncaught target signal 11 (Segmentation fault) - exiting
phi%

And with armv4e-redhat-linux:

phi% 
/opt/crosstool/armv4e-redhat-linux/gcc-3.3.3-glibc-2.3.2/bin/armv4e-redhat-linux-gcc
 -Wall -o hi hi.c -static
phi% /tmp/qemu/bin/qemu-arm ./hi
qemu: uncaught target signal 11 (Segmentation fault) - exiting
phi%

Your armv4 binaries do work, so do you maybe have any suggestions
for a target triple I should use?


thanks,
Lennert




reply via email to

[Prev in Thread] Current Thread [Next in Thread]