From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ElUuv-0000TG-1P for qemu-devel@nongnu.org; Sun, 11 Dec 2005 12:23:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ElUus-0000Sv-T3 for qemu-devel@nongnu.org; Sun, 11 Dec 2005 12:23:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElUus-0000Sq-5n for qemu-devel@nongnu.org; Sun, 11 Dec 2005 12:23:18 -0500 Received: from [195.129.94.187] (helo=srv94-187.ip-tech.ch) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ElUwR-0001E0-Sd for qemu-devel@nongnu.org; Sun, 11 Dec 2005 12:24:56 -0500 Mime-Version: 1.0 (Apple Message framework v748) In-Reply-To: <57692F3D-3487-48EB-AA0C-43124745EF3E@stud.tu-ilmenau.de> References: <0BE5F4F1-1337-43E6-AD37-ED47FCE3BDCB@stud.tu-ilmenau.de> <0BF839A5-2D32-44FD-9E19-B3EEFA3721E7@kberg.ch> <8B6EFA45-DC47-47FC-91B0-9B5CB41808D2@kberg.ch> <57692F3D-3487-48EB-AA0C-43124745EF3E@stud.tu-ilmenau.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2891E47F-E788-4FFD-8FCE-2F9C78C41CDE@kberg.ch> Content-Transfer-Encoding: 7bit From: Mike Kronenberg Subject: Re: [Qemu-devel] Mac OS X issues Date: Sun, 11 Dec 2005 18:22:43 +0100 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Your the man! gcc4 and -fno-tree-ch did the trick for me, too. -fno-tree-ch was mentioned earlyer on this list, to compile with gcc4 on OS X. But since gcc4 is still not in the default toolchain, I did not even try :(. Seams that we have a problem with gcc3.3 and not gcc4 for once :) The error behavement is similar on your machine. I also got bus error (Sometimes it did not reach the menu, too. I started to hit the 3 very early, so I could go right thru it... Early crashes always happened for me on MS-DOS 6.22 and DOS 7. Tested it with DOS 6.22 and DOS 7 (win95). No Problems so far. I hope Fabrice stumbles upon this. Maybe we should make the Patch a little more selective with "ifeq ($ (CONFIG_DARWIN),yes)" and post it. Don't know whether this affects other Platforms, too... Thanks for Your work so far! Mike On 11.12.2005, at 15:56, Joachim Henke wrote: > I just did some tests on the freedos image from your web-site and > my first > impression is that these crashes are something compiler related. > When I > build qemu with > > ./configure --prefix=/usr/local --cc=gcc-3.3 --target-list=i386- > softmmu --enable-cocoa > > and start your image with > > qemu -hda harddisk_1.img -soundhw sb16 > > it starts up and immediately crashes after 1 or 2 seconds (Bus > error) - > even before I could choose one of the 3 menu options. For the next > test I > applied the patch below and compiled qemu with GCC 4.0.1: > > --- Makefile.target > +++ Makefile.target > @@ -148,7 +148,7 @@ > > ifeq ($(HAVE_GCC3_OPTIONS),yes) > # very important to generate a return at the end of every operation > -OP_CFLAGS+=-fno-reorder-blocks -fno-optimize-sibling-calls > +OP_CFLAGS+=-fno-reorder-blocks -fno-optimize-sibling-calls -fno- > tree-ch > endif > > ifeq ($(CONFIG_DARWIN),yes) > > > ./configure --prefix=/usr/local --cc=gcc-4.0 --target-list=i386- > softmmu --enable-cocoa --disable-gcc-check > > With this build everything seems to work perfectly. I boot into > option 1 > and run the DOOM demo with b.bat - it runs for ca. 100 seconds and > then > quits back to DOS saying 'timed 2134 gametics in 2325 realtics'. > > Can you try if using GCC 4 helps for you too? I'll do some more > tests now. > Hopefully I can track down the problem to someting more specific. > > Jo. > > Mike Kronenberg wrote: >> You find a freedos including doom here: >> http://www.kberg.ch/q/userfiles/freedosdoom.zip >> >> or at the oszoo.org >> >> Crashes: >> - when choosing option 1 (standard) >> about 10-20 sec into doom, when playing timedemo (doom -timedemo >> demo3), otherwise, too. >> >> >> This used to work great before. >> >> Thanks, >> Mike > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel