Subject: Re: problem crosscompiling mipseb-netbsd on alpha
To: Antti Kantee <pooka@iki.fi>
From: David Brownlee <abs@netbsd.org>
List: tech-toolchain
Date: 05/24/2000 15:10:28
	What happens if you unlimit datasize before compiling?


		David/absolute
				       -- www.netbsd.org: No hype required --

On Wed, 24 May 2000, Antti Kantee wrote:

> 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.
>