From owner-freebsd-current Tue Mar 11 17:52: 1 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 8073D37B401 for ; Tue, 11 Mar 2003 17:52:00 -0800 (PST) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BFDC43FDD for ; Tue, 11 Mar 2003 17:51:59 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from master.gorean.org (12-234-22-23.client.attbi.com[12.234.22.23]) by rwcrmhc52.attbi.com (rwcrmhc52) with SMTP id <2003031201515805200pu7g6e>; Wed, 12 Mar 2003 01:51:58 +0000 Date: Tue, 11 Mar 2003 17:51:55 -0800 (PST) From: Doug Barton To: Dan Naumov Cc: freebsd-current@freebsd.org Subject: Re: -O2 breaks GCC 3.2.1-compiled code (seems OS specific) In-Reply-To: <1047347538.9634.8.camel@localhost.localdomain> Message-ID: <20030311175124.A1461@znfgre.tberna.bet> References: <1047347538.9634.8.camel@localhost.localdomain> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 You should send this information to the gcc folks. My understanding is that they are interested in solving problems like this. Doug On Mon, 11 Mar 2003, Dan Naumov wrote: > Hello list. > > 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 and even > though AbiWord 1.0.4 does compile, it will always coredump on exit, > preventing saving of any changes done to the Preferences. However, going > down from -O2 to -O solved both problems. > > This makes me wonder what exactly is wrong, since I've used exactly the > same CPUTYPE and CFLAGS under Gentoo Linux with GCC 3.2.1 for a long > time and everything compiled absolutely fine. This leads me to believe > that there are not only arch-specific, but also OS-specific GCC issues. > Can anyone else confirm this ? > > Sincerely, > -- This .signature sanitized for your protection To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message