From owner-freebsd-current@FreeBSD.ORG Tue Feb 10 02:21:48 2004 Return-Path: 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 C510216A4CE for ; Tue, 10 Feb 2004 02:21:48 -0800 (PST) Received: from web25110.mail.ukl.yahoo.com (web25110.mail.ukl.yahoo.com [217.12.10.58]) by mx1.FreeBSD.org (Postfix) with SMTP id 1559B43D1D for ; Tue, 10 Feb 2004 02:21:48 -0800 (PST) (envelope-from rmhlldr@yahoo.co.uk) Message-ID: <20040210102147.94879.qmail@web25110.mail.ukl.yahoo.com> Received: from [194.44.215.106] by web25110.mail.ukl.yahoo.com via HTTP; Tue, 10 Feb 2004 10:21:47 GMT Date: Tue, 10 Feb 2004 10:21:47 +0000 (GMT) From: =?iso-8859-1?q?RMH?= To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 10 Feb 2004 05:09:06 -0800 Subject: Re: -fno-strict-aliasing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rhett@alasir.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 10:21:48 -0000 > Kris Kennaway wrote: > On Mon, Feb 09, 2004 at 08:11:58AM -0500, Richard Coleman wrote: > > Kris Kennaway wrote: > > > > >On Mon, Feb 09, 2004 at 02:28:20AM -0200, Bruno T. wrote: > > > > > >>Hi everyone. > > >>i'm pretty new to bsd, but i have some background in linux development > > >>and for what i have seen until now, i must say that -CURRENT is rather > > >>impressive, congrats ! > > >> > > >>I was rebuilding my base sys and noticed that any compiler flag > > >>that implies -fstrict-aliasing (like -O2) would break some few things, > > >>adding "-fno-strict-aliasing" to "CFLAGS+=" in these makefiles > > >>solves the problem for now. > > > > > > > > >Don't do that then :-) > > > > > >Kris > > > > Although it's not urgent, I don't see why the aliasing problems can't be > > fixed. I think it would be more honest if the party line was "FreeBSD > > has bugs, so we can't use -O2 right now" rather than the standard reply > > of "-O2 is not supported, don't even try". > > It's "don't even try unless you plan to fix them". > > Kris World of 5.1 runs fine when compiled with -O2 (every day use, sometimes under a pretty load); though I use GCC 2.95.4 instead of 3.x.x, on i386. Just my two cents. --- Regards, Rhett ___________________________________________________________ BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk