undefined reference to `cpu_fxsr'

Doug Rabson dfr at nlsystems.com
Sat Jun 4 15:37:38 GMT 2005


On Friday 03 June 2005 17:15, Jim Thompson wrote:
> 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.

I just committed a fix for this - try r1.2 of ptrace_machdep.c.



More information about the freebsd-current mailing list