Subject: bin/16416: New installboot cannot be cross-built on non-C99 systems.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <steve@mctavish.co.uk>
List: netbsd-bugs
Date: 04/19/2002 22:42:57
>Number:         16416
>Category:       bin
>Synopsis:       New installboot cannot be cross-built on non-C99 systems.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 19 14:44:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Steve Woodford
>Release:        NetBSD-current 19 apr 2002
>Organization:
>Environment:
System: NetBSD horace 1.5.1 NetBSD 1.5.1 (HORACE) #0: Sun Jun 24 12:39:16 BST 2001 root@horace:/export/src/netbsd/cvs/release/src/sys/arch/i386/compile/HORACE i386


>Description:
Cross building -current on a system without the <stdint.h> header file
breaks when compiling usr.sbin/installboot/installboot.c.

This headerfile is not available in pre-C99 systems, therefore some
other mechanism (perhaps autoconf? *duck*) should be used to divine
private definitions of the uintXX_t types.
>How-To-Repeat:
Try cross-building -current under 1.5.1, for example.
>Fix:
A workaround would be to back out some of the changes introduced in
usr.sbin/installboot/installboot.c 1.6.
>Release-Note:
>Audit-Trail:
>Unformatted: