NetBSD Problem Report #16416

Received: (qmail 27634 invoked from network); 19 Apr 2002 21:43:04 -0000
Message-Id: <200204192142.g3JLgvM16117@horace.mctavish.co.uk>
Date: Fri, 19 Apr 2002 22:42:57 +0100 (BST)
From: steve@mctavish.co.uk
Reply-To: steve@mctavish.co.uk
To: gnats-bugs@gnats.netbsd.org
Subject: New installboot cannot be cross-built on non-C99 systems.
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 19 21:44:00 +0000 2002
>Closed-Date:    Fri Apr 19 22:49:26 +0000 2002
>Last-Modified:  Fri Apr 19 22:49:26 +0000 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: tv 
State-Changed-When: Fri Apr 19 15:47:44 PDT 2002 
State-Changed-Why:  
This is fixed in rev. 1.17 of src/tools/compat/configure 
(It now generates an empty <stdint.h> if it doesn't exist; this does not 
cause problems with uint_* using programs, as there are compat defines 
for those.) 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.