Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2005 16:37:23 +0100
From:      Doug Rabson <dfr@nlsystems.com>
To:        freebsd-current@freebsd.org
Cc:        Craig Boston <craig@xfoil.gank.org>, Jim Thompson <jim@netgate.com>, current@freebsd.org
Subject:   Re: undefined reference to `cpu_fxsr'
Message-ID:  <200506041637.24988.dfr@nlsystems.com>
In-Reply-To: <C71DA766-9C31-44EE-BCFA-25AD776C8EB6@netgate.com>
References:  <20050531180503.GB55256@nowhere> <C71DA766-9C31-44EE-BCFA-25AD776C8EB6@netgate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506041637.24988.dfr>