Building kernel : CPUID_FXSR undeclared (first use...)

Eygene Ryabinkin rea-fbsd at codelabs.ru
Thu Jul 9 08:19:50 UTC 2009


Thu, Jul 09, 2009 at 10:11:09AM +0200, Lagrange Marc wrote:
> > And what is inside the file 'machine/specialreg.h' when you're sitting
> > in the same directory?
> 
> File here : http://banane.rhaamo.li/bugs/CPUID_FXSR/specialreg.h

Then, it is simple: you had manually commented the line 105:
-----
/*#define       CPUID_FXSR      0x01000000*/
-----
Uncomment it (inside /sys/amd64/include/specialreg.h) and rebuild
the stuff.  Better will be to resync the sources, get rid of all
local modifications (if any) and rebuild.
-- 
Eygene
 _                ___       _.--.   #
 \`.|\..----...-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' `         ,       __.--'      #  to read the on-line manual
 )/' _/     \   `-_,   /            #  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
     _.-'_./   {_.'   ; /           #    -- FreeBSD Developers handbook
    {_.-``-'         {_/            #


More information about the freebsd-amd64 mailing list