[Stackless] Build problem on Mac OS X (Intel)

Jeff Senn senn at maya.com
Thu Oct 26 04:05:11 CEST 2006


I think depending on the compiler version you might need an extra
config option I added to change which registers are saved during the  
hack to
implement hardware stack switching.  So you probably want:

./configure --prefix=/opt/stackless --enable-stacklessfewerregisters

perhaps this should be the default for OS-X...

Or possibly you want framework build... or universal?
   --enable-universalsdk
   --enable-framework

-Jas


On Oct 25, 2006, at 8:32 PM, Peter Kropf wrote:

> Anyone else seeing this problem on Mac OS X on an Intel based system?
>
>
> gcc -c -fno-strict-aliasing -DSTACKLESS_FRHACK=0 -Wno-long-double
> -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes  -I. -I./Include -I./Stackless   -DPy_BUILD_CORE
> -fomit-frame-pointer -O2 -I. -o Stackless/core/slp_transfer.o
> ./Stackless/core/slp_transfer.c
> ./Stackless/core/slp_transfer.c: In function 'slp_transfer':
> ./Stackless/core/slp_transfer.c:149: warning: control may reach end of
> non-void function 'slp_switch' being inlined
> ./Stackless/platf/switch_x86_unix.h:37: error: PIC register 'ebx'
> clobbered in 'asm'
> make: *** [Stackless/core/slp_transfer.o] Error 1
>
>
> I encountered this after running:
>
> svn co http://svn.python.org/projects/stackless/branches/release25- 
> maint
> stackless
> cd stackless
> ./configure --prefix=/opt/stackless
> make
>
>
> - Peter


_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list