From owner-freebsd-amd64@FreeBSD.ORG Thu Aug 2 01:35:29 2012 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F908106566B for ; Thu, 2 Aug 2012 01:35:29 +0000 (UTC) (envelope-from mikea@mikea.ath.cx) Received: from mikea.ath.cx (mikea.ath.cx [70.164.65.62]) by mx1.freebsd.org (Postfix) with ESMTP id E04818FC15 for ; Thu, 2 Aug 2012 01:35:28 +0000 (UTC) Received: from mikea.ath.cx (localhost [127.0.0.1]) by mikea.ath.cx (8.14.5/8.14.5) with ESMTP id q721ZR99087315 for ; Wed, 1 Aug 2012 20:35:28 -0500 (CDT) (envelope-from mikea@mikea.ath.cx) Received: (from mikea@localhost) by mikea.ath.cx (8.14.5/8.14.5/Submit) id q721ZRcN087314 for freebsd-amd64@freebsd.org; Wed, 1 Aug 2012 20:35:27 -0500 (CDT) (envelope-from mikea) Date: Wed, 1 Aug 2012 20:35:27 -0500 From: mike andrews To: freebsd-amd64@freebsd.org Message-ID: <20120802013527.GA87188@mikea.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: 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 01:35:29 -0000 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): : $ as --version : GNU assembler 2.17.50 [FreeBSD] 2007-07-03 : Copyright 2007 Free Software Foundation, Inc. : This program is free software; you may redistribute it under the terms of : the GNU General Public License. This program has absolutely no warranty. : This assembler was configured for a target of `x86_64-unknown-freebsd'. : $ gcc --version : gcc (GCC) 4.2.1 20070831 patched [FreeBSD] : Copyright (C) 2007 Free Software Foundation, Inc. : This is free software; see the source for copying conditions. There is NO : warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. : : $ uname -a : FreeBSD mikea.ath.cx 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Is the assembler somehow configured for the wrong target machine? I did a cvsup this morning to pull me to the most recent source code level, and still have the same problem. Ideas? Questions? This appears a bit more pervasive than I had initially thought, if this Joe User here (well, Joe Sysadmin) is getting caught by it. Thanks, and 73, de -- Mike Andrews, W5EGO mikea@mikea.ath.cx Tired old sysadmin