From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 9 08:29:12 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 5CF9A106564A; Thu, 9 Jul 2009 08:29:12 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id B64B48FC1E; Thu, 9 Jul 2009 08:29:11 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: by ewy24 with SMTP id 24so447703ewy.43 for ; Thu, 09 Jul 2009 01:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zX3O3elpEF4wa63cohD2Q9soMiXY032KHvEJJI4nLE4=; b=p2KeuqVW5Yoin3FVPGiYXarQ4Gv9P18SdHnyjWJ5ib8cGS2U+5L1jTtPA8tELYf08/ qJ8GvsA+Ac63oRvkmLClojPiiW7UuUBgbXb2D3rrrZsTMJqcTaT0kSrUSyciNhnplUSy 9FXUVTklyE9u5O47I+cobG5EK8/rMBdIVyLlc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Xm7Bz8Y6Zvf5cP1ueKCR89ec4UNnBbfuQKOZpN2AgyeafvNFIuy4B7utWEvJBPJfeF u4oKHdzXlUpK7w2c0sfusFg8aHpKNlFt7ByuM/QsEgfuY5zY63fkhwg4UyvePhmeo6Rl v+YCgSmZLLhjxaFM6ZRAwnwkJJBmY8T11Xwls= MIME-Version: 1.0 Received: by 10.211.179.6 with SMTP id g6mr610389ebp.32.1247128150738; Thu, 09 Jul 2009 01:29:10 -0700 (PDT) In-Reply-To: References: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> <1b5ab4050907090111q4cb29ea7t2f7518e844efbf54@mail.gmail.com> Date: Thu, 9 Jul 2009 10:29:09 +0200 Message-ID: <1b5ab4050907090129g5599d754w469170297e1b459a@mail.gmail.com> From: Lagrange Marc To: rea-fbsd@codelabs.ru Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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:29:12 -0000 On Thu, Jul 9, 2009 at 10:19 AM, Eygene Ryabinkin wro= te: > 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 =C2=A0 =C2=A0 =C2=A0 CPUID_FXSR =C2=A0 =C2=A0 =C2=A00x01000000*= / > ----- > Uncomment it (inside /sys/amd64/include/specialreg.h) and rebuild > the stuff. =C2=A0Better will be to resync the sources, get rid of all > local modifications (if any) and rebuild. Argl yes... i remember commented this !@# line in oss source (thx symlinks) because oss fail on CPUID_FXSR .. Thx. > -- > Eygene > =C2=A0_ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0___ =C2=A0= =C2=A0 =C2=A0 _.--. =C2=A0 # > =C2=A0\`.|\..----...-'` =C2=A0 `-._.-'_.-'` =C2=A0 # =C2=A0Remember that = it is hard > =C2=A0/ =C2=A0' ` =C2=A0 =C2=A0 =C2=A0 =C2=A0 , =C2=A0 =C2=A0 =C2=A0 __.-= -' =C2=A0 =C2=A0 =C2=A0# =C2=A0to read the on-line manual > =C2=A0)/' _/ =C2=A0 =C2=A0 \ =C2=A0 `-_, =C2=A0 / =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0# =C2=A0while single-stepping the kernel. > =C2=A0`-'" `"\_ =C2=A0,_.-;_.-\_ ', =C2=A0fsc/as =C2=A0 # > =C2=A0 =C2=A0 _.-'_./ =C2=A0 {_.' =C2=A0 ; / =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 # =C2=A0 =C2=A0-- FreeBSD Developers handbook > =C2=A0 =C2=A0{_.-``-' =C2=A0 =C2=A0 =C2=A0 =C2=A0 {_/ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0# > --=20 rhaamo on irc.freenode.net/oftc/geeknode