Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 04:59:43 +0300
From:      Giorgos Keramidas <charon@labs.gr>
To:        Dimitry Andric <dim@xs4all.nl>
Cc:        "Hartmann, O." <ohartman@klima.physik.uni-mainz.de>, freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: MAKEDEV 4.4-STABLE still offering problems
Message-ID:  <20010919045943.C2154@hades.hell.gr>
In-Reply-To: <10350278416.20010918231603@xs4all.nl>
References:  <20010918182942.R17334-101000@klima.physik.uni-mainz.de> <10350278416.20010918231603@xs4all.nl>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Dimitry Andric <dim@xs4all.nl> wrote:
> 
> However, the proper solution is to follow the instructions from
> /etc/defaults/make.conf, which say:
> 
> # If you experience any problems after setting this flag, please unset
> # it again before submitting a bug report or attempting to modify code.
> # It may be that certain types of software will become unstable after being
> # compiled with processor-specific (or higher - see below) optimization flags.
> # If in doubt, do not set CPUTYPE or CFLAGS to non-default values.
> 
> So I'm now in the process of removing CPUTYPE from all FreeBSD boxes I
> manage, and rebuilding them. :)

I did try putting some agressive optimizations to /etc/make.conf once.

All kinds of weird problems started popping up, with the most annoying of them
all an invalid checksup on all UDP and TCP packets my machine tried to send
over dialup interfaces like ppp0 or tun0.

Switching to a plain `-O -pipe' setting in make.conf made all of the problems
go magically away.  That was the last time I used optimizations in buildworld
and buildkernel, as far as I remember :)

Strange because in the Linux camp they are all madly optimizing, but since I
hate unpredictability compared to a loss of speed, the choise is obvious for
me thereafter.

Just my $0.2

-giorgos

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE7p/wPnx3zGsay9fwRAkjuAJ43ixfvEDJ0khV3cP3s2V8nuZ5z0wCgiD1J
QgfgDRmtZK60m9R4UlWG54I=
=594X
-----END PGP SIGNATURE-----
home | help

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