From mint-bounce@lists.fishpool.fi Tue Jan 22 17:35:04 2008 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=ioDD7Wv1JoVIoGKzCgSRp/ouzDpTEWNY+s0lQloLUKA=; b=BJCf3oNMfuHs+uApZw/w1IdWPAsoKZDFbCVKvmaLJeuNxPRHKY0zwf42lCcx0xvFlkLHfi0IEZuPCYUF4bKPsOSBawOa8TJNEG46n59cz382pm1/RLdpDlTsTyWxRMTUmwC9Tr1p/K5rkeExbKpAmGSc5DKVRRxbM7Ny/T0XgCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=niu7DVf4RpUzIIHHyN6XDrjOa0CwTbG3QTs152CuCoRe1whLT3KdndqNBK2wjwGMsCvbToOQhffP3Y7HOjGLmSa9QsG+fkg+5j8KGzxeBdHuaZUukbDTg1Rm00II7L+OyKEQPd9GrvxSnW7IpRlEQ2N5RLQXZKIsx86q4lo/Aeo= Message-ID: Date: Sat, 19 Jan 2008 02:59:38 +0100 From: MiKRO To: mint Subject: [MiNT] gcc4 vs gcc2 crash "test case" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: miro.kropacek@gmail.com 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: Status: X-Status: X-Keywords: Hi, I managed to test some behaviour about that gcc2 vs gcc4 compatibility. Here is guide, how to get memory violation: - download http://mikro.atari.org/quake-src.tar.gz - download http://files.dhs.nu/files_game/quakedem.zip - unpack atari-quake somewhere, unpack quakedem.zip in that directory (i.e. you need to have atari-quake/id1/pak0.pak -- case sensitive!) - compile&install mintlib against gcc2 (you need that headers.patch for some constants) - I assume you have gcc4 installed already (in /usr/local) - go to quake source directory, type "make build_release" .. .. this will take some time. when everything ok, you can type "./quake.ttp". if you installed quake demo ok, you should see some loading messages (I disabled screen and keyboard inits)... but after some while you should get memory violation with pretty strange address (0x40000000 or so). "Funny" thing is it happens only with release version (-O3 flag). You can end quake by ctrl+c (safely). it should work also in aranym, i can't test it now. i made this guide especially for vincent, he is in my eyes the most competent person to find what's wrong, i'm out of game totally ;-) -- MiKRO / Mystic Bytes http://mikro.atari.org