NetBSD Problem Report #7081
Received: (qmail 12399 invoked from network); 4 Mar 1999 02:48:44 -0000
Message-Id: <199903040248.SAA06225@mathom.nas.nasa.gov>
Date: Wed, 3 Mar 1999 18:48:40 -0800 (PST)
From: Matthew Jacob <mjacob@nas.nasa.gov>
Reply-To: mjacob@nas.nasa.gov
To: gnats-bugs@gnats.netbsd.org
Subject: building alpha kernels with DEBUG on is broken
X-Send-Pr-Version: 3.95
>Number: 7081
>Category: port-alpha
>Synopsis: building alpha kernels with DEBUG on is broken
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-alpha-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 03 18:50:00 +0000 1999
>Closed-Date: Thu Mar 04 07:41:00 +0000 1999
>Last-Modified: Thu Mar 04 07:43:33 +0000 1999
>Originator:
>Release: Circa Feb 20...
>Organization:
>Environment:
System: NetBSD mathom.nas.nasa.gov 1.3I NetBSD 1.3I (ALPHA) #11: Tue Feb 2 13:17:27 PST 1999 mjacob@mathom.nas.nasa.gov:/space/NetBSD-current/src/sys/arch/alpha/compile/ALPHA alpha
>Description:
Various breakages in building a kernel with DEBUG on- I fixed
some, but when it goto things like:
cc1: warnings being treated as errors
--- uvm_mmap.o ---
../../../../uvm/uvm_mmap.c: In function `sys_mmap':
--- uvm_vnode.o ---
../../../../uvm/uvm_vnode.c: In function `uvn_attach':
--- uvm_mmap.o ---
../../../../uvm/uvm_mmap.c:244: warning: long long unsigned int format, long unsigned int arg (arg 2)
--- uvm_vnode.o ---
../../../../uvm/uvm_vnode.c:297: warning: long long unsigned int format, u_quad_t arg (arg 2)
../../../../uvm/uvm_vnode.c:302: warning: long long unsigned int format, u_quad_t arg (arg 3)
--- cpu.o ---
../../../../arch/alpha/alpha/cpu.c: In function `cpuattach':
../../../../arch/alpha/alpha/cpu.c:240: `sc' undeclared (first use in this function)
../../../../arch/alpha/alpha/cpu.c:240: (Each undeclared identifier is reported only once
../../../../arch/alpha/alpha/cpu.c:240: for each function it appears in.)
*** Error code 1
--- uvm_mmap.o ---
*** Error code 1
--- uvm_vnode.o ---
../../../../uvm/uvm_vnode.c: In function `uvm_vnp_setsize':
../../../../uvm/uvm_vnode.c:1926: warning: long long unsigned int format, u_quad_t arg (arg 3)
*** Error code 1
3 errors
mathom.nas.nasa.gov > make
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 ../../../../uvm/uvm_mmap.c
cc1: warnings being treated as errors
../../../../uvm/uvm_mmap.c: In function `sys_mmap':
../../../../uvm/uvm_mmap.c:244: warning: long long unsigned int format, long unsigned int arg (arg 2)
I saw that I couldn't just knock it off today myself, so decided to send-pr it
for future reference..
>How-To-Repeat:
Config and build with DEBUG enabled
>Fix:
Fix the source.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: chs
State-Changed-When: Wed Mar 3 23:41:00 PST 1999
State-Changed-Why:
remaining problems fixed, DEBUG kernels now build on alpha.
>Unformatted:
(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.