From: "Ismail Dönmez" <ismail@pardus.org.tr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/5] Enable building of op.o on gcc4
Date: Thu, 17 Jan 2008 12:46:01 +0200 [thread overview]
Message-ID: <200801171246.01670.ismail@pardus.org.tr> (raw)
In-Reply-To: <478EF89C.60501@csgraf.de>
Thursday 17 January 2008 08:41:32 tarihinde Alexander Graf şunları yazmıştı:
> Compiling qemu on gcc4 has been a long standing issue. During the time
> several approaches came up, each more or less intrusive.
>
> I have collected the ones I found to be the cleanest, fixed PowerPC host
> support with Michael Matz and am sending everything as a patchset now,
> hoping that someone comments on these patches and they will finally get
> included.
>
> Please test these patches on all platforms you have available.
Thanks but ppc target doesn't work here with gcc 4.3 trunk , i686-linux :
gcc -mtune=native -march=native -O2 -pipe -fomit-frame-pointer -Wstrict-overflow -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I..
-I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-ppc -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1 -MMD -MP -DNEED_CPU_H -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/linux-user
-I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/linux-user/ppc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/fpu-DHAS_AUDIO
-DHAS_AUDIO_CHOICE -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/slirp -c -o
cpu-exec.o /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/cpu-exec.c
../dyngen -g -o gen-op.h op.o
dyngen: ret or jmp expected at the end of op_divw
This is for ppc-linux-user .
Also arm-linux-user is broken :
gcc -mtune=native -march=native -O2 -pipe -fomit-frame-pointer -Wstrict-overflow -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-mips -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1 -MMD -MP -DNEED_CPU_H
-I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/linux-user -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/linux-user/mips -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/fpu -DHAS_AUDIO -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/slirp -c -o
helper.o /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-mips/helper.c
/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c: In
function 'op_iwmmxt_movq_wRn_M0':
/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c:176: error:
unable to find a register to spill in class 'GENERAL_REGS'
/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c:176: error: this
is the insn:
(insn:HI 8 17 18
2 /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c:175 (set
(mem/s/j:DI (plus:SI (plus:SI (mult:SI (reg/f:SI 59)
(const_int 8 [0x8]))
(reg/f:SI 58 [ env.2032 ]))
(const_int 4 [0x4])) [0 <variable>.iwmmxt.regs S8 A32])
(reg:DI 60 [ <variable>.iwmmxt.val ])) 63 {*movdi_2}
(expr_list:REG_DEAD (reg:DI 60 [ <variable>.iwmmxt.val ])
(expr_list:REG_DEAD (reg/f:SI 59)
(expr_list:REG_DEAD (reg/f:SI 58 [ env.2032 ])
(nil)))))
/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c:176: confused by
earlier errors, bailing out
Thanks,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again.
next prev parent reply other threads:[~2008-01-17 10:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 6:41 [Qemu-devel] [PATCH 0/5] Enable building of op.o on gcc4 Alexander Graf
2008-01-17 10:46 ` Ismail Dönmez [this message]
2008-01-17 17:00 ` Johannes Schindelin
2008-01-17 22:34 ` Ismail Dönmez
2008-01-17 22:59 ` Johannes Schindelin
2008-01-17 23:05 ` Ismail Dönmez
2008-01-17 23:52 ` Johannes Schindelin
2008-01-17 23:28 ` Andreas Färber
2008-01-18 6:14 ` Alexander Graf
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=200801171246.01670.ismail@pardus.org.tr \
--to=ismail@pardus.org.tr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.