[Stackless] Can't compile Python Shared Library

Ariel Ben Yehuda ariel.bys at gmail.com
Thu Jan 7 02:45:28 CET 2010


New information: --enable-stacklessfewerregisters allows the program to
compile, but it prevents stackless from working
$ ./configure --enable-shared --enable-stacklessfewerregisters
...
$ make
...
$ ./python
Python 2.6.4 (r264:75706, Dec  7 2009, 19:02:09)
[GCC 4.4.1] 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
$ ./configure
...
$ make
...
$ ./python
Python 2.6.4 Stackless 3.1b3 060516 (release26-maint:77333M, Jan  7 2010,
01:42:34)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import stackless
>>>

Yea, so somehow it disables stackless

Using ./conf
On Wed, Jan 6, 2010 at 8:58 PM, Ariel Ben Yehuda <ariel.bys at gmail.com>wrote:

> Searched but somehow missed it.
>
> OK.
>
>
> On Mon, Jan 4, 2010 at 7:59 PM, Richard Tew <richard.m.tew at gmail.com>wrote:
>
>> On Tue, Jan 5, 2010 at 3:03 AM, Ariel Ben Yehuda <ariel.bys at gmail.com>
>> wrote:
>> >> Stackless/platf/switch_x86_unix.h:37: error: PIC register ‘ebx’
>> clobbered
>> >> in ‘asm’
>>
>> Have you tried googling for the error?  I googled for it:
>>
>>
>> http://www.google.co.nz/search?q=PIC+register+%E2%80%98ebx%E2%80%99+clobbered+in+stackless
>>
>> And this was the first link:
>>
>>
>> http://blog.some-abstract-type.com/2008/06/compiling-stackless-on-mac-os-intel.html
>>
>> Which mentions this problem and uses this option:
>>
>> --enable-stacklessfewerregisters
>>
>> Have you tried this?
>>
>> Cheers,
>> Richard.
>>
>
>
>
> --
> - Ariel Ben-Yehuda
>



-- 
- Ariel Ben-Yehuda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20100107/089a88b7/attachment.htm>


More information about the Stackless mailing list