NetBSD Problem Report #8241

Received: (qmail 29018 invoked from network); 20 Aug 1999 00:34:51 -0000
Message-Id: <199908200034.RAA18873@mail.demetriou.com>
Date: Thu, 19 Aug 1999 17:34:09 -0700 (PDT)
From: cgd@netbsd.org
Reply-To: cgd@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: NetBSD 1.4.x ALPHA kernel doesn't compile (LFS problems)
X-Send-Pr-Version: 3.95

>Number:         8241
>Category:       kern
>Synopsis:       LFS printf format problems prevent NetBSD 1.4.x ALPHA compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    perseant
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 19 17:35:01 +0000 1999
>Closed-Date:    Mon Sep 06 06:51:25 +0000 1999
>Last-Modified:  Mon Sep 06 06:52:36 +0000 1999
>Originator:     Chris G. Demetriou
>Release:        NetBSD 1.4.1 (cvs netbsd-1-4-PATCH001 tag) / 1.4 branch
>Organization:
Kernel Hackers 'r' Us
>Environment:
System: NetBSD alpha.int.demetriou.com 1.4.1 NetBSD 1.4.1 (CGD) #14: Fri Aug 6 22:00:10 PDT 1999 cgd@alpha.int.demetriou.com:/a/src/src-1-4-branch/sys/arch/alpha/compile/CGD alpha


>Description:
	[ this bug filed as 'kern' because though it showed itself to me
	on alpha, the problem is a bug in the generic kernel. ]

	NetBSD 1.4-branch ALPHA kernel doesn't compile, because lfs uses
	some incorrect printf formats:

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-main -mno-fp-regs -I. -I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DDEBUG -DNS -DLKM -DMAXUSERS=32 -D_KERNEL -Dalpha  -c ../../../../ufs/lfs/lfs_alloc.c
cc1: warnings being treated as errors
../../../../ufs/lfs/lfs_alloc.c: In function `lfs_vfree':
../../../../ufs/lfs/lfs_alloc.c:355: warning: int format, different type arg (arg 3)
*** Error code 1 (continuing)
cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-main -mno-fp-regs -I. -I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DDEBUG -DNS -DLKM -DMAXUSERS=32 -D_KERNEL -Dalpha  -c ../../../../ufs/lfs/lfs_segment.c
cc1: warnings being treated as errors
../../../../ufs/lfs/lfs_segment.c: In function `lfs_writeinode':
../../../../ufs/lfs/lfs_segment.c:738: warning: int format, different type arg (arg 3)
*** Error code 1 (continuing)

>How-To-Repeat:
	Compile NetBSD/alpha 1.4-branch ALPHA kernel.

>Fix:
	Fix the printf formats.  This seems to have been done in -current.

	Perhaps a good idea for the future: build more sample kernels
	so that they're known to compile at least...
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->perseant 
Responsible-Changed-By: hwr 
Responsible-Changed-When: Thu Sep 2 10:33:36 PDT 1999 
Responsible-Changed-Why:  
Konrad is Mister LFS. 
State-Changed-From-To: open->feedback 
State-Changed-By: perseant 
State-Changed-When: Thu Sep 2 12:24:01 PDT 1999 
State-Changed-Why:  
Requested pull-ups, will close when they go in. 

From: Konrad Schroder <perseant@hhhh.org>
To: cgd@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/8241: NetBSD 1.4.x ALPHA kernel doesn't compile (LFS problems)
Date: Thu, 2 Sep 1999 12:24:34 -0700 (PDT)

 I've resuested pull-ups for this, will close the PR after they are
 in.  Thanks for pointing out this problem....
 						Konrad Schroder
 						perseant@hhhh.org


From: Konrad Schroder <perseant@hhhh.org>
To: cgd@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/8241: NetBSD 1.4.x ALPHA kernel doesn't compile (LFS problems)
Date: Fri, 3 Sep 1999 09:06:21 -0700 (PDT)

 They're in, and if it works in -current, it should work in 1.4.x.  (It
 does, at least, for i386).  If you'd like to test it to make sure, that
 would be great...my access to a NetBSD/alpha machine is somewhat sporadic 
 at the moment.
 						Konrad Schroder
 						perseant@hhhh.org

State-Changed-From-To: feedback->closed 
State-Changed-By: cgd 
State-Changed-When: Sun Sep 5 23:51:25 PDT 1999 
State-Changed-Why:  
fixed, thanks! 
>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.