From owner-freebsd-amd64@FreeBSD.ORG Thu Aug 2 02:07:51 2012 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 41DDD106566B for ; Thu, 2 Aug 2012 02:07:51 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id CA3268FC08 for ; Thu, 2 Aug 2012 02:07:50 +0000 (UTC) Received: by eaak11 with SMTP id k11so962526eaa.13 for ; Wed, 01 Aug 2012 19:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PpAaYA5NO3gi3bi81SKkMKZq2pG9Rz+abPSFXKvnNmw=; b=QPihj51tpYDpLScJQlJhDI/GsB1DUUT5OqlgHFNba1xm+WGrjcXgQyFnmJqM8Aeawy 6SQ+1iIv98aN6KTJUQieOXeEgUnN6SP/Us/gxwyhJ+JCW/SR2RUjrOBoo+dJIGaqs3VT fc0UBuOkxIVuCjEEi02EksituzAaah9+f3OyUT5M5nG4VYwY7JM+ihcZWlruvNw63U7L llj9JzUVZDG3R5qtq7/07dFNOth1lESNV4s1RLyG+kLzWtJE2LmbxD1CjrVOJWY6Hz+/ yHyqlvPALGYmTzMDhsYU79gfLZU8/MBUEdmvaXg91/hWcDvS3kPTvJ/1kSUfg3FhOFDV Eh6Q== MIME-Version: 1.0 Received: by 10.14.181.132 with SMTP id l4mr3342925eem.17.1343873264444; Wed, 01 Aug 2012 19:07:44 -0700 (PDT) Received: by 10.14.177.3 with HTTP; Wed, 1 Aug 2012 19:07:44 -0700 (PDT) In-Reply-To: <20120802013527.GA87188@mikea.ath.cx> References: <20120802013527.GA87188@mikea.ath.cx> Date: Wed, 1 Aug 2012 21:07:44 -0500 Message-ID: From: Scot Hetzel To: mike andrews Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-amd64@freebsd.org Subject: Re: no such instructions: xsave, xsetbv, xrstor 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, 02 Aug 2012 02:07:51 -0000 On Wed, Aug 1, 2012 at 8:35 PM, mike andrews wrote: > On Sat, Jul 21, 2012 at 07:55:23PM +0200, Arvydas Sidorenko wrote: >> This is the output I get when building 10-CURRENT from HEAD: >> /usr/src/sys/amd64/amd64/cpu_switch.S: Assembler messages: >> /usr/src/sys/amd64/amd64/cpu_switch.S:128: Error: no such instruction: >> `xsave (%r8)' >> /usr/src/sys/amd64/amd64/cpu_switch.S:504: Error: no such instruction: >> `xsetbv' >> /usr/src/sys/amd64/amd64/cpu_switch.S:505: Error: no such instruction: >> `xrstor (%rbx)' > > Apologies for not replying into the thread, but I just subscribed and > don't have that luxury until some listmail arrives for this thread. > > I'm getting the same problem doing a `make buildkernel KERNCONF=GENERIC` > on an amd64 system (Intel core i5 4-way): > Did you do a `make clean && make buildworld` before your `make buildkernel`? Scot