NetBSD Problem Report #9185
Received: (qmail 5798 invoked from network); 13 Jan 2000 20:41:58 -0000
Message-Id: <200001132041.NAA21769@giauzar.garbled.net>
Date: Thu, 13 Jan 2000 13:41:09 -0700 (MST)
From: Charlie Root <root@giauzar.garbled.net>
Reply-To: root@garbled.net
To: gnats-bugs@gnats.netbsd.org
Subject: lint annoyances in -current builds on alpha
X-Send-Pr-Version: 3.95
>Number: 9185
>Category: port-alpha
>Synopsis: lint annoyances in -current builds on alpha
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: thorpej
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 13 12:45:00 +0000 2000
>Closed-Date: Fri Jul 02 04:41:42 +0000 2004
>Last-Modified: Fri Jul 02 04:41:42 +0000 2004
>Originator: Tim Rightnour
>Release: 1.4P
>Organization:
>Environment:
System: NetBSD giauzar 1.4.2_ALPHA NetBSD 1.4.2_ALPHA (GIAUZAR) #1: Fri Dec 24 17:25:12 MST 1999 root@giauzar:/usr/src/1.4.2/syssrc/sys/arch/alpha/compile/GIAUZAR alpha
-current of 1/13/2000
>Description:
The following lint messages occur about 200 times each in a build of
-current. While not really a problem.. it's slightly annoying.
/build/root/usr/include/machine/alpha_cpu.h(351): warning: static function
alpha_pal_swpctx unused
/build/root/usr/include/machine/alpha_cpu.h(353): warning: static function
alpha_pal_swpipl unused
/build/root/usr/include/machine/alpha_cpu.h(355): warning: static function
alpha_pal_tbi unused
/build/root/usr/include/machine/alpha_cpu.h(357): warning: static function
alpha_pal_whami unused
/build/root/usr/include/machine/alpha_cpu.h(359): warning: static function
alpha_pal_wrfen unused
/build/root/usr/include/machine/alpha_cpu.h(361): warning: static function
alpha_pal_wripir unused
/build/root/usr/include/machine/alpha_cpu.h(363): warning: static function
alpha_pal_wrusp unused
/build/root/usr/include/machine/alpha_cpu.h(365): warning: static function
alpha_pal_wrmces unused
/build/root/usr/include/machine/alpha_cpu.h(367): warning: static function
alpha_pal_wrval unused
/build/root/usr/include/machine/atomic.h(47): warning: static function
alpha_atomic_setbits_q unused
/build/root/usr/include/machine/atomic.h(49): warning: static function
alpha_atomic_clearbits_q unused
There are a few others..
>How-To-Repeat:
Just make build on an alpha
>Fix:
Dunno.. I don't see a handy FUNCUSED lint directive. While not being
critical.. it's a bit annoying.. and makes my build logs much larger.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-alpha-maintainer->thorpej
Responsible-Changed-By: thorpej
Responsible-Changed-When: Tue Jan 25 15:00:34 PST 2000
Responsible-Changed-Why:
Bug is my fault, I'll fix.
State-Changed-From-To: open->analyzed
State-Changed-By: thorpej
State-Changed-When: Sun Mar 5 12:07:18 PST 2000
State-Changed-Why:
This appears to actually be a bug in lint(1). lint(1) is supposed
to suppress these warnings if a function is INLINE, however INLINE
appears to not get set in the function's declaration info. I will
investigate the problem further as soon as I have the chance.
State-Changed-From-To: analyzed->closed
State-Changed-By: jmc
State-Changed-When: Fri Jul 2 04:41:23 UTC 2004
State-Changed-Why:
Not seeing these at all w. -current source, current lint, etc when doing an
alpha build.
>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.