qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: renzo@cs.unibo.it (Renzo Davoli)
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Fix (Was: segfault in current cvs)
Date: Wed, 14 Jan 2004 17:57:29 +0100	[thread overview]
Message-ID: <20040114165729.GA18947@cs.unibo.it> (raw)

The fix for the problem on ppc is:

in exec-all.h:

#if defined(__alpha__)
#define CODE_GEN_BUFFER_SIZE     (2 * 1024 * 1024)
#elif defined(__powerpc__)
//#define CODE_GEN_BUFFER_SIZE     (6 * 1024)   This is the value in the CVS
#define CODE_GEN_BUFFER_SIZE     (6 * 1024 * 1024) //This sounds better!
#else
#define CODE_GEN_BUFFER_SIZE     (8 * 1024 * 1024)
#endif

Otherwise in exec.c CODE_GEN_BUFFER_MAX_SIZE becomes negative and all
the tb_alloc code get mad!

I hope this helps.

ciao
	renzo

             reply	other threads:[~2004-01-14 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-14 16:57 Renzo Davoli [this message]
2004-01-14 17:10 ` [Qemu-devel] Re: Fix (Was: segfault in current cvs) Renzo Davoli
2004-01-15 10:26   ` Fabrice Bellard
2004-01-15 16:56     ` Renzo Davoli

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=20040114165729.GA18947@cs.unibo.it \
    --to=renzo@cs.unibo.it \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).