From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JastY-0000J4-7k for qemu-devel@nongnu.org; Sun, 16 Mar 2008 09:27:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JastW-0000IO-Kx for qemu-devel@nongnu.org; Sun, 16 Mar 2008 09:27:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JastW-0000IL-IW for qemu-devel@nongnu.org; Sun, 16 Mar 2008 09:27:22 -0400 Received: from fg-out-1718.google.com ([72.14.220.154]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JastW-0001G7-7W for qemu-devel@nongnu.org; Sun, 16 Mar 2008 09:27:22 -0400 Received: by fg-out-1718.google.com with SMTP id e12so4264020fga.8 for ; Sun, 16 Mar 2008 06:27:21 -0700 (PDT) Subject: Re: [Qemu-devel] build failure on x86, any suggestions? From: Peter Volkov In-Reply-To: <200803160001.52124.computers57@hotmail.com> References: <1205589710.24804.65.camel@localhost> <1205593982.24804.78.camel@localhost> <200803151150.06813.computers57@hotmail.com> <200803160001.52124.computers57@hotmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8/HKN61GLevFIHTkn24m" Date: Sun, 16 Mar 2008 16:11:41 +0300 Message-Id: <1205673101.24804.145.camel@localhost> Mime-Version: 1.0 Sender: Peter Volkov Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "C.W. Betts" Cc: qemu-devel --=-8/HKN61GLevFIHTkn24m Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =D0=92 =D0=92=D1=81=D0=BA, 16/03/2008 =D0=B2 00:01 -0600, C.W. Betts =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: > Try setting the compiler flags to use -march=3Dpentium-mmx . That is the = max=20 > setting for -march that qemu compiles on. also, make sure that the compi= ler=20 > isn't sending any of the -msse functions. >=20 > I tried to build qemu using -msse -march=3Dpentium3 and it spat out the s= ame=20 > thing. Well with -march=3Dpentium-mmx it works, although it occurs that $ export CFLAGS=3D"-march=3Dpentium-mmx" is not enough. I have to path CFLAGS to make with $ emake OS_CFLAGS=3D"${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=3D387 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 all! --=20 Peter. --=-8/HKN61GLevFIHTkn24m Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=D0=AD=D1=82=D0=B0?= =?UTF-8?Q?_=D1=87=D0=B0=D1=81=D1=82=D1=8C?= =?UTF-8?Q?_=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?Q?_=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B0?= =?UTF-8?Q?_=D1=86=D0=B8=D1=84=D1=80=D0=BE=D0=B2=D0=BE=D0=B9?= =?UTF-8?Q?_=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D1=8C=D1=8E?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBH3RyNz6tlgEWSarMRAuaWAKCZ/nSL6A2Rw6lpruozmyRJUYqcFgCfaiKO N2rjo10anOYTspnaqiHp6nc= =g5T3 -----END PGP SIGNATURE----- --=-8/HKN61GLevFIHTkn24m--