Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 23:56:24 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        relay.lists@gmail.com
Subject:   Re: branches, updates, buildworld
Message-ID:  <200809102356.25577.pieter@degoeje.nl>
In-Reply-To: <20080910162227.0241e209@ilievnet.com>
References:  <20080910162227.0241e209@ilievnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 10 September 2008, relay.lists@gmail.com wrote:
> 4) Will "make buildworld" fail with a make.conf like this:
>
> ########
> PERL_VER=5.8.8
> PERL_VERSION=5.8.8
> BDECFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer \
> -combine -fno-strict-aliasing"
>
> CFLAGS+=${BDECFLAGS}
> CXXFLAGS=${CFLAGS}
> COPTFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer \
> -combine -fno-strict-aliasing"

Setting COPTFLAGS is discouraged, because you risk breaking the kernel. In 
particular, the kernel can not use any floating point operations including 
simd operations, which you explicitly enable above. May I suggest that you 
first try to rebuild the base system without any CFLAGS set but simply 

CPUTYPE?=pentium2

Note that by default the system is build with -O2 -fno-strict-aliasing -pipe. 

-- 
Pieter de Goeje




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