Subject: port-i386/8874: sys/arch/i386/stand/biosboot_ser does not build
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael Richardson <mcr@solidum.com>
List: netbsd-bugs
Date: 11/25/1999 08:42:41
>Number:         8874
>Category:       port-i386
>Synopsis:       sys/arch/i386/stand/biosboot_ser needs objdir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 25 08:42:00 1999
>Last-Modified:
>Originator:     Michael Richardson
>Organization:
Solidum Systems Corporation, http://www.solidum.com
>Release:        NetBSD 1.4.1
>Environment:
	
System: NetBSD vonbrown 1.4.1 NetBSD 1.4.1 (VONBROWN) #12: Mon Nov 15 17:25:50 EST 1999 mcr@vonbrown:/usr/src/sys/arch/i386/compile/VONBROWN i386
Architecture: i386

>Description:
	If you have built /usr/src/sys/arch/i386/stand/biosboot
	without objdirs, then you can't build biosboot_ser. This is
	because some .o files exist in ../biosboot, and they don't
	get rebuilt in biosboot_ser.
	The problem goes away if you have object directories.

	
>How-To-Repeat:
	cd /usr/src/sys/arch/i386/stand
	find . -name "obj.*" -print | xargs rm -r
	make
	cd biosboot_ser
	make
	
>Fix:
	
	Move the .c files from stand/biosboot to a new stand/biosboot_common.
	I will do this if no-one objects.
	Workaround is to use object files, or make clean in biosboot
	first.

>Audit-Trail:
>Unformatted: