From owner-freebsd-stable Tue Sep 18 19:47:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 1E1B637B410; Tue, 18 Sep 2001 19:47:14 -0700 (PDT) Received: from hades.hell.gr (patr530-b025.otenet.gr [195.167.121.153]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f8J2lAH22743; Wed, 19 Sep 2001 05:47:10 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f8J1xic02696; Wed, 19 Sep 2001 04:59:44 +0300 (EEST) (envelope-from charon@labs.gr) Date: Wed, 19 Sep 2001 04:59:43 +0300 From: Giorgos Keramidas To: Dimitry Andric Cc: "Hartmann, O." , freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: MAKEDEV 4.4-STABLE still offering problems Message-ID: <20010919045943.C2154@hades.hell.gr> References: <20010918182942.R17334-101000@klima.physik.uni-mainz.de> <10350278416.20010918231603@xs4all.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oJ71EGRlYNjSvfq7" Content-Disposition: inline In-Reply-To: <10350278416.20010918231603@xs4all.nl> User-Agent: Mutt/1.3.22.1i X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --oJ71EGRlYNjSvfq7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dimitry Andric wrote: >=20 > However, the proper solution is to follow the instructions from > /etc/defaults/make.conf, which say: >=20 > # 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 bei= ng > # compiled with processor-specific (or higher - see below) optimization f= lags. > # If in doubt, do not set CPUTYPE or CFLAGS to non-default values. >=20 > 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 t= hem 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 proble= ms go magically away. That was the last time I used optimizations in buildwor= ld 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 --oJ71EGRlYNjSvfq7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE7p/wPnx3zGsay9fwRAkjuAJ43ixfvEDJ0khV3cP3s2V8nuZ5z0wCgiD1J QgfgDRmtZK60m9R4UlWG54I= =594X -----END PGP SIGNATURE----- --oJ71EGRlYNjSvfq7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message