Subject: port-alpha/9185: lint annoyances in -current builds on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Root <root@giauzar.garbled.net>
List: netbsd-bugs
Date: 01/13/2000 12:46:34
>Number: 9185
>Category: port-alpha
>Synopsis: lint annoyances in -current builds on alpha
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-alpha-maintainer (NetBSD/alpha Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 13 12:45:00 2000
>Last-Modified:
>Originator: Charlie Root
>Organization:
>Release: 1.4P As of 1/13/2000<NetBSD-current source date>
>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
>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.
>Audit-Trail:
>Unformatted: