Date: Tue, 11 Mar 2003 20:57:56 -0800 (PST) From: John Polstra <jdp@polstra.com> To: current@freebsd.org Cc: dan.naumov@ofw.fi Subject: Re: -O2 breaks GCC 3.2.1-compiled code (seems OS specific) Message-ID: <200303120457.h2C4vuKW023308@vashon.polstra.com> In-Reply-To: <1047347538.9634.8.camel@localhost.localdomain> References: <1047347538.9634.8.camel@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <1047347538.9634.8.camel@localhost.localdomain>, Dan Naumov <dan.naumov@ofw.fi> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303120457.h2C4vuKW023308>