[Stackless] Error in stackless on arm

Richard Tew richard.m.tew at gmail.com
Thu Oct 22 03:01:32 CEST 2009

On Wed, Oct 21, 2009 at 7:10 PM, Mancausoft
<andreamilazzo at mancausoft.org> wrote:
> Mancausoft <andreamilazzo at mancausoft.org> scrisse:
>> I try to compile stackless 2.6.3 on arm but make test failed:
> mmhh:
> cs-e9302:~/stackless-2.6.3# ./python
> Python 2.6.3 (unknown, Oct 20 2009, 14:19:49)
> [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import stackless
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> ImportError: No module named stackless

This indicates that your platform is not supported.   It might be a
case of just checking the right defines, or it might be a case of
custom assembler needing to be written.

If you want to try this yourself, then take a look at:

You can see there is arm specific checks in there.  They need to be added to:


#elif defined(__GNUC__) && defined(__arm__) && defined(__thumb__)
	/* ARM thumb */
#elif defined(__GNUC__) && defined(__arm32__)
	/* ARM */

Then Stackless should try and compile for your platform.

If you are unable to get this to work, and you can give shell access
to your machine.  It might be possible for one of us (Kristjan or
myself) to look into this when we get the time.


More information about the Stackless mailing list