From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 9 08:19:49 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8D5D106566C; Thu, 9 Jul 2009 08:19:49 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7B10B8FC22; Thu, 9 Jul 2009 08:19:49 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=jcmElqFgsJ7uJGIo8zVnwCQvpZCc6hgYyQ3fGNFlEFBM9m/OAHGUWOVy5gd9xbYl9G4G9K7magOf2m+yIDtE5tVgGt8553wx1iLt8nVOjxHxYefFnYbU8mQ2KhBIGLBfAmQfyKdpmmU9BghcQweNcS8x2D4Yin1erQyxVyY4YD0=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MOor6-0009Ka-Lm; Thu, 09 Jul 2009 12:19:48 +0400 Date: Thu, 9 Jul 2009 12:19:46 +0400 From: Eygene Ryabinkin To: Lagrange Marc Message-ID: References: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> <1b5ab4050907090111q4cb29ea7t2f7518e844efbf54@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b5ab4050907090111q4cb29ea7t2f7518e844efbf54@mail.gmail.com> Sender: rea-fbsd@codelabs.ru X-Mailman-Approved-At: Thu, 09 Jul 2009 13:27:27 +0000 Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: Building kernel : CPUID_FXSR undeclared (first use...) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 08:19:50 -0000 Thu, Jul 09, 2009 at 10:11:09AM +0200, Lagrange Marc wrote: > > And what is inside the file 'machine/specialreg.h' when you're sitting > > in the same directory? > > File here : http://banane.rhaamo.li/bugs/CPUID_FXSR/specialreg.h Then, it is simple: you had manually commented the line 105: ----- /*#define CPUID_FXSR 0x01000000*/ ----- Uncomment it (inside /sys/amd64/include/specialreg.h) and rebuild the stuff. Better will be to resync the sources, get rid of all local modifications (if any) and rebuild. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #