At 7:01 PM +0200 3/31/04, K Stol wrote:
hi,

I have trouble compiling the current distribution of parrot.
I checked it out from cvs, that didn't work, so I decided to download a snapshot (latest, 31/3).


Compiling on my winXP computer is going ok (P3/450mhz), but while compiling on my linux
server (amd k6-2/233 mhz), it hangs on core_ops_cg.c
I tried several times, but it doesn't continue after that. When I execute "top" I can see the memory the program
takes (ccl or something?) LOTS of memory, about 200. It has about 128MB, + 128 MB Swap.


Does anybody have a clue?

Oh, it'll finish, but it may take a while.


The computed goto core (which is what core_ops_cg.c has in it) is one *huge* function. It takes a pretty massive amount of memory to compile--gcc topped out at 190M the last time I checked, but it might be a bit worse now. Even without swapping it takes my 600MHz G3 laptop nearly a minute to compile it under normal circumstances. That'd be about three to four for the CPU you've got, and when you throw in swapping I can see the compile time for that module hitting 15-20 minutes.

If you give the --cgoto=0 flag to Configure.pl it'll skip that core in the build.
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to