Subject: i386->alpha cross-build failure
To: None <current-users@netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: current-users
Date: 12/27/2002 17:08:58
   I'm trying to make an alpha release from my i386 box:

===========================================================================
NetBSD capo 1.6K NetBSD 1.6K (CAPO) #2: Wed Dec 25 00:43:58 EST 2002     gary@capo:/usr2/tmp/current/src/obj/sys/arch/i386/compile/CAPO i386
===========================================================================
% ./build.sh -m alpha -D /usr2/tmp/current/alpha/build -M /usr2/tmp/current/alpha/obj -R /usr2/tmp/current/alpha/release -T /usr2/tmp/current/alpha/tools

[ ... ]

/usr2/tmp/current/alpha/tools/bin/alpha--netbsd-gcc -O2 -DALL_STATE -DUSG_COMPAT  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow  -Werror -mieee  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr2/tmp/current/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -I/usr2/tmp/current/src/libexec/ld.elf_so -I/usr2/tmp/current/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr2/tmp/current/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nostdinc -isystem /usr2/tmp/current/alpha/build/usr/include  -c /usr2/tmp/current/src/lib/libc/gen/disklabel.c
/usr2/tmp/current/src/lib/libc/gen/disklabel.c: In function `_getdiskbyname':
/usr2/tmp/current/src/lib/libc/gen/disklabel.c:196: internal error--unrecognizable insn:
(insn 838 836 840 (set (reg:DI 293)
        (and:DI (plus:DI (reg:DI 286)
                (const_int 578553840190619648 [0x8076fa700000000]))
            (const_int -8 [0xfffffffffffffff8]))) -1 (insn_list 836 (nil))
    (nil))
*** Error code 1

Stop.
nbmake: stopped in /usr2/tmp/current/src/lib/libc
===========================================================================

   Is this a known problem? I have an actual Alpha to play with
now, so I'd like to get this to work. (Ok, so it's a DECpc AXP 150,
but it was free.)
   Thanks.

					Gary Duzan