From: Jerker Nyberg <jerker@update.uu.se>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu dyngen.c exec-i386.c exec-i386.h exec.h op...
Date: Wed, 4 Jun 2003 12:38:15 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.21.0306041142590.1531-100000@Tempo.Update.UU.SE> (raw)
In-Reply-To: <E19Mw4H-0007N4-E7@subversions.gnu.org>
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:anoncvs@subversions.gnu.org:/cvsroot/qemu login
cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/qemu co qemu
aristocat:/tmp/jerker$ ~jerker/work/checkout.sh
Logging in to :pserver:anoncvs@subversions.gnu.org: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 1
aristocat:/tmp/jerker/qemu$ emacs -nw Makefile
aristocat:/tmp/jerker/qemu$ diff Makefile*
53c53
< ####CFLAGS += -msmall-data -msmall-text
---
> 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
On Mon, 2 Jun 2003, Fabrice Bellard wrote:
> CVSROOT: /cvsroot/qemu
> Module name: qemu
> Changes by: Fabrice Bellard <fabrice.bellard@free.fr> 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
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
>
next prev parent reply other threads:[~2003-06-04 11:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 20:38 [Qemu-devel] qemu dyngen.c exec-i386.c exec-i386.h exec.h op Fabrice Bellard
2003-06-04 10:38 ` Jerker Nyberg [this message]
2003-06-04 12:12 ` Falk Hueffner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.21.0306041142590.1531-100000@Tempo.Update.UU.SE \
--to=jerker@update.uu.se \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).