Subject: lib/7812: Failure building libarch in -current (arm32)
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Earnshaw <rearnsha@cambridge.arm.com>
List: netbsd-bugs
Date: 06/19/1999 05:05:43
>Number:         7812
>Category:       lib
>Synopsis:       Failure building libarch in -current (arm32)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 19 05:05:00 1999
>Last-Modified:
>Originator:     Richard Earnshaw
>Organization:
ARM
-- 
>Release:        NetBSD-current (June-1999)<NetBSD-current source date>
>Environment:
	
System: NetBSD shark1 1.4D NetBSD 1.4D (SHARK) #40: Fri Jun 18 17:14:00 BST 1999 rearnsha@shark1:/usr/src/sys/arch/arm32/compile/SHARK arm32


>Description:
	Compiling lib/libarch for arm32 dies with a warning->error after 
	re-organization of the libarch Makefiles.  This occurs because the
	compiler is now being invoked with -Wmissing-prototypes and sysarch()
	has no prototype in any header files.
	
>How-To-Repeat:
	Run make in lib/libarch for any arm32 platform.
	
>Fix:
	Add prototype for sysarch() to a header file somewhere:
	machine/sysarch.h?
	
>Audit-Trail:
>Unformatted: