Subject: port-arm32/14847: arm32 kernel does not build, iomd.h "missing"
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 12/05/2001 16:02:46
>Number:         14847
>Category:       port-arm32
>Synopsis:       arm32 kernel does not build, iomd.h "missing"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm32-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 05 13:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Brown
>Release:        NetBSD 1.5Z
>Organization:
none
>Environment:
System: NetBSD dunno 1.5Z NetBSD 1.5Z (GENERIC.MP) #9: Mon Dec 3 15:49:28 EST 2001 christos@dunno:/home/NetBSD/cvsroot/src/sys/arch/i386/compile/GENERIC.MP i386
Architecture: i386
Machine: i386
>Description:
	while attempting to cross-compile a kernel for arm32 in order to test
some new kernel build goo, i was dismayed to see the build fail after reporting
lots of this:

In file included from ../../machine/intr.h:69,
                 from ../../arm/cpu.h:82,
                 from ../../machine/cpu.h:3,
                 from ../../arm/arm32/param.h:39,
                 from ../../machine/param.h:52,
                 from ../../../../../../sys/param.h:144,
                 from ../../../../../../lib/libkern/strtoul.c:3:
../../machine/irqhandler.h:47: iomd.h: No such file or directory

>How-To-Repeat:

	(1) install a cross compiler from pkgsrc for arm32 (arm-netbsd)
	(2) cd /sys/arch/arm32/conf
	(3) config OFWGENCFG
	(4) cd ../compile/OFWGENCFG
	(5) cross-do arm32 make depend

>Fix:

	it looks like the acorn32 port has all the "missing pieces".  or
perhaps arm32 shouldn't have any references to the iomd stuff.  i dunno.
>Release-Note:
>Audit-Trail:
>Unformatted: