qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "André Braga" <meianoite@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Compiling QEMU on gcc 4.0 20040924
Date: Mon, 11 Oct 2004 21:46:02 -0300	[thread overview]
Message-ID: <2ad73a041011174644920456@mail.gmail.com> (raw)

Just wanted to let you know that as of the 20040924 snapshot of GCC
4.0, QEMU won't compile. It fails when compiling op.c:

gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -mpreferred-stack-
boundary=2 -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibl
ing-calls -I. -Iqemu-snapshot-2004-10-10_23/target-i386
-Iqemu-snapshot-2004-10-10_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -Iqemu-snapshot-2004-10-10_23/slirp -c -
o op.o qemu-snapshot-2004-10-10_23/target-i386/op.c

qemu-snapshot-2004-10-10_23/target-i386/ops_template_mem.h: In
function 'op_cmpxchgb_kernel_T0_T1_EAX_cc':
qemu-snapshot-2004-10-10_23/softmmu_header.h:183: error: can't find a
register in class 'GENERAL_REGS' while reloading 'asm'

So I guess the -fno-gcse hack won't help us anymore.


Cheers,
A.


-- 
"A year spent in artificial intelligence is enough to make one believe in God"
Alan J. Perlis

                 reply	other threads:[~2004-10-12  0:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2ad73a041011174644920456@mail.gmail.com \
    --to=meianoite@gmail.com \
    --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).