qemu dyngen.c exec-i386.c exec-i386.h exec.h op...
CVSROOT: /cvsroot/qemu
Module name: qemu
Changes by: Fabrice Bellard <[email protected]> 03/06/02 16:38:09
Modified files:
. : dyngen.c exec-i386.c exec-i386.h exec.h op-i386.c
Log message:
Alpha update (Falk Hueffner)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/dyngen.c.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-i386.c.diff?tr1=1.26&tr2=1.27&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-i386.h.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec.h.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/op-i386.c.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
Hello,
I tried to compile qemu on Alpha but cannot get it to work. I use gcc-2.96-112.7.1 (?) on a Red Hat Linux 7.1 distribution with kernel-2.4.3.
I removed the "CFLAGS += -msmall-data -msmall-text" to get the compilation going, but got stuck later again at "./dyngen -o op-i386.h op-i386.o" with "dyngen: ret expected at the end of op_raise_interrupt". See log below.
Sorry if qemu development is in a too early stage to bother you with these kind of questions.
By the way, to testdrive Linux on ARM go here:
http://www.handhelds.org/projects/devcluster.html
Regards,
Jerker Nyberg.
Uppsala, Sweden.
aristocat:/tmp/jerker$ cat ~jerker/work/checkout.sh cvs -d:pserver:[email protected]:/cvsroot/qemu login cvs -z3 -d:pserver:[email protected]:/cvsroot/qemu co qemu aristocat:/tmp/jerker$ ~jerker/work/checkout.sh Logging in to :pserver:[email protected]:2401/cvsroot/qemu CVS password: cvs server: Updating qemu U qemu/COPYING U qemu/COPYING.LIB [...]
aristocat:/tmp/jerker/qemu$ ./configure Install prefix /usr/local Source path /tmp/jerker/qemu C compiler gcc make make host CPU alpha Big Endian no target CPU x86 gprof enabled no Creating config.mak and config.h config.h is unchanged
aristocat:/tmp/jerker/qemu$ make
gcc -Wall -O2 -g -msmall-data -msmall-text -DHAVE_BYTESWAP_H -D_GNU_SOURCE
-c -o elfload.o elfload.c
cc1: Invalid option `small-data'
cc1: Invalid option `small-text'
In file included from qemu.h:7,
from elfload.c:13:
syscall_defs.h: In function `__target_cmsg_nxthdr':
syscall_defs.h:93: warning: cast to pointer from integer of different size
syscall_defs.h:96: warning: cast to pointer from integer of different size
elfload.c: In function `create_elf_tables':
elfload.c:468: warning: cast from pointer to integer of different size
elfload.c:469: warning: cast from pointer to integer of different size
elfload.c:494: warning: cast from pointer to integer of different size
elfload.c:500: warning: cast from pointer to integer of different size
make: *** [elfload.o] Error 1aristocat:/tmp/jerker/qemu$ emacs -nw Makefile
aristocat:/tmp/jerker/qemu$ diff Makefile* 53c53 < ####CFLAGS += -msmall-data -msmall-text ---
Quoted 1 line
CFLAGS += -msmall-data -msmall-text
aristocat:/tmp/jerker/qemu$ make [...] gcc -O2 -Wall -g dyngen.c -o dyngen dyngen.c: In function `gen_code': dyngen.c:490: warning: int format, different type arg (arg 4) dyngen.c:515: warning: int format, different type arg (arg 4) ./dyngen -o op-i386.h op-i386.o dyngen: ret expected at the end of op_raise_interrupt make: *** [op-i386.h] Error 1
aristocat:/tmp/jerker$ gcc -v Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.1)
aristocat:/tmp/jerker$ rpm -q gcc gcc-2.96-112.7.1
aristocat:/tmp/jerker$ uname -r 2.4.3-12
aristocat:/tmp/jerker/qemu$ cat /etc/redhat-release Red Hat Linux release 7.1 (Seawolf)
--jerker
--jerker
Quoted 25 lines · Fabrice Bellard
CVSROOT: /cvsroot/qemu
Module name: qemu
Changes by: Fabrice Bellard <[email protected]> 03/06/02 16:38:09Modified files:
. : dyngen.c exec-i386.c exec-i386.h exec.h op-i386.cLog message:
Alpha update (Falk Hueffner)CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/dyngen.c.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-i386.c.diff?tr1=1.26&tr2=1.27&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-i386.h.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec.h.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/op-i386.c.diff?tr1=1.31&tr2=1.32&r1=text&r2=text_______________________________________________
Qemu-devel mailing list
[email protected]
http://mail.nongnu.org/mailman/listinfo/qemu-devel
Quoted 8 lines · Jerker Nyberg
I tried to compile qemu on Alpha but cannot get it to work. I use gcc-2.96-112.7.1 (?) on a Red Hat Linux 7.1 distribution with kernel-2.4.3.
I removed the "CFLAGS += -msmall-data -msmall-text" to get the compilation going, but got stuck later again at "./dyngen -o
op-i386.hop-i386.o" with "dyngen: ret expected at the end ofop_raise_interrupt".
Hmm, very weird. Must be a quirk of your compiler, maybe it doesn't understand -fno-reorder-blocks -fno-optimize-sibling-calls properly. 2.96 is pretty ancient and not even an official gcc release, so I am not sure anybody is interested in making qemu work with it. I'd advise to upgrade to 3.3.
Also, kernel 2.4.3 doesn not support getting the fault address in a signal handler (unless Red Hat patched that in). I don't know how essential that is for qemu, though.
Finally, qemu does currently not work on Alpha anyway, and only worked for very simple programs previously, maybe Fabrice will have a look at it, I don't have time currently, unfortunately.
Signature · 1 line
Falk