From owner-freebsd-ports@FreeBSD.ORG Tue Nov 2 22:17:59 2004 Return-Path: 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 9FD1316A4CF; Tue, 2 Nov 2004 22:17:59 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 767E143D54; Tue, 2 Nov 2004 22:17:59 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CA79D54CEC; Tue, 2 Nov 2004 14:20:00 -0800 (PST) Date: Tue, 2 Nov 2004 14:20:00 -0800 From: Kris Kennaway To: current@FreeBSD.org Message-ID: <20041102222000.GA65845@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i cc: ports@FreeBSD.org Subject: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 22:17:59 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBiAgQWry0BWjoQKURAjwhAKDgjsSUQoirwFzqYJ9IkcdHb1hyawCfWmhl fnoOCbvhRf68uHRLrunvpDM= =mgru -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--