From owner-freebsd-stable@FreeBSD.ORG Wed Jan 31 09:52:41 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7271516A400 for ; Wed, 31 Jan 2007 09:52:41 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [216.177.243.35]) by mx1.freebsd.org (Postfix) with ESMTP id 0928E13C471 for ; Wed, 31 Jan 2007 09:52:40 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id l0V9qWEC020476 for ; Wed, 31 Jan 2007 01:52:38 -0800 (PST) (envelope-from chris#@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id l0V9qVFC020475 for freebsd-stable@freebsd.org; Wed, 31 Jan 2007 01:52:31 -0800 (PST) (envelope-from chris#@1command.com) X-Authentication-Warning: mail.1command.com: www set sender to chris#@1command.com using -f Received: from ns1.1command.com (ns1.1command.com [216.177.243.34]) by webmail.1command.com (H.R. Communications Messaging System) with HTTP; Wed, 31 Jan 2007 01:52:31 -0800 Message-ID: <20070131015231.eyzdutwjk00oc8cw@webmail.1command.com> X-Priority: 3 (Normal) Date: Wed, 31 Jan 2007 01:52:31 -0800 From: "Chris H." To: freebsd-stable@freebsd.org References: <20070126171218.2k25n1tt28c08wow@webmail.1command.com> <45BABDBF.2090601@andric.com> <20070126190747.2488s1r41sw0scgw@webmail.1command.com> <45BAC510.3050404@rogers.com> <20070126204515.upi5vwtpu884w080@webmail.1command.com> <20070127052429.GA23476@xor.obsecurity.org> In-Reply-To: <20070127052429.GA23476@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: H.R. Communications Internet Messaging System (HCIMS) 4.1 Professional (not for redistribution) / FreeBSD-5.5 Subject: Re: Why does FBSD always assume it's on an 8080 CPU? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 09:52:41 -0000 Thank you Kris, and all who took the time to respond. Quoting Kris Kennaway : > On Fri, Jan 26, 2007 at 08:45:15PM -0800, Chris H. wrote: >> Hello and thank you for your response... >> >> Quoting Mike Jakubik : >> >> >Chris H. wrote: >> >> >> >>CPU: AMD Athlon(tm) XP (1102.51-MHz 686-class CPU) >> >>Origin = "AuthenticAMD" Id = 0x680 Stepping = 0 >> >>Features=0x383fbff >> AMD >> >>Features=0xc0400800 >> >> >> >>That I simply build world/kernel with an clean (empty) make.conf >> >>and add the following during port(s) building to attain optimum results >> >>given my CPU for this current biuld? >> >> >> >>CPUTYPE?=pentium4 >> >> >> >>COPTFLAGS= -march=pentium4 -mmmx -m3dnow -m3dnow+ -msse -msse2 >> > >> >Why are you using "pentium4" with an Athlon XP CPU? use "athlonxp" >> >instead. Also, don't modify the COPTFLAGS. >> > >> >> Ooops. I've changed it to: >> >> CPUTYPE?=athlon-4 >> CFLAGS+= -march=athlon-4 -mmmx -m3dnow -m3dnow+ -msse -msse2 >> >> Look a little better? :) > > No, the CFLAGS is still entirely superfluous. Just setting CPUTYPE > will DTRT. > > Kris > Yea, I discovered that shortly after my response - the build of Python and Perl barfed using the long CFLAGS+= string. I shortened it to simply: CFLAGS+= -march=athlon-4 Why? You ask? Well, in the past (late 4, and all 5.x) many (most?) builds continued to echo the MNO-CPUFEATURE that the kernel always recognised & echoed during boot (All INTEL PIII's). But it appears that MAKE & 6 have no trouble with just the CPUTYPE?= , as everything that I've built (some 100+ apps) echo: -march=athlon-4 -march=athlon-4 during the entire build. *Clearly* reinforcing your /brilliant/ and /insightful/ response. :) I LOVE 6! I must admit, I was apprehensive about upgrading any further along than I had. Things got a bit wobbly towards the end of 4 and all through 5 - for me on the 55 some servers I'm running here. But WOW! What a change. Smoothe as silk and MUCH faster. Thank you Kris, and all whom contributed to this WONDERFUL next phase/ version! I got my first copy more years ago than I care to admit. A search for "where's ELVI" in altavista turned up a copy on a campus server (we all know /which/ campus). No I wasn't a student. But it was just sitting there, and I couldn't resist. I downloaded everything and loaded it - Goodbye M$DOS; the rest was history. I was hooked. I never looked back. :) Thanks again, and to who made this possible. --Chris -- panic: kernel trap (ignored) ----------------------------------------------------------------- FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006 /////////////////////////////////////////////////////////////////