From owner-freebsd-current Tue Mar 11 20:58: 0 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1124837B401 for ; Tue, 11 Mar 2003 20:57:59 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2543D43F93 for ; Tue, 11 Mar 2003 20:57:58 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h2C4vvJL028624 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 11 Mar 2003 20:57:57 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.6/8.12.6/Submit) id h2C4vuKW023308; Tue, 11 Mar 2003 20:57:56 -0800 (PST) (envelope-from jdp) Date: Tue, 11 Mar 2003 20:57:56 -0800 (PST) Message-Id: <200303120457.h2C4vuKW023308@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: dan.naumov@ofw.fi Subject: Re: -O2 breaks GCC 3.2.1-compiled code (seems OS specific) In-Reply-To: <1047347538.9634.8.camel@localhost.localdomain> References: <1047347538.9634.8.camel@localhost.localdomain> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <1047347538.9634.8.camel@localhost.localdomain>, Dan Naumov wrote: > > Since my issues are related to 5.0, I though I'd rather ask here. > I've noticed an interesting problem: I am using FreeBSD 5.0-p4 and > GCC 3.2.1 and if I use "CPUTYPE=athlon-tbird" and "CFLAGS= -O2 > -mmmx -m3dnow -fomit-frame-pointer -pipe", ezm3 refuses to compile > AT ALL [...] Well, ezm3-1.0 has an ancient gcc-2.7.2.1 code generator spliced onto a Modula-3 front end, so it's a miracle it works under the best of circumstances. :-) I'm close to releasing version 1.1, which is based on gcc-3.2.1. There's more hope for that version. But out of curiosity, what exactly happens if you try to build ezm3 with those CPUTYPE and CFLAGS settings? Do you have the error messages? I'm surprised that CPUTYPE and CFLAGS affect the ezm3 build at all, frankly. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message