Subject: port-sparc/28082: -current sparc ./build.sh fails with usr.sbin/eeprom/eehandler
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: netbsd-bugs
Date: 11/08/2004 06:14:05
>Number:         28082
>Category:       port-sparc
>Synopsis:       -current sparc ./build.sh fails with usr.sbin/eeprom/eehandler
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sparc-maintainer
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 08 06:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        2.0_BETA on sparc64
>Organization:
>Environment:
NetBSD ultra 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Thu May 20 18:40:11 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/sparc64/OBJ/autobuild/netbsd-2-0/src/sys/arch/sparc64/compile/GENERIC sparc64

>Description:
./build.sh -O /usr/src/obj/sparc/ -T /usr/src/cross/sparc/ -m sparc -u release

[...]
#   compile  eeprom/eehandlers.o
/usr/src/cross/sparc/bin/sparc--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wm
issing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninit
ialized  -Werror   -I/usr/src/src/usr.sbin/eeprom  -nostdinc -isystem /usr/src/o
bj/sparc/destdir.sparc/usr/include  -c    /usr/src/src/usr.sbin/eeprom/eehandler
s.c
/usr/src/src/usr.sbin/eeprom/eehandlers.c: In function `ee_num8':
/usr/src/src/usr.sbin/eeprom/eehandlers.c:192: warning: subscript has type `char
'
/usr/src/src/usr.sbin/eeprom/eehandlers.c: In function `ee_num16':
/usr/src/src/usr.sbin/eeprom/eehandlers.c:218: warning: subscript has type `char
'
/usr/src/src/usr.sbin/eeprom/eehandlers.c: In function `ee_kbdtype':
/usr/src/src/usr.sbin/eeprom/eehandlers.c:398: warning: subscript has type `char
'

>How-To-Repeat:

>Fix:
worked around by removing -Werror when compiling eehandlers.c
>Release-Note:
>Audit-Trail:
>Unformatted: