compiling world with optimization

andy-freebsd at splashground.de andy-freebsd at splashground.de
Fri Jan 16 10:20:02 PST 2004


sheldonh wrote @ Fri, 16 Jan 2004 11:52:17 +0200:
> On (2004/01/15 16:43), Dag-Erling Smørgrav wrote:
> 
> > > I dont know if you care, but buildworld will fail with some
> > > optimizations.
> > 
> > No, we don't care.  See /usr/share/examples/etc/make.conf:
> > 
> > # CFLAGS controls the compiler settings used when compiling C code.
> > # Note that optimization settings above -O (-O2, ...) are not recommended
> > # or supported for compiling the world or the kernel
> 
> It's true that most of us don't care.  However, I remember some folks
> (kan and obrien?) saying that they have an interest in seeing these
> fixed in the gcc distribution.

http://ftp.fortunaty.net/FreeBSD/patches/5.2-strict-aliasing.diff.bz2

this is my current local diff for the problem.


Andy


More information about the freebsd-current mailing list