qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] build failure on x86, any suggestions?


From: Blue Swirl
Subject: Re: [Qemu-devel] build failure on x86, any suggestions?
Date: Sun, 16 Mar 2008 18:20:30 +0200

On 3/16/08, Peter Volkov <address@hidden> 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: sse_test.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]