Subject: toolchain/20193: build.sh options aren't sanity checked.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <david@netbsd.org>
List: netbsd-bugs
Date: 02/04/2003 03:56:40
>Number:         20193
>Category:       toolchain
>Synopsis:       build.sh fails awkwardly with -a set if host is incompatible
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 03 19:57:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Maxwell
>Release:        NetBSD-current
>Organization:
	
>Environment:
	
	
System: NetBSD homeworld.netbsd.org 1.5.3 NetBSD 1.5.3 (HOMEWORLD) #1: Mon Jul 22 00:47:39 CDT 2002 root@aurora.ait.iastate.edu:/usr/NetBSD/kernels/compile/HOMEWORLD i386
Architecture: i386
Machine: i386
>Description:
	
./build.sh -a mipseb [tools, build, whatever...]

will fail on a non-mips machine, because build.sh doesn't confirm that the implied
-m for the localhost is compatible with the specified -a

>How-To-Repeat:
	
>Fix:
	
Add more argument sanity checks.
>Release-Note:
>Audit-Trail:
>Unformatted: