From owner-freebsd-stable@FreeBSD.ORG Sat Jan 27 05:24:35 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 9D7D316A400 for ; Sat, 27 Jan 2007 05:24:35 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 881D713C481 for ; Sat, 27 Jan 2007 05:24:35 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2D0971A4D82; Fri, 26 Jan 2007 21:24:35 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B4AD55156B; Sat, 27 Jan 2007 00:24:29 -0500 (EST) Date: Sat, 27 Jan 2007 00:24:29 -0500 From: Kris Kennaway To: "Chris H." Message-ID: <20070127052429.GA23476@xor.obsecurity.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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20070126204515.upi5vwtpu884w080@webmail.1command.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org 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: Sat, 27 Jan 2007 05:24:35 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2007 at 08:45:15PM -0800, Chris H. wrote: > Hello and thank you for your response... >=20 > Quoting Mike Jakubik : >=20 > >Chris H. wrote: > >> > >>CPU: AMD Athlon(tm) XP (1102.51-MHz 686-class CPU) > >>Origin =3D "AuthenticAMD" Id =3D 0x680 Stepping =3D 0 > >>Features=3D0x383fbff AMD=20 > >>Features=3D0xc0400800 > >> > >>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?=3Dpentium4 > >> > >>COPTFLAGS=3D -march=3Dpentium4 -mmmx -m3dnow -m3dnow+ -msse -msse2 > > > >Why are you using "pentium4" with an Athlon XP CPU? use "athlonxp"=20 > >instead. Also, don't modify the COPTFLAGS. > > >=20 > Ooops. I've changed it to: >=20 > CPUTYPE?=3Dathlon-4 > CFLAGS+=3D -march=3Dathlon-4 -mmmx -m3dnow -m3dnow+ -msse -msse2 >=20 > Look a little better? :) No, the CFLAGS is still entirely superfluous. Just setting CPUTYPE will DTRT. Kris --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFuuINWry0BWjoQKURAoQWAKDMQCatMeC2xxozZiJqA4LEW9B05wCgjUHO h4IGzvwflQXgjSgZEwMWi9Y= =+ajq -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--