From owner-freebsd-current@FreeBSD.ORG Mon Feb 9 05:11:44 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 E0B4116A4CE for ; Mon, 9 Feb 2004 05:11:44 -0800 (PST) Received: from saturn.criticalmagic.com (saturn.criticalmagic.com [68.213.16.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9B7043D39 for ; Mon, 9 Feb 2004 05:11:44 -0800 (PST) (envelope-from richardcoleman@mindspring.com) Received: from mindspring.com (titan.criticalmagic.com [68.213.16.23]) by saturn.criticalmagic.com (Postfix) with ESMTP id C53FA3BD10; Mon, 9 Feb 2004 08:11:43 -0500 (EST) Message-ID: <4027871E.8080800@mindspring.com> Date: Mon, 09 Feb 2004 08:11:58 -0500 From: Richard Coleman Organization: Critical Magic, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <20040209022820.00faa408@pyro.convolution.ti> <20040209043217.GA1009@xor.obsecurity.org> In-Reply-To: <20040209043217.GA1009@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "Bruno T." cc: freebsd-current@freebsd.org Subject: Re: -fno-strict-aliasing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: richardcoleman@mindspring.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 13:11:45 -0000 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". Richard Coleman richardcoleman@mindspring.com