Subject: Alpha cross compile
To: None <tech-toolchain@NetBSD.org>
From: Jason R. Fink <jrf@adresearch.com>
List: tech-toolchain
Date: 07/31/2003 14:42:11
Hello,
Got this while running build.sh -m alpha kernel=GENERIC
with -current as of 31 July:
/usr/src/tooldir.NetBSD-1.6U-i386/bin/alpha--netbsd-gcc -mno-fp-regs -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized -Dalpha -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/netinet/igmp.c
/usr/src/sys/netinet/igmp.c: In function `igmp_sendpkt':
/usr/src/sys/netinet/igmp.c:591: internal error--unrecognizable insn:
(insn 374 372 376 (set (reg:DI 159)
(and:DI (plus:DI (reg:DI 152)
(const_int 21474836480 [0x500000000]))
(const_int -8 [0xfffffffffffffff8]))) -1 (insn_list 372 (nil))
(nil))
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/arch/alpha/compile/GENERIC
ERROR: Failed to make all in /usr/src/sys/arch/alpha/compile/GENERIC
*** BUILD ABORTED ***
Note, I got the same error on 27 July, got distracted, tried it again
today. The native tools were already built and this is on a clean tree
(I did a full clean checkout just to be sure). The native kernel
(i386) builds fine. I will try one or two other cross compiles to see
what happens in the meantime.
Thx,
j
--
Jay Fink http://argos.homeunix.net/~jrf/