svn commit: r195197 - in stable/7/sys: . amd64/amd64 amd64/include contrib/pf dev/coretemp dev/hwpmc i386/cpufreq i386/i386 i386/include

Max Brazhnikov makc at issp.ac.ru
Wed Jul 8 10:03:46 UTC 2009


On Wed, 08 Jul 2009 11:27:33 +0300, Andriy Gapon wrote:
> on 08/07/2009 10:04 Max Brazhnikov said the following:
> > buildkernel fails for me with latest stable:
>
> I almost missed your message - so much of the original commit message you
> quoted :-) I can not reproduce this build failure here.
>
> What arch is this (I assumed i386)?
FreeBSD lqc.issp.ac.ru 7.2-STABLE FreeBSD 7.2-STABLE #2: Fri May  8 13:35:40 
MSD 2009     root at lqc.issp.ac.ru:/usr/obj/usr/src/sys/LQC  i386

> What method of obtaining/updating sources?
via cvsup7.ru.FreeBSD.org

> What non-standard/non-default flags?
only CPUTYPE?=core2, however GENERIC fails also even without CPUTYPE:

===> coretemp (all)
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -
fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -
mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-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
1 error



More information about the svn-src-all mailing list