From owner-freebsd-current Mon Sep 23 15:13:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 206AD37B401 for ; Mon, 23 Sep 2002 15:13:17 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD1F43E4A for ; Mon, 23 Sep 2002 15:13:16 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 87F0266B28; Mon, 23 Sep 2002 15:13:15 -0700 (PDT) Date: Mon, 23 Sep 2002 15:13:15 -0700 From: Kris Kennaway To: Vallo Kallaste Cc: "David P. Reese Jr." , current@freebsd.org Subject: Re: trouble building XFree86-4-Server under yesterday's current Message-ID: <20020923221315.GB14726@xor.obsecurity.org> References: <20020923100802.GA98826@tombstone.gomerbud.com> <20020923105518.GB1863@tiiu.internal> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <20020923105518.GB1863@tiiu.internal> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 23, 2002 at 01:55:18PM +0300, Vallo Kallaste wrote: > This isn't a yesterdays problem, I've had this for a month or so. > The problem is explicit declaration of -march=p[234], use > CPUTYPE=i686 in /etc/make.conf and you get further. The second way > is to not set CPUTYPE at all, logic in /usr/share/mk/bsd.cpu.mk will > set -mcpu to what appears to fit. That's not true; it adds -mcpu=pentiumpro by default to optimize instruction scheduling for 686-class CPUs (without breaking binary compatibility down to i386s), but it doesnt "autodetect" anything, and you'll get better performance on a 686-class CPU by specifying it in CPUTYPE (since you'll then also get pentium pro instructions). -mcpu != -march Kris --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9j5H6Wry0BWjoQKURAissAJ9ZiM4UjQzaBotRz7KeL+cnGXE9XQCgg8az ZcKh/g0t7EU+quBXopgtxME= =r0mo -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message