From owner-freebsd-current@FreeBSD.ORG Thu Feb 26 01:10:01 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CCFF106564A for ; Thu, 26 Feb 2009 01:10:01 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outR.internet-mail-service.net (outr.internet-mail-service.net [216.240.47.241]) by mx1.freebsd.org (Postfix) with ESMTP id 8407A8FC1D for ; Thu, 26 Feb 2009 01:10:01 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 23D5924AD; Wed, 25 Feb 2009 17:10:01 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 628362D601A; Wed, 25 Feb 2009 17:10:00 -0800 (PST) Message-ID: <49A5EBE7.1010200@elischer.org> Date: Wed, 25 Feb 2009 17:09:59 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: John Baldwin References: <49A37DBF.60702@elischer.org> <200902241254.57223.jhb@freebsd.org> In-Reply-To: <200902241254.57223.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, FreeBSD Current Subject: Re: bootblocks compile broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 01:10:02 -0000 John Baldwin wrote: > On Monday 23 February 2009 11:55:27 pm Julian Elischer wrote: >> # cd /sys/boot/i386 >> # make >> >> [...] >> >> cc -O2 -pipe -DLOADER_NFS_SUPPORT -DCOMPORT=0x3f8 -DCOMSPEED=9600 >> -DSMBIOS_SERIAL_NUMBERS -DTERM_EMU -Dalloca=__builtin_alloca >> -I/usr/src/sys/boot/i386/libi386/../../common >> -I/usr/src/sys/boot/i386/libi386/../btx/lib >> -I/usr/src/sys/boot/i386/libi386/../../../contrib/dev/acpica >> -I/usr/src/sys/boot/i386/libi386/../../.. >> -I. >> -I/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/ >> -ffreestanding -mpref >> -mno-sse -mno-sse2 >> -mno-sse3 >> -c /usr/src/sys/boot/i386/libi386/bootinfo64.c >> >> /usr/src/sys/boot/i386/libi386/bootinfo64.c: In function 'bi_checkcpu': >> /usr/src/sys/boot/i386/libi386/bootinfo64.c:155: error: >> 'CENTAUR_VENDOR_ID' undeclared (first use in this function) >> /usr/src/sys/boot/i386/libi386/bootinfo64.c:155: error: (Each >> undeclared identifier is reported only once >> /usr/src/sys/boot/i386/libi386/bootinfo64.c:155: error: for each >> function it appears in.) >> *** Error code 1 >> >> Stop in /usr/src/sys/boot/i386/libi386. >> *** Error code 1 >> >> this is defined in specialreg.h >> but in "machine/specialreg.h" >> there is no 'machine' as such >> >> I suspect that someone expected to only compile bootblocks as part of >> a system build? >> >> not sure what the "correct" fix is.. > > I think you have a stale tree. What branch are you building and which arch? > -current and I deleted /sys/boot and re-checked it out and got the same result.