From owner-freebsd-stable Wed Mar 7 1:14:50 2001 Delivered-To: freebsd-stable@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-158.dsl.lsan03.pacbell.net [63.207.60.158]) by hub.freebsd.org (Postfix) with ESMTP id 950F237B719 for ; Wed, 7 Mar 2001 01:14:47 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C643666ED5; Wed, 7 Mar 2001 01:14:46 -0800 (PST) Date: Wed, 7 Mar 2001 01:14:46 -0800 From: Kris Kennaway To: Antony T Curtis Cc: Kris Kennaway , "Hartmann, O." , freebsd-stable@FreeBSD.ORG Subject: Re: ARCH flag in new make.conf Message-ID: <20010307011446.A8574@mollari.cthul.hu> References: <20010307010024.A98154@mollari.cthul.hu> <3AA5FAD0.CCDB49C7@abacus.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AA5FAD0.CCDB49C7@abacus.co.uk>; from antony@abacus.co.uk on Wed, Mar 07, 2001 at 09:09:36AM +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 07, 2001 at 09:09:36AM +0000, Antony T Curtis wrote: > Kris Kennaway wrote: > >=20 > > On Wed, Mar 07, 2001 at 09:30:33AM +0100, Hartmann, O. wrote: > > > Dear Sirs. > > > > > > I'm really confused and surprised by the fact, that with the upcoming= new > > > FreeBSD 4.3 in its make.conf we can choose architectural parameters f= or the > > > CPU architecture. And I will tell you why. >=20 > >=20 > > I've been running NIS on FreeBSD with world and kernel compiled with > > -march=3Dpentiumpro for about 9 months with no ill effects. In fact > > I've never heard of reports of bad code generation using the -march > > settings -- it appears to be very stable. Are you sure you didn't > > have a nonstandard optimization setting (-O2, etc) as well? >=20 > I have world compiled with -O2 with no ill effect (that I have noticed) > but if I compile the kernel with -O2, it looks okay but has problems > with talking TCP/IP - seems to generate faulty checksums and some other > quirks.... To put it simply, stable kernels are only with -O (in my > experience) >=20 > (however, I have compiled KLDs with -O2 with no ill effect) Yes, this is well known (and documented in /etc/make.conf). I've *never* heard failure reports associated with using an -march option, nor seen any myself (all my systems run with -march=3D and have never shown failures; contrasted with -O2 which inevitably causes problems each time I'm tempted to try it) I think Jordan's commit to /etc/make.conf warning people off of using CPUTYPE was premature. Kris --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6pfwGWry0BWjoQKURAgBxAKDdHo/qEm8nlIS0XuNQQ9BnTwWDLgCgmBl/ s13/W+NWR0g4FIrpVk+og3I= =rW8l -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message