Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2009 05:35:11 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Subject:   Failure during GENERIC (i386) kernel build at r200721
Message-ID:  <20091219133511.GI470@bunrab.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--l06SQqiZYCi8rTKz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Attempted clean kernel build, running

FreeBSD freebeast.catwhisker.org 7.2-STABLE FreeBSD 7.2-STABLE #11 r200664:=
 Fri Dec 18 05:18:46 PST 2009     root@freebeast.catwhisker.org:/common/S2/=
obj/usr/src/sys/GENERIC  i386

[Immediately following a "make buldworld"...]
>>> Kernel build for GENERIC started on Sat Dec 19 05:05:56 PST 2009
=2E..
>>> stage 3.2: building everything
=2E..
cc -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wst=
rict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =
 -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sy=
s -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu=
de opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growt=
h=3D100 --param large-function-growth=3D1000  -mno-align-long-strings -mpre=
ferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3=
 -ffreestanding -Werror  /usr/src/sys/i386/i386/machdep.c
cc -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wst=
rict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =
 -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sy=
s -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu=
de opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growt=
h=3D100 --param large-function-growth=3D1000  -mno-align-long-strings -mpre=
ferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3=
 -ffreestanding -Werror  /usr/src/sys/i386/i386/mca.c
cc1: warnings being treated as errors
/usr/src/sys/i386/i386/mca.c: In function 'mca_init':
/usr/src/sys/i386/i386/mca.c:510: warning: implicit declaration of function=
 'CPUID_TO_FAMILY'
/usr/src/sys/i386/i386/mca.c:510: warning: nested extern declaration of 'CP=
UID_TO_FAMILY'
/usr/src/sys/i386/i386/mca.c:511: warning: implicit declaration of function=
 'CPUID_TO_MODEL'
/usr/src/sys/i386/i386/mca.c:511: warning: nested extern declaration of 'CP=
UID_TO_MODEL'
*** Error code 1

Stop in /common/S2/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


As a reality check:

freebeast(7.2-S)[8] cd /usr/src
freebeast(7.2-S)[9] grep -wnr CPUID_TO_FAMILY .
=2E/sys/i386/i386/.svn/text-base/mca.c.svn-base:510:                       =
      if (i =3D=3D 0 && CPUID_TO_FAMILY(cpu_id) =3D=3D 0x6
=2E/sys/i386/i386/.svn/text-base/mca.c.svn-base:515:                       =
      if (i =3D=3D 4 && CPUID_TO_FAMILY(cpu_id) >=3D 0xf)
=2E/sys/i386/i386/mca.c:510:                              if (i =3D=3D 0 &&=
 CPUID_TO_FAMILY(cpu_id) =3D=3D 0x6
=2E/sys/i386/i386/mca.c:515:                              if (i =3D=3D 4 &&=
 CPUID_TO_FAMILY(cpu_id) >=3D 0xf)
=2E/sys/amd64/amd64/.svn/text-base/mca.c.svn-base:510:                     =
      if (i =3D=3D 0 && CPUID_TO_FAMILY(cpu_id) =3D=3D 0x6
=2E/sys/amd64/amd64/.svn/text-base/mca.c.svn-base:515:                     =
      if (i =3D=3D 4 && CPUID_TO_FAMILY(cpu_id) >=3D 0xf)
=2E/sys/amd64/amd64/mca.c:510:                            if (i =3D=3D 0 &&=
 CPUID_TO_FAMILY(cpu_id) =3D=3D 0x6
=2E/sys/amd64/amd64/mca.c:515:                            if (i =3D=3D 4 &&=
 CPUID_TO_FAMILY(cpu_id) >=3D 0xf)
freebeast(7.2-S)[10]=20

[cut/pasted, so whitespace may not match].

Was a definition or two overlooked?

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--l06SQqiZYCi8rTKz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iEYEARECAAYFAkss1o4ACgkQmprOCmdXAD3YkACeMU0FSamBrgLzNZZzVQ9nhGzE
ujMAn3j6M/pbIS6GaGe70tWbCt/hclyo
=az/6
-----END PGP SIGNATURE-----

--l06SQqiZYCi8rTKz--



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