Subject: kern/15118: FireWire LP64 bug
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik E. Fair <fair@jittery.clock.org>
List: netbsd-bugs
Date: 01/02/2002 16:23:38
>Number: 15118
>Category: kern
>Synopsis: FireWire LP64 bug
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 02 16:24:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Erik E. Fair
>Release: 1.5ZA
>Organization:
International Organization of Internet Clock Watchers
>Environment:
System: NetBSD jittery.clock.org 1.5Y NetBSD 1.5Y (PC164) #9: Sat Oct 27 08:20:01 PDT 2001 root@jittery.clock.org:/usr/obj/sys/arch/alpha/compile/PC164 alpha
Architecture: alpha
Machine: alpha
>Description:
An attempt to make an alpha kernel with FireWire support
fails to compile because of a pointer to integer cast.
>How-To-Repeat:
cc -mno-fp-regs -ffreestanding -O2 -Werror -Wall -Wno-main -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Dalpha -I. -I/sys/arch -I/sys -nostdinc -DDIAGNOSTIC -DIPSEC_DEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /sys/dev/ieee1394/fwnode.c
cc1: warnings being treated as errors
/sys/dev/ieee1394/fwnode.c: In function `fwnode_configrom_input':
/sys/dev/ieee1394/fwnode.c:253: warning: cast from pointer to integer of different size
/sys/dev/ieee1394/fwnode.c:312: warning: cast from pointer to integer of different size
*** Error code 1
Stop.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: