Dan Sugalski wrote:
At 4:49 PM +0530 10/28/04, Vijay D. wrote:
I left the make for overnight :) Here is the error I got..
xx.c ops/core_ops_cg.c
cc1: Cannot allocate 56022680 bytes after allocating 116981760 bytes gmake: *** [ops/core_ops_cg.o] Error 1
You just ran out of memory during the build. (If this is a server system you might want to check and make sure nothing else got killed by the OOM monitor) The computed goto cores do make gcc more than a little unhappy. Pass in the --cgoto=0 switch to configure, or throw another half-gig or so of swap at your system. :)
In my experience early problems with core_ops_cg seem to have gone away a few months back, which I assumed meant gcc now copes better with it. It only takes 5 seconds on my 1.8GHz 256MB (no swap) laptop (and about 30MB memory?) with gcc 3.3.3
[EMAIL PROTECTED] ~/src/parrot $ rm ops/core_ops_cg.o [EMAIL PROTECTED] ~/src/parrot $ time make ops/core_ops_cg.o ops/core_ops_cg.c
real 0m4.564s user 0m4.191s sys 0m0.153s
To check that I've disabled ccache:
[EMAIL PROTECTED] ~/src/parrot $ which gcc /usr/bin/gcc
Cheers,
Nick