Subject: Re: problem crosscompiling mipseb-netbsd on alpha
To: None <>
From: Michael L. Hitch <>
List: tech-toolchain
Date: 05/24/2000 11:02:33
On Wed, 24 May 2000, Antti Kantee wrote:

> On Wed May 24 2000 at 15:10:28 +0100, David Brownlee wrote:
> > 	What happens if you unlimit datasize before compiling?
> Well, I'd hope that 130megs be enough, after all the box has only 64mb
> of memory. But since you had to ask, after allocating more than 200mb
> the box ran out of swap and died (actually I think that the hard drive
> is coming apart on that box, but that's a separte issue not related to
> this)

  I had just tried to build a pmax kernel on my AlphaPC 164 last night
(using mipsel-netbsd), and ran into the same problem.  I increased the
stacklimit to 32M and the datalimit to > 1000M, and it still failed.

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

  I was thinking about looking at the output of CPP to see if there was
anything strange - but since it compiles with -O0, I'd suspect something
wrong in cc1 somewhere.  I suppose one could run cc1 with gdb and try to
find out where it's looping.

Michael L. Hitch
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA