From owner-freebsd-current@FreeBSD.ORG Fri Jun 3 16:16:02 2005 Return-Path: X-Original-To: current@freebsd.org 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 E37D816A41C for ; Fri, 3 Jun 2005 16:16:02 +0000 (GMT) (envelope-from jim@netgate.com) Received: from netgate.com (mail.netgate.com [64.62.194.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA0EB43D49 for ; Fri, 3 Jun 2005 16:16:02 +0000 (GMT) (envelope-from jim@netgate.com) Received: by netgate.com (Postfix, from userid 45) id 6C55D280041; Fri, 3 Jun 2005 09:16:00 -0700 (PDT) Received: from [192.168.1.191] (rrcs-67-52-77-54.west.biz.rr.com [67.52.77.54]) by netgate.com (Postfix) with ESMTP id 37B3628003C; Fri, 3 Jun 2005 09:15:59 -0700 (PDT) In-Reply-To: <20050531180503.GB55256@nowhere> References: <20050531180503.GB55256@nowhere> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jim Thompson Date: Fri, 3 Jun 2005 06:15:56 -1000 To: Craig Boston X-Mailer: Apple Mail (2.730) X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on he-colo.netgate.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 Cc: current@freebsd.org Subject: Re: undefined reference to `cpu_fxsr' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2005 16:16:03 -0000 On May 31, 2005, at 8:05 AM, Craig Boston wrote: > [...] > linking kernel > ptrace_machdep.o(.text+0xb): In function `cpu_ptrace': > : undefined reference to `cpu_fxsr' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/SOEKRIS. > *** Error code 1 > > This seems to be related to the new ptrace_machdep.c file. All other > references to cpu_fxsr I can find are wrapped by #ifdef CPU_ENABLE_SSE > I just ran into the same thing. Seems to be a problem whenever you don't have cpu I686_CPU in your KERNCONF file. Used the same patch.