From owner-freebsd-current@FreeBSD.ORG Sun Jul 3 05:58:45 2005 Return-Path: X-Original-To: current@FreeBSD.org 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 26E9916A41C; Sun, 3 Jul 2005 05:58:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F2B43D58; Sun, 3 Jul 2005 05:58:44 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4259351329; Sun, 3 Jul 2005 01:58:42 -0400 (EDT) Date: Sun, 3 Jul 2005 01:58:42 -0400 From: Kris Kennaway To: Adam Weinberger Message-ID: <20050703055842.GA1933@xor.obsecurity.org> References: <20041102222000.GA65845@xor.obsecurity.org> <42C76DF0.8070307@magnesium.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <42C76DF0.8070307@magnesium.net> User-Agent: Mutt/1.4.2.1i Cc: ports@FreeBSD.org, current@FreeBSD.org, Kris Kennaway 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.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 05:58:45 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D-O -pipe in your /etc/make.conf for now, until we can resolve > >this problem more satisfactorily. > > > >Kris >=20 > This is just an FYI for whomever cares: all GNOME metaports build=20 > cleanly in a -CURRENT jail with -O2. This was a mail from last year, but thanks anyway :) Kris P.S. The problem is only if you build without -fno-strict-alias, which is the default now. --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCx36SWry0BWjoQKURAicmAKCUnfegm9z9FMcTrfWFSpJENGjTGQCfRYkr n8VdwyljPrRmMNvvJlOHa1s= =DfY/ -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--