[Top][All Lists]

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

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

From: Peter Volkov
Subject: Re: [Qemu-devel] build failure on x86, any suggestions?
Date: Sun, 16 Mar 2008 16:11:41 +0300

В Вск, 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.

But in any case we have at least one working solution here and it's
better than nothing. Your suggestions here were very helpful! Thank you


Attachment: signature.asc
Description: Эта часть сообщения подписана цифровой подписью

reply via email to

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