From owner-freebsd-stable Wed Mar 7 13: 9:38 2001 Delivered-To: freebsd-stable@freebsd.org Received: from peak.mountin.net (peak.mountin.net [207.227.119.2]) by hub.freebsd.org (Postfix) with ESMTP id 8E36B37B718 for ; Wed, 7 Mar 2001 13:09:35 -0800 (PST) (envelope-from jeff-ml@mountin.net) Received: (from daemon@localhost) by peak.mountin.net (8.9.1/8.9.1) id PAA12601; Wed, 7 Mar 2001 15:09:34 -0600 (CST) (envelope-from jeff-ml@mountin.net) Received: from dial-65.max1.wa.cyberlynk.net(207.227.118.65) by peak.mountin.net via smap (V1.3) id sma012572; Wed Mar 7 15:08:47 2001 Message-Id: <4.3.2.20010307145055.02c2f4a0@207.227.119.2> X-Sender: jeff-ml@207.227.119.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Wed, 07 Mar 2001 15:05:44 -0600 To: rdmurphy@vt.edu From: "Jeffrey J. Mountin" Subject: Re: ARCH flag in new make.conf Cc: stable@FreeBSD.org In-Reply-To: <15014.35964.607904.787071@knock.econ.vt.edu> References: <01C0A6F1.C26E6DC0.ggross@symark.com> <200103071856.f27Iuxl71513@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 02:31 PM 3/7/01 -0500, Russell D. Murphy Jr. wrote: >Another datapoint. . . > >I changed make.conf on, I believe, Dec. 6: > > # CFLAGS= -O -pipe > CFLAGS= -O -pipe -mcpu=pentiumpro -march=pentiumpro > >(There's also: > > COPTFLAGS= -O -pipe) > >(I gather that -mcpu is redundant.) I re-cvsup, buildworld, and >installworld (and kernel. . .) roughly weekly (7 times, by my logs). >Until the CPUTYPE discussion came up, I had forgotten I was trying out >-march; everything seems to be working fine. The machine is: The -mcpu is redundant -march includes it. Will also reiterate that combining -march with optimization levels other than -O (-O2, -O3, -Os) does tend to break more often than not. Using -mcpu is much less problematic. Will be curious to see using -O2 for world and kernel builds will break with the new flags. Matt may have given up on it, but it has been working (again) for months now. Keep expecting it to break, which these changes most likely will. The text in make.conf is sufficient, but at first the name of the flag (CPUTYPE) made me think more of -mcpu than -march. At least the gcc flag is on the same line and it should not matter. Those tweaking the flags are on there own and should be familiar the mechanisms involved. Am also curious if some port builds might be affected. Jeff Mountin - jeff@mountin.net Systems/Network Administrator FreeBSD - the power to serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message