qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] build failure on x86, any suggestions?
Date: Sun, 16 Mar 2008 18:20:30 +0200	[thread overview]
Message-ID: <f43fc5580803160920g44ba0400h1be8861f2363242a@mail.gmail.com> (raw)
In-Reply-To: <1205673101.24804.145.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

On 3/16/08, Peter Volkov <pva@gentoo.org> wrote:
> В Вск, 16/03/2008 в 00:01 -0600, C.W. Betts пишет:
>
> > Try setting the compiler flags to use -march=pentium-mmx . That is the max
>  > setting for -march that qemu compiles on.  also, make sure that the compiler
>  > isn't sending any of the -msse functions.
>  >
>  > I tried to build qemu using -msse -march=pentium3 and it spat out the same
>  > thing.
>
>
> Well with -march=pentium-mmx it works, although it occurs that
>  $ export CFLAGS="-march=pentium-mmx"
>  is not enough. I have to path CFLAGS to make with
>  $ emake OS_CFLAGS="${CFLAGS}"
>  CFLAGS are prefixed at the beginning of the compilation command ands
>  seems that -g -O2 which will go later redefine something which in turn
>  cause the build to fail and OS_CFLAGS passes -march after -g -O2.
>
>  Also strange thing is that if I try to disable all sse thing in compiler
>  appending -mno-sse{,2,3} -mfpmath=387 qemu does not builds. Either I
>  miss something or sse is not the only problem.
>
>  Two patches suggested here by Alexander and Blue did no difference here.

Please try this patch and if it fails, report also the compiler error message.

I'm trying to find the range of instructions that need to be converted
to TCG helpers.

[-- Attachment #2: sse_test.diff --]
[-- Type: plain/text, Size: 1556 bytes --]

  reply	other threads:[~2008-03-16 16:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-15 14:01 [Qemu-devel] build failure on x86, any suggestions? Peter Volkov
2008-03-15 14:20 ` Paul Brook
2008-03-15 15:13   ` Peter Volkov
2008-03-15 19:45     ` Alexander Graf
     [not found]     ` <200803151150.06813.computers57@hotmail.com>
     [not found]       ` <200803160001.52124.computers57@hotmail.com>
2008-03-16  6:01         ` C.W. Betts
2008-03-16 13:11         ` Peter Volkov
2008-03-16 16:20           ` Blue Swirl [this message]
     [not found]             ` <200803191436.55827.computers57@hotmail.com>
2008-03-19 20:36               ` C.W. Betts
2008-03-15 18:25   ` Stefan Weil
2008-03-15 20:35 ` Blue Swirl

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=f43fc5580803160920g44ba0400h1be8861f2363242a@mail.gmail.com \
    --to=blauwirbel@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).