From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 17:56:11 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E64A7106566B; Tue, 24 Feb 2009 17:56:11 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id B70A28FC1D; Tue, 24 Feb 2009 17:56:11 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id 59BA146B09; Tue, 24 Feb 2009 12:56:11 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n1OHtlXJ025092; Tue, 24 Feb 2009 12:55:47 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 24 Feb 2009 12:54:56 -0500 User-Agent: KMail/1.9.7 References: <49A37DBF.60702@elischer.org> In-Reply-To: <49A37DBF.60702@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902241254.57223.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 24 Feb 2009 12:55:47 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/9040/Tue Feb 24 06:12:28 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Julian Elischer , 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: Tue, 24 Feb 2009 17:56:12 -0000 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? -- John Baldwin