Subject: toolchain/15044: gcc internal error on x386->alpha cross build
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/24/2001 13:36:46
>Number:         15044
>Category:       toolchain
>Synopsis:       gcc internal error on x386->alpha cross build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 24 04:37:00 PST 2001
>Originator:     Dieter Baron
>Release:        NetBSD 1.5.2
System: NetBSD nomad 1.5.2 NetBSD 1.5.2 (NOMAD) #0: Tue Oct 9 18:44:46 MEST 2001 root@nomad:/usr/src/sys/arch/i386/compile/NOMAD i386

A cross build of -current alpha (sources from yesterday) from 1.5.2 i386 dies with a gcc internal error:

$ ./ -D /usr/current/alpha-build -O /usr/current/alpha-obj -T /usr/current/tools -m alpha
dependall ===> libc
/usr/current/tools/bin/alpha--netbsd-gcc -O2 -DALL_STATE -DUSG_COMPAT  -Wall -Ws
trict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wretur
n-type -Wpointer-arith -Wswitch -Wshadow  -Werror  -D_LIBC -DNLS -DYP -DHESIOD -
DLIBC_SCCS -DSYSLIBC_SCCS  -D_REENTRANT -I/usr/current/src/lib/libc/include -DIN
ET6 -D__DBINTERFACE_PRIVATE -I/usr/current/src/lib/libc/../../libexec/ld.elf_so
-I/usr/current/src/lib/libc/dlfcn -DWITH_RUNE -DRUNEMOD_MAJOR=3  -D_PATH_LOCALEM
ING_POINT -nostdinc -isystem /usr/current/alpha-build/usr/include  -c /usr/curre
/usr/current/src/lib/libc/gen/__glob13.c: In function `g_opendir':
/usr/current/src/lib/libc/gen/__glob13.c:939: internal error--unrecognizable ins
(insn 24 22 26 (set (reg:DI 82)
        (and:DI (plus:DI (reg:DI 75)
                (const_int 17179869184 [0x400000000]))
            (const_int -8 [0xfffffffffffffff8]))) -1 (insn_list 22 (nil))
*** Error code 1

nbmake: stopped in /usr/current/src/lib/libc
*** Error code 1

	./ -D /usr/current/alpha-build -O /usr/current/alpha-obj -T /usr/current/tools -m alpha
	non known.