[haiku-development] Re: Building Haiku from Haiku

On 2008-06-29 at 14:51:12 [+0200], Salvatore Benedetto <emitrax@xxxxxxxxx> 
wrote:
> 2008/6/29 Ingo Weinhold <ingo_weinhold@xxxxxx>:
> >
> > On 2008-06-29 at 12:51:12 [+0200], Salvatore Benedetto <emitrax@xxxxxxxxx>
> > wrote:
> >>
> >> perhaps I'm missing something, but beside checking out the haiku source
> >> tree and
> >> running a simple ./configure with not options, what else do I need to
> >> start a jam haiku-image
> >> in haiku?
> >>
> >> Gcc, bison and flex are already installed, and sure I don't need
> >> cross-compilers.
> >> What am I missing?
> >
> > I haven't tried myself, but if you've got all the tools, ./configure 
> > should
> > be all that's needed. What goes wrong?
> 
> Everything!? :-)
> 
> I must say that I have only 256MB of RAM in vmware, but jam exit with
> a Segmentation Violation, and the debugger fails to start, I get something
> like invalide team in the syslog.
> 
> I also got a panic saying something like "General Protection Error".
> Plus a deadlock that I coulnd't figure out.
> 
> Not all at once of course.

Jam alone uses like 200 MB of memory. With only 256 MB RAM and without swap 
file support the system simply runs out of memory. When that happens starting 
the debugger obviously can't work, since that would need memory. So that much 
is expected. Neither a panic() nor a deadlock should happen of course, but 
we're obviously still have problems in low-memory situations.

CU, Ingo

Other related posts: