Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2005 03:53:37 +0200
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0
Message-ID:  <200507040353.37798.danny@ricin.com>
In-Reply-To: <20050704013948.GA47038@xor.obsecurity.org>
References:  <20050703055842.GA1933@xor.obsecurity.org> <001401c57ff4$6f429730$0b2a15ac@SMILEY> <20050704013948.GA47038@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 4 July 2005 03:39, Kris Kennaway wrote:
> On Sun, Jul 03, 2005 at 10:27:04AM -0700, Darren Pilgrim wrote:
> > From: Kris Kennaway
> >
> > > 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=-O -pipe in your /etc/make.conf for now, until we can
> > > > >resolve this problem more satisfactorily.
> >
> > <...>
> >
> > > P.S. The problem is only if you build without
> > > -fno-strict-alias, which is the default now.
> >
> > Is that to say, then, that ports will build and run safely if you use
> > CFLAGS=-O2 -pipe -fno-strict-alias?
>
> As per the quoted thread from last year, and the default CFLAGS
> settings, yes :-)
>
> Kris

Barring any time machine bugs (in such cases you MAY be stuck in a 
singularity).

Either way your warranty is probably void. Sorry, we told you. Like a year 
ago.

Might be a feature.. mailinglist flashbacks :)


Dan



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