undefined reference to `cpu_fxsr'

Jim Thompson jim at netgate.com
Fri Jun 3 16:16:03 GMT 2005


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.


More information about the freebsd-current mailing list