Subject: internal error--unrecognizable insn
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 09/25/2002 18:09:30
With this morning's (Sep 25 10:18 GMT) code, I get:
cd /usr/src/sys/arch/i386/conf && /usr/src/tools/obj.i386/tools.NetBSD-1.6H-i386/bin/nbconfig -b /usr/src/obj.i386/sys/arch/i386/compile/GENERIC -s /usr/src/sys GENERIC
...
/usr/src/tools/obj.i386/tools.NetBSD-1.6H-i386/bin/i386--netbsdelf-gcc -ffreestanding -pipe -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/dev/pci/if_pcn.c
/usr/src/sys/dev/pci/if_pcn.c: In function `pcn_init':
/usr/src/sys/dev/pci/if_pcn.c:1768: internal error--unrecognizable insn:
(insn 644 643 646 (set (reg:SI 170)
(unspec:SI[
(const_int 512 [0x200])
] 5)) -1 (nil)
(nil))
*** Error code 1
Stop.
nbmake: stopped in /usr/obj/.i386/sys/arch/i386/compile/GENERIC
during a ./build.sh -R /release/i386 The build.sh before it was fine (apart
from the usual lack of groff directory while building the tools as this was
the first 1.6H build) and compiling a custom kernel was fine (doesn't have
pcn (AMD PCnet-PCI) enabled).
Bits of interest in mk.conf:
COPTS+=-pipe
UPDATE=1
DESTDIR=/destdir/${MACHINE}
RELEASEDIR=/release/${MACHINE}
Thoughts? (You must all be building GENERIC kernels with no problem..)
Cheers,
Patrick