Re: compiling world with optimization

From: <andy-freebsd_at_splashground.de>
Date: 16 Jan 2004 18:19:58 -0000
sheldonh wrote _at_ 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
Received on Fri Jan 16 2004 - 09:20:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC