Date: Mon, 9 Feb 2004 03:31:44 -0200 From: "Bruno T." <bmrk@terra.com.br> To: Melvyn Sopacua <freebsd-current@webteckies.org>, freebsd-current@freebsd.org Subject: Re: -fno-strict-aliasing Message-ID: <20040209033144.4f175af0@pyro.convolution.ti> In-Reply-To: <200402090604.17779.freebsd-current@webteckies.org> References: <c11ba4d1.a4d1c11b@etat.lu> <20040209043217.GA1009@xor.obsecurity.org> <20040209025959.55c43209@pyro.convolution.ti> <200402090604.17779.freebsd-current@webteckies.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Feb 2004 06:04:14 +0100 Melvyn Sopacua <freebsd-current@webteckies.org> wrote: > On Monday 09 February 2004 05:59, Bruno T. wrote: > > On Sun, 8 Feb 2004 20:32:17 -0800 > > > > Kris Kennaway <kris@obsecurity.org> 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.:)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040209033144.4f175af0>