Subject: kern/20982: LP64 bugs in firewire OHCI code
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik E. Fair <fair@timex.clock.org>
List: netbsd-bugs
Date: 04/02/2003 13:48:10
>Number:         20982
>Category:       kern
>Synopsis:       LP64 bugs in firewire OHCI code
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 02 13:49:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erik E. Fair
>Release:        NetBSD 1.6O
>Organization:
International Organization of Internet Clock Watchers
>Environment:
	
	
System: NetBSD timex.clock.org 1.6O NetBSD 1.6O (MIATA-GL) #1: Sun Feb 23 15:04:04 PST 2003 root@timex.clock.org:/usr/obj/sys/arch/alpha/compile/MIATA-GL alpha
Architecture: alpha
Machine: alpha
>Description:
	An attempt to compile a kernel on alpha with FW configured fails.
>How-To-Repeat:
	cc  -pipe -mcpu=21164a -mno-fp-regs -ffreestanding  -pipe -O2 -mcpu=21164a -Werror -Wall -Wno-main -
	Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -W
	no-uninitialized  -Dalpha -I.  -I/sys/arch -I/sys -nostdinc -DDIAGNOSTIC -DFW_DEBUG -DFWNODE_DEBUG -
	DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /sys/dev/ieee1394/fwohci.c
	cc1: warnings being treated as errors
	/sys/dev/ieee1394/fwohci.c: In function `fwohci_ir_buf_setup':
	/sys/dev/ieee1394/fwohci.c:4763: warning: int format, different type arg (arg 2)
	/sys/dev/ieee1394/fwohci.c: In function `fwohci_ir_read':
	/sys/dev/ieee1394/fwohci.c:5032: warning: int format, different type arg (arg 2)
	/sys/dev/ieee1394/fwohci.c: In function `fwohci_ir_wait':
	/sys/dev/ieee1394/fwohci.c:5262: warning: int format, different type arg (arg 2)
	/sys/dev/ieee1394/fwohci.c:5262: warning: int format, different type arg (arg 3)
	*** Error code 1

	Stop.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 	
 	
 
 	source from today's sup.