From owner-freebsd-stable@FreeBSD.ORG Sun Dec 20 10:50:41 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21287106568F for ; Sun, 20 Dec 2009 10:50:41 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 496EB8FC16 for ; Sun, 20 Dec 2009 10:50:40 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA12249; Sun, 20 Dec 2009 12:37:39 +0200 (EET) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1NMJAR-0007ir-0a; Sun, 20 Dec 2009 12:37:39 +0200 Message-ID: <4B2DFE0F.4000700@freebsd.org> Date: Sun, 20 Dec 2009 12:35:59 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091128) MIME-Version: 1.0 To: David Wolfskill , stable@freebsd.org References: <20091219133511.GI470@bunrab.catwhisker.org> In-Reply-To: <20091219133511.GI470@bunrab.catwhisker.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Failure during GENERIC (i386) kernel build at r200721 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2009 10:50:41 -0000 on 19/12/2009 15:35 David Wolfskill said the following: > 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 > ... >>>> stage 3.2: building everything > ... > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/i386/i386/machdep.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -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 'CPUID_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 'CPUID_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 . > ./sys/i386/i386/.svn/text-base/mca.c.svn-base:510: if (i == 0 && CPUID_TO_FAMILY(cpu_id) == 0x6 > ./sys/i386/i386/.svn/text-base/mca.c.svn-base:515: if (i == 4 && CPUID_TO_FAMILY(cpu_id) >= 0xf) > ./sys/i386/i386/mca.c:510: if (i == 0 && CPUID_TO_FAMILY(cpu_id) == 0x6 > ./sys/i386/i386/mca.c:515: if (i == 4 && CPUID_TO_FAMILY(cpu_id) >= 0xf) > ./sys/amd64/amd64/.svn/text-base/mca.c.svn-base:510: if (i == 0 && CPUID_TO_FAMILY(cpu_id) == 0x6 > ./sys/amd64/amd64/.svn/text-base/mca.c.svn-base:515: if (i == 4 && CPUID_TO_FAMILY(cpu_id) >= 0xf) > ./sys/amd64/amd64/mca.c:510: if (i == 0 && CPUID_TO_FAMILY(cpu_id) == 0x6 > ./sys/amd64/amd64/mca.c:515: if (i == 4 && CPUID_TO_FAMILY(cpu_id) >= 0xf) > freebeast(7.2-S)[10] > > [cut/pasted, so whitespace may not match]. > > Was a definition or two overlooked? My apologies, this is a result of me not being attentive and taking shortcuts during MFC. The breakage should be fixed as of r200742. -- Andriy Gapon