coretemp(4) build broken in recent STABLE?

Marat N.Afanasyev amarat at ksu.ru
Thu Jul 16 09:43:06 UTC 2009


i have 7.2-S csupped to today midnight and while trying to build kernel 
i have the following error:

===> coretemp (all)
cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -msse2 -msse3 -m3dnow 
-march=athlon64  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc 
-DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/ZEALOT/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer 
-I/usr/obj/usr/src/sys/ZEALOT -mcmodel=kernel -mno-red-zone 
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -c 
/usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c
/usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c: In function 
'coretemp_identify':
/usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:98: error: 
'cpu_vendor_id' undeclared (first use in this function)
/usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:98: error: 
(Each undeclared identifier is reported only once
/usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:98: error: 
for each function it appears in.)
/usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:98: error: 
'CPU_VENDOR_INTEL' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/sys/modules/coretemp.
*** Error code 1

i've tried to find either cpu_vendor_id or CPU_VENDOR_INTEL in source 
tree, but didn't succeeded. can anybody reproduce this error? and can 
anybody tell how to fix it? :)

-- 
SY, Marat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3221 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090716/09029807/smime.bin


More information about the freebsd-stable mailing list