From owner-freebsd-current@FreeBSD.ORG  Mon Feb 16 12:09:05 2004
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
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 DA0DF16A4CE
	for <freebsd-current@freebsd.org>;
	Mon, 16 Feb 2004 12:09:05 -0800 (PST)
Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 60A7843D31
	for <freebsd-current@freebsd.org>;
	Mon, 16 Feb 2004 12:09:05 -0800 (PST)	(envelope-from bde@zeta.org.au)
Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au
	[61.8.0.87])i1GK8v5O007025;	Tue, 17 Feb 2004 07:08:57 +1100
Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246])
	i1GK8sch031055;	Tue, 17 Feb 2004 07:08:56 +1100
Date: Tue, 17 Feb 2004 07:08:54 +1100 (EST)
From: Bruce Evans <bde@zeta.org.au>
X-X-Sender: bde@gamplex.bde.org
To: Fritz Heinrichmeyer <fritz.heinrichmeyer@fernuni-hagen.de>
In-Reply-To: <200402161104.37429.fritz.heinrichmeyer@fernuni-hagen.de>
Message-ID: <20040217065156.C14659@gamplex.bde.org>
References: <200402161104.37429.fritz.heinrichmeyer@fernuni-hagen.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: freebsd-current@freebsd.org
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
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Feb 2004 20:09:06 -0000

On Mon, 16 Feb 2004, Fritz Heinrichmeyer wrote:

> as  --defsym FLAGS=0x80  --defsym SIOPRT=0x3f8  --defsym SIOFMT=0x3  --defsym
> SIOSPD=9600 -o boot2.o boot2.s
> 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
>
> cc also should be informed about the defined symbols ....

cc shouldn't be run to build sio.o.

This problem seems to be caused by a recent repo-copy of sio.S from sio.s.
sio.s works, but sio.S is preferred although it has not been connected to
the build.

boot1.S was repo-copied not so recently from boot1.s, but this doesn't
caused problems because there is an explicit rule for building boot1.o
from boot1.s, so boot1.S is not preferred.

Bruce