Subject: toolchain/15746: i386 installboot not cross build friendly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lukem@netbsd.org>
List: netbsd-bugs
Date: 02/27/2002 10:45:04
>Number:         15746
>Category:       toolchain
>Synopsis:       i386 installboot not cross build friendly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 26 15:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Luke Mewburn
>Release:        NetBSD 1.5ZA
>Organization:
>Environment:
System: NetBSD argo.mewburn.net 1.5ZA NetBSD 1.5ZA (ARGO) #0: Tue Jan 22 11:21:31 EST 2002 lukem@hippolyte:/var/scratch/obj.i386/sys/ARGO i386
Architecture: i386
Machine: i386
>Description:
	The i386 release uses $DESTDIR/usr/mdec/installboot to install
	bootblocks on the boot floppies, which is an i386 binary and
	therefore not cross-build friendly.
	Todd asked me to submit a PR for this so we wouldn't forget.

>How-To-Repeat:
	Try to cross-build an i386 release from another platform.

>Fix:
	Short term: make it a host tool.

	Long term:
	- fix the i386 boot blocks to work a la the alpha's; don't
	  hard-code in the blocks of /boot; instead search for /boot
	  in the file system.
	- work on an MI installboot framework
>Release-Note:
>Audit-Trail:
>Unformatted: