From owner-freebsd-current@FreeBSD.ORG Mon Feb 16 16:18:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0550F16A4CE; Mon, 16 Feb 2004 16:18:06 -0800 (PST) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6FCA43D1D; Mon, 16 Feb 2004 16:18:05 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i1H0HJHQ009109; Mon, 16 Feb 2004 19:17:19 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <4030AC7C.6000902@cinci.rr.com> References: <200402161104.37429.fritz.heinrichmeyer@fernuni-hagen.de> <4030AC7C.6000902@cinci.rr.com> Date: Mon, 16 Feb 2004 19:17:18 -0500 To: Mike Berning , ru@FreeBSD.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-current@FreeBSD.org cc: Fritz Heinrichmeyer Subject: Re: buildworld failure in /usr/src/sys/boot/i386/boot2 this morning X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Feb 2004 00:18:06 -0000 At 6:41 AM -0500 2/16/04, Mike Berning wrote: > >Fritz Heinrichmeyer wrote: > >>cc -Os -fno-guess-branch-probability -fomit-frame-pointer >> -mno-align-long-strings -mrtd -DUFS1_AND_UFS2 >> -I/usr/src/sys/boot/i386/boot2/../../common >> -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. >> -Wall -Waggregate-return -Wbad-function-cast -Wcast-align >> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs >> -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings >> -ffreestanding -mpreferred-stack-boundary=2 >> -c /usr/src/sys/boot/i386/boot2/sio.S >>/var/tmp//ccrYtMTN.s: Assembler messages: >>/var/tmp//ccrYtMTN.s:84: Error: undefined symbol `SIOSPD' in >>operation setting `SIO_DIV' >>/var/tmp//ccrYtMTN.s:35: Error: undefined symbol `SIO_FMT' in operation >>/var/tmp//ccrYtMTN.s:39: Error: value of 115200 too large for field >>of 2 bytes at 13 In a different thread, Simon suggested that: "Adding an edited copy of the boot1.o target for sio.o to the Makefile seemed to work for me (at least I ended up with a boot2 binary identical to my existing /boot/boot2 - I haven't rebooted yet as I'm still building the kernel)." Based on that advice, I added the rule: sio.o: sio.s ${CPP} ${CFLAGS} ${.CURDIR}/sio.s | \ ${AS} ${AFLAGS} -o ${.TARGET} before the line that starts with "CLEANFILES+= boot2" in /usr/src/sys/boot/i386/boot2/Makefile This seems to have solved the problem for me. I have not committed this change, though, as it may be that some other change would be more appropriate. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu