But after some heavy debugging and googling I found out how to do it:
- Download the Stackless source distribution. I used version 2.6.4.
- Unpack it somewhere and enter the newly created directory.
- $ ./configure --prefix=/where/you/want/it
- Edit the file called "Makefile" and change the variable SLPFLAGS to "SLPFLAGS=-fomit-frame-pointer -O2"
- make
- make install
./Stackless/core/slp_transfer.c: In function 'slp_transfer':Looking at that error the 31 hints at that the save registers code for PPC is trying to save register r31. This is reminiscent of the error you get when compiling Stackless under Mac OS X, but in this case adding the --enable-stacklessfewerregisters option does not work.
./Stackless/core/slp_transfer.c:144: error: 31 cannot be used in asm here
./Stackless/core/slp_transfer.c:144: error: 31 cannot be used in asm here
make: *** [Stackless/core/slp_transfer.o] Error 1
[1]: A surrogate in a cyber foraging system is a strong machine that performs heavy work on behalf of the weaker (often mobile) clients.
Sweet! If we could get someone to work with CorePy http://www.corepy.org/, a PS3 should make a nice surrogate!
ReplyDeleteSo Stackless does work, if you follow those instructions? It doesn't need additional assembly language changes?
ReplyDeleteIt seems to be working fine. I have used it to run my Scavenger system and have run a few tests within that system - which have been working 100%
ReplyDelete