From owner-freebsd-ports@FreeBSD.ORG Mon Jul 4 01:55:11 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86E5916A41C for ; Mon, 4 Jul 2005 01:55:11 +0000 (GMT) (envelope-from danny@ricin.com) Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1988943D48 for ; Mon, 4 Jul 2005 01:55:10 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.133] (port=44595 helo=smtp2.home.nl) by smtpq1.home.nl with esmtp (Exim 4.30) id 1DpGAv-0000d1-HX for freebsd-ports@freebsd.org; Mon, 04 Jul 2005 03:55:09 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:51332 helo=desktop.homenet) by smtp2.home.nl with esmtp (Exim 4.30) id 1DpGAu-0008Ck-I9 for freebsd-ports@freebsd.org; Mon, 04 Jul 2005 03:55:08 +0200 From: Danny Pansters To: freebsd-ports@freebsd.org Date: Mon, 4 Jul 2005 03:53:37 +0200 User-Agent: KMail/1.8 References: <20050703055842.GA1933@xor.obsecurity.org> <001401c57ff4$6f429730$0b2a15ac@SMILEY> <20050704013948.GA47038@xor.obsecurity.org> In-Reply-To: <20050704013948.GA47038@xor.obsecurity.org> X-Face: "0Qv=,p:+]LvuqrtS4U\z3k"qN=.1]@=?utf-8?q?=258=3F=3BPoab=23v=27F=7E=0A=09!Wm=5Fe-=24=7EL=5D=3B?=>[c*L^Qoladj)x@mH}Bqz"vLO?Zdl}[@V@=?utf-8?q?U=3Fx3=23lI=3A=0A=09=24DN=7E!Hr?=@K`-mNv"zXm MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507040353.37798.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 01:55:11 -0000 On Monday 4 July 2005 03:39, Kris Kennaway wrote: > On Sun, Jul 03, 2005 at 10:27:04AM -0700, Darren Pilgrim wrote: > > From: Kris Kennaway > > > > > On Sat, Jul 02, 2005 at 09:47:44PM -0700, Adam Weinberger wrote: > > > > 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. > > > > <...> > > > > > P.S. The problem is only if you build without > > > -fno-strict-alias, which is the default now. > > > > Is that to say, then, that ports will build and run safely if you use > > CFLAGS=-O2 -pipe -fno-strict-alias? > > As per the quoted thread from last year, and the default CFLAGS > settings, yes :-) > > Kris Barring any time machine bugs (in such cases you MAY be stuck in a singularity). Either way your warranty is probably void. Sorry, we told you. Like a year ago. Might be a feature.. mailinglist flashbacks :) Dan