From owner-freebsd-current@FreeBSD.ORG Sun Feb 8 21:27:19 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 D21FC16A4CE for ; Sun, 8 Feb 2004 21:27:19 -0800 (PST) Received: from ibague.terra.com.br (ibague.terra.com.br [200.154.55.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9624443D1D for ; Sun, 8 Feb 2004 21:27:19 -0800 (PST) (envelope-from bmrk@terra.com.br) Received: from cochabamba.terra.com.br (cochabamba.terra.com.br [200.154.55.135]) by ibague.terra.com.br (Postfix) with ESMTP id 7024FEC1B9; Mon, 9 Feb 2004 03:27:18 -0200 (BRST) Received: from pyro.convolution.ti (unknown [200.149.135.186]) (authenticated user bmrk) by cochabamba.terra.com.br (Postfix) with ESMTP id 4728F3C01A; Mon, 9 Feb 2004 03:27:17 -0200 (BRST) Date: Mon, 9 Feb 2004 03:31:44 -0200 From: "Bruno T." To: Melvyn Sopacua , freebsd-current@freebsd.org Message-Id: <20040209033144.4f175af0@pyro.convolution.ti> In-Reply-To: <200402090604.17779.freebsd-current@webteckies.org> References: <20040209043217.GA1009@xor.obsecurity.org> <20040209025959.55c43209@pyro.convolution.ti> <200402090604.17779.freebsd-current@webteckies.org> X-Mailer: Sylpheed version 0.9.9claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 05:27:19 -0000 On Mon, 9 Feb 2004 06:04:14 +0100 Melvyn Sopacua wrote: > On Monday 09 February 2004 05:59, Bruno T. wrote: > > On Sun, 8 Feb 2004 20:32:17 -0800 > > > > 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 > > > > yeah, i just didn't want to change any code without being familiar with the > > whole stuff. > > What Kris means is that -O2 for kernel and base builds are not supported. It's > documented in (/usr/share/examples)/etc/make.conf. > > Since you're coming from Linux, you prolly wanna read make(1) manpage (make != > GNU make) and browse through /usr/share/mk. > The developers handbook on the website is also a good start. > -- > Melvyn I see, thanks for pointing that.:)