From owner-freebsd-current@FreeBSD.ORG Wed Nov 3 22:47:41 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 702A616A4CF for ; Wed, 3 Nov 2004 22:47:41 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17ECC43D31 for ; Wed, 3 Nov 2004 22:47:41 +0000 (GMT) (envelope-from jeffgaofreebsd@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so166933rnf for ; Wed, 03 Nov 2004 14:47:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=txwKqPZd/Ph+oRWJLhxw+8BmEEnsWSHoJi3CP/ZvuDy5sX1x8zTcouUGu8FZ7W5KIA2ee6ErAhPVUk1ogO1Jz37lPPvcP9EGms4ot7wPWlLn+ozWcoSs+3xG2yw53/I8npVYBi9NTG8d8uJV+ABRQsUxYlamJu5/wuOUI64oVsQ= Received: by 10.38.171.38 with SMTP id t38mr53671rne; Wed, 03 Nov 2004 14:47:37 -0800 (PST) Received: by 10.38.74.3 with HTTP; Wed, 3 Nov 2004 14:47:37 -0800 (PST) Message-ID: <639522fe041103144732ea6683@mail.gmail.com> Date: Wed, 3 Nov 2004 15:47:37 -0700 From: Jie Gao To: Kris Kennaway In-Reply-To: <20041102222000.GA65845@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041102222000.GA65845@xor.obsecurity.org> X-Mailman-Approved-At: Thu, 04 Nov 2004 13:19:47 +0000 cc: ports@freebsd.org cc: current@freebsd.org Subject: Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jie Gao List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 22:47:41 -0000 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 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 > > >