From mint-bounce@lists.fishpool.fi Wed Jan 23 15:07:16 2008 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Date: Wed, 23 Jan 2008 15:04:24 +0100 (CET) From: Frank Naumann To: mint Subject: Re: [MiNT] gcc4 vs gcc2 crash "test case" Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: fnaumann@boerde.de Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00 X-Spam-Level: Hello! > 6) The real problem: after loading all the files, Quake fails with Bus Error, > pc=0x3ff80000. It fails when compiled with GCC 4.2.2 (either cross or native) > with -m68020-60 and -O1. However it works without optimization. I haven't > found the cause of that bug yet. Is the PC inside the quake address room (e.g. what's the basepage address if the crash happen). If yes there are good chances to use the gdb to lookup at which source code line the crash happen. Beside from that, that it work without optimization might be a advice for an optimization bug (maybe related to the mixed assembler <-> C source code). Regards, Frank -- ATARI FALCON 060 // MILAN 060 -------------------------------- http://sparemint.atariforge.org/ e-Mail: fnaumann@freemint.de