From owner-freebsd-ports@FreeBSD.ORG Sun Jul 3 05:51:31 2005 Return-Path: X-Original-To: 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 85FF216A41C; Sun, 3 Jul 2005 05:51:31 +0000 (GMT) (envelope-from adamw@magnesium.net) Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5828B43D45; Sun, 3 Jul 2005 05:51:31 +0000 (GMT) (envelope-from adamw@magnesium.net) Received: from [192.168.1.102] (adsl-67-120-98-172.dsl.snfc21.pacbell.net [67.120.98.172]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 2.04 (built Feb 8 2005)) with ESMTPSA id <0IJ100JKFBZKZE@connectmail.carleton.ca>; Sun, 03 Jul 2005 00:47:45 -0400 (EDT) Date: Sat, 02 Jul 2005 21:47:44 -0700 From: Adam Weinberger In-reply-to: <20041102222000.GA65845@xor.obsecurity.org> To: Kris Kennaway Message-id: <42C76DF0.8070307@magnesium.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Mozilla Thunderbird 1.0+ (Macintosh/20050531) References: <20041102222000.GA65845@xor.obsecurity.org> Cc: ports@FreeBSD.org, current@FreeBSD.org 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: Sun, 03 Jul 2005 05:51:31 -0000 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 This is just an FYI for whomever cares: all GNOME metaports build cleanly in a -CURRENT jail with -O2. # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx