Subject: problem crosscompiling mipseb-netbsd on alpha
To: None <tech-toolchain@netbsd.org, port-alpha@netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: tech-toolchain
Date: 05/24/2000 16:42:16
I've been trying to compile a mipseb kernel on -current alpha. I've been
unsuccesful here:

/usr/pkg/cross/mipseb-netbsd/bin/cc -O2 -Wall -Werror
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
-Wno-uninitialized -Wno-main -G 0  -mno-abicalls -mno-half-pic
-I../../../../../../lib/libkern/arch/mips -I../../.
-I../../../../../../arch -I../../../../../.. -nostdinc
-I../../../../../../../gnu/sys -DSCSI_DELAY="0" -DMIPS3 -DMIPS3_5200
-DDIAGNOSTIC -DTLP_MATCH_21040 -DMAXUSERS=32 -D_KERNEL -Dsgimips  -c
../../../../../../lib/libkern/sha1.c
../../../../../../lib/libkern/sha1.c: In function `SHA1Transform':
../../../../../../lib/libkern/sha1.c:115: virtual memory exhausted
*** Error code 1

The compiler takes way more memory than usual before it gives up. The
same problem is there when I compile with -O, but with -O0 it compiles
clean. Can anyone think of where to start looking for the problem? I'm
using mipseb-netbsd from the pkgsrc tree.

-- 
Antti Kantee <pooka@iki.fi>                    Of course he runs NetBSD.