From owner-freebsd-current@FreeBSD.ORG Mon Feb 9 06:26:47 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 4655B16A4CE for ; Mon, 9 Feb 2004 06:26:47 -0800 (PST) Received: from ftp.bjpu.edu.cn (ftp.bjpu.edu.cn [202.112.78.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D27B43D1F for ; Mon, 9 Feb 2004 06:26:47 -0800 (PST) (envelope-from junsu@delphij.net) Received: from localhost (localhost [127.0.0.1]) by ftp.bjpu.edu.cn (Postfix) with ESMTP id 22A9052C8 for ; Mon, 9 Feb 2004 22:26:45 +0800 (CST) Received: from ftp.bjpu.edu.cn ([127.0.0.1]) by localhost (ftp.bjpu.edu.cn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10639-07 for ; Mon, 9 Feb 2004 22:26:43 +0800 (CST) Received: from beastie.frontfree.net (beastie.frontfree.net [218.107.145.7]) by ftp.bjpu.edu.cn (Postfix) with ESMTP id 50E1D529A for ; Mon, 9 Feb 2004 22:26:42 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 6535F11528; Mon, 9 Feb 2004 22:26:41 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01911-03; Mon, 9 Feb 2004 22:26:38 +0800 (CST) Received: from shasujunmv (unknown [211.161.222.209]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by beastie.frontfree.net (Postfix) with ESMTP id 2A05A11415; Mon, 9 Feb 2004 22:26:36 +0800 (CST) Message-ID: <003e01c3ef18$b1196170$d1dea1d3@shasujunmv> From: "Jun Su" To: , "Kris Kennaway" References: <20040209022820.00faa408@pyro.convolution.ti><20040209043217.GA1009@xor.obsecurity.org> <4027871E.8080800@mindspring.com> Date: Mon, 9 Feb 2004 22:26:15 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at frontfree.net X-Virus-Scanned: by amavisd-new at frontfree.net 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 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 14:26:47 -0000 ----- Original Message ----- From: "Richard Coleman" To: "Kris Kennaway" Cc: "Bruno T." ; Sent: Monday, February 09, 2004 9:11 PM Subject: Re: -fno-strict-aliasing > 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". We can find out what applications broken with strict-alias and mark them in the Makefile. This can make the whole system use -O2 or above. Besides this, we can clean this problem one by one from our base. Jun Su > > Richard Coleman > richardcoleman@mindspring.com > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >