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

Andriy Gapon avg at freebsd.org
Wed Jul 8 08:43:21 UTC 2009


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)?
What method of obtaining/updating sources?
What non-standard/non-default flags?

> ===> coretemp (all)
> cc -O2 -fno-strict-aliasing -pipe -march=prescott  -D_KERNEL -DKLD_MODULE -
> std=c99 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
> /usr/obj/usr/src/sys/LQC/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/LQC -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
> 
> Stop in /usr/src/sys/modules/coretemp.
> *** Error code 1

-- 
Andriy Gapon


More information about the svn-src-stable-7 mailing list