All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joachim Henke <joachim.henke@stud.tu-ilmenau.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Mac OS X issues
Date: Sun, 11 Dec 2005 15:56:03 +0100	[thread overview]
Message-ID: <57692F3D-3487-48EB-AA0C-43124745EF3E@stud.tu-ilmenau.de> (raw)
In-Reply-To: <8B6EFA45-DC47-47FC-91B0-9B5CB41808D2@kberg.ch>

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

  reply	other threads:[~2005-12-11 15:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 17:21 [Qemu-devel] [PATCH] Mac OS X: QEMU crashes when pressing dead keys Joachim Henke
2005-12-09  9:34 ` Mike Kronenberg
2005-12-09 22:34   ` [Qemu-devel] Mac OS X issues Joachim Henke
2005-12-10 13:31     ` Mike Kronenberg
2005-12-11 14:56       ` Joachim Henke [this message]
2005-12-11 17:22         ` Mike Kronenberg
2005-12-11 20:47           ` Joachim Henke
2005-12-12 17:38             ` Mike Kronenberg
2005-12-13 16:33               ` Joachim Henke
2005-12-13 19:34                 ` Joachim Henke
2005-12-14 17:53                 ` Mike Kronenberg
2005-12-17  0:03                   ` Joachim Henke
2005-12-19 18:21                     ` Joachim Henke
2005-12-20  9:33                       ` Mike Kronenberg

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=57692F3D-3487-48EB-AA0C-43124745EF3E@stud.tu-ilmenau.de \
    --to=joachim.henke@stud.tu-ilmenau.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.