Date: Wed, 7 Mar 2001 01:14:46 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Antony T Curtis <antony@abacus.co.uk> Cc: Kris Kennaway <kris@obsecurity.org>, "Hartmann, O." <ohartman@klima.physik.uni-mainz.de>, freebsd-stable@FreeBSD.ORG Subject: Re: ARCH flag in new make.conf Message-ID: <20010307011446.A8574@mollari.cthul.hu> In-Reply-To: <3AA5FAD0.CCDB49C7@abacus.co.uk>; from antony@abacus.co.uk on Wed, Mar 07, 2001 at 09:09:36AM %2B0000 References: <Pine.BSF.4.33.0103070915530.17134-100000@klima.physik.uni-mainz.de> <20010307010024.A98154@mollari.cthul.hu> <3AA5FAD0.CCDB49C7@abacus.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Mar 07, 2001 at 09:09:36AM +0000, Antony T Curtis wrote: > Kris Kennaway wrote: > > > > 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 for the > > > CPU architecture. And I will tell you why. > > <snip> > > > I've been running NIS on FreeBSD with world and kernel compiled with > > -march=pentiumpro 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? > > 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) > > (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=<whatever> 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 [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010307011446.A8574>
