From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AgoLE-0000OC-MI for qemu-devel@nongnu.org; Wed, 14 Jan 2004 11:58:04 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AgoKi-0000Jw-Mm for qemu-devel@nongnu.org; Wed, 14 Jan 2004 11:58:03 -0500 Received: from [130.136.10.114] (helo=pob.cs.unibo.it) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AgoKi-0000Jp-90 for qemu-devel@nongnu.org; Wed, 14 Jan 2004 11:57:32 -0500 Date: Wed, 14 Jan 2004 17:57:29 +0100 Message-ID: <20040114165729.GA18947@cs.unibo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: renzo@cs.unibo.it (Renzo Davoli) Subject: [Qemu-devel] Fix (Was: segfault in current cvs) Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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