[Stackless] Max OS X build

Christian Tismer tismer at tismer.com
Sat Jun 29 12:25:12 CEST 2002

Richard Cooper wrote:
> Looking over the archives I see that back in March, Just van Rossum pointed
> out a problem with the Mac OS X version of stackless
> % ./python.exe PCbuild/tasktest.py 

> Bus error
> %
> I checked out the code from CVS a few days ago and this problem still
> exists. Has there been any progress toward a solution? I would offer to help
> but my knowledge of PPC assembler is non-existent ;-)

The problem is that the PPC implementation fails
to do anything about the register windows.
The funny (but obvious) thing is, that Stackless
works quite fine for the "stackless" part: That is,
simply moving stack slices away to allow for deep
recursion works, since the program flow isn't changed,
the register windows contain the correct values.

Not so for the interesting part: Switching tasklets
crashes Python, of course.

Solution: Find somebody who can correct the PPC
implementation, or I have to find such a machine,
learn the assembler and do it by myself :-)

ciao - chris

Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  pager +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/

Stackless mailing list
Stackless at www.tismer.com

More information about the Stackless mailing list