HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0

Kris Kennaway kris at obsecurity.org
Tue Nov 2 14:17:59 PST 2004


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
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041102/6bb64d3a/attachment.bin


More information about the freebsd-ports mailing list