Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2004 14:20:00 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        current@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0
Message-ID:  <20041102222000.GA65845@xor.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041102222000.GA65845>