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

[ Available lists | Index of freebsd-current | Month of Jul 2005 | Week of 3 Jul 2005 | Raw email | View thread | Wrap long lines | Reply ]
From
Adam Weinberger <adamw@magnesium.net>
Date
3 Jul 2005 05:51:31
Subject
Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0
Message-ID
42C76DF0.8070307@magnesium.net


[ Hide this part ]
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


Elapsed time: 0.157 seconds