From owner-cvs-all@FreeBSD.ORG Sat Oct 27 12:37:07 2007 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9186716A417; Sat, 27 Oct 2007 12:37:07 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id C349913C4B9; Sat, 27 Oct 2007 12:37:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 7BEE3471D4; Sat, 27 Oct 2007 08:37:05 -0400 (EDT) Date: Sat, 27 Oct 2007 13:37:05 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: John Baldwin In-Reply-To: <200710261219.43878.jhb@freebsd.org> Message-ID: <20071027133621.I88930@fledge.watson.org> References: <200710242133.l9OLX05K085372@repoman.freebsd.org> <20071025220146.GA13705@troutmask.apl.washington.edu> <20071025233901.Y99770@fledge.watson.org> <200710261219.43878.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Steve Kargl Subject: Re: cvs commit: src/sys/sys gpt.h src/lib/libstand Makefile src/sbin/gpt Makefile add.c boot.c gpt.8 gpt.c gpt.h show.c src/sys/boot/common ufsread.c src/sys/boot/i386 Makefile src/sys/boot/i386/gptboot Makefile gptboot.c gptldr.S ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2007 12:37:07 -0000 On Fri, 26 Oct 2007, John Baldwin wrote: >>> I pulled sources via anoncvs about an hour ago. rm -rf /usr/obj/* cd >>> /usr/src make buildworld >>> >>> cc -Os -fno-guess-branch-probability -fomit-frame-pointer >>> -fno-unit-at-a-time -mno-align-l ong-strings -mrtd -mno-mmx -mno-3dnow >>> -mno-sse -mno-sse2 -mno-sse3 -DUFS1_AND_UFS2 -DSIOPR T=0x3f8 -DSIOFMT=0x3 >>> -DSIOSPD=9600 -I/usr/src/sys/boot/i386/gptboot/../../common -I/usr/sr >>> > c/sys/boot/i386/gptboot/../btx/lib -I/usr/src/sys/boot/i386/gptboot/../boot2 >>> -Wall -Waggrega te-return -Wbad-function-cast -Wcast-align >>> -Wmissing-declarations -Wmissing-prototypes -Wnest ed-externs >>> -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Winline >>> --param max -inline-insns-single=100 -ffreestanding >>> -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno -sse -mno-sse2 >>> -mno-sse3 -m32 -march=i386 -c /usr/src/sys/boot/i386/gptboot/gptboot.c >>> /usr/src/sys/boot/i386/gptboot/gptboot.c:24:30: error: machine/bootinfo.h: >>> No such file or dir ectory /usr/src/sys/boot/i386/gptboot/gptboot.c: In >>> function 'main': /usr/src/sys/boot/i386/gptboot/gptboot.c:243: error: >>> invalid use of undefined type 'struct boo tinfo' >>> /usr/src/sys/boot/i386/gptboot/gptboot.c:243: error: 'BOOTINFO_VERSION' >>> undeclared (first use in this function) >>> /usr/src/sys/boot/i386/gptboot/gptboot.c:243: error: (Each undeclared >>> identifier is reported o nly once >>> /usr/src/sys/boot/i386/gptboot/gptboot.c:243: error: for each function it >>> appears in.) /usr/src/sys/boot/i386/gptboot/gptboot.c:244: error: invalid >>> use of undefined type 'struct boo tinfo' >>> >>> troutmask:root[250] find /usr/src -name bootinfo.h >>> /usr/src/sys/i386/include/bootinfo.h /usr/src/sys/ia64/include/bootinfo.h >> >> /usr/src/sys/pc98/include/bootinfo.h >> /usr/src/sys/powerpc/include/bootinfo.h >>> >>> So what am I missing? >> >> I'm seeing the same problem with a cross-build of amd64 from i386--I also >> tried blowing away the object tree and it didn't appear to help. > > Should be fixed now. I'm now running into trouble with installworld on i486: cc -Os -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time -mno-align-long-strings -mrtd -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -DUFS1_AND_UFS2 -DSIOPRT=0x3f8 -DSIOFMT=0x3 -DSIOSPD=9600 -I/usr/src/sys/boot/i386/gptboot/../../common -I/usr/src/sys/boot/i386/gptboot/../btx/lib -I. -I/usr/src/sys/boot/i386/gptboot/../boot2 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -c /usr/src/sys/boot/i386/gptboot/gptboot.c ld -static -N --gc-sections -nostdlib -Ttext 0x0 -o gptboot.out /usr/obj/usr/src/sys/boot/i386/gptboot/../btx/lib/crt0.o gptboot.o sio.o objcopy -S -O binary gptboot.out gptboot.bin btxld -v -E 0x0 -f bin -b /usr/obj/usr/src/sys/boot/i386/gptboot/../btx/btx/btx -l gptldr.bin -o gptboot gptboot.bin btxld:No such file or directory *** Error code 1 Stop in /usr/src/sys/boot/i386/gptboot. *** Error code 1 Robert N M Watson Computer Laboratory University of Cambridge