Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2005 00:50:11 -0000
From:      Jie Gao <jeffgaofreebsd@gmail.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@freebsd.org, current@freebsd.org
Subject:   Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0
Message-ID:  <639522fe041103144732ea6683@mail.gmail.com>
In-Reply-To: <20041102222000.GA65845@xor.obsecurity.org>
References:  <20041102222000.GA65845@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I just wonder if it is safe to use -O2 -pipe for kernel + world on 5-STABLE now.


On Tue, 2 Nov 2004 14:20:00 -0800, Kris Kennaway <kris@obsecurity.org> wrote:
> About a week ago des changed the default value of CFLAGS to "-O2
> -pipe" on FreeBSD 6.0-CURRENT.  While this is believed to be safe for
> compiling world + kernel on -CURRENT thesedays (because the aliasing
> bugs that are exposed with -O2 have been fixed), it's definitely *not*
> safe for compiling many ports (there are at least 350 ports that emit
> warnings about aliasing, and would probably have runtime errors when
> compiled with -O2; moreover, a number of ports fail to even build with
> -O2).
> 
> Therefore, if you compile ports on FreeBSD 6.0, you should set
> CFLAGS=-O -pipe in your /etc/make.conf for now, until we can resolve
> this problem more satisfactorily.
> 
> Kris
> 
> 
>
_______________________________________________
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?639522fe041103144732ea6683>