[Stackless] Compile Error on Intel Mac
senn at maya.com
Wed Nov 22 14:31:39 CET 2006
I haven't fixed the default config options for the mac platforms yet...
there is an extra option "--enable-stacklessfewerregisters" which you
probably want to use. And you might what "--enable-universalsdk"...
And if you are building a version which is generally useful on OS-X
(rather than a more unix-y version) you probably also want
If fact you might just want to go into Mac/BuildScript.py and
run build-installer.py; which will build a dmg of the
Universal Python installer for OS-X (with all of the above options
plus some extra useful stuff -- and since that is the way that
the powers-that-be build a distribution it is generally kept more
up to date...)
On Nov 22, 2006, at 3:12 AM, Mikeal Rogers wrote:
> I've got a Macbook Pro Core Duo and am trying to compile the latest
> in the python2.5 branch http://svn.python.org/projects/stackless/
> configure works fine, but I'm getting this error during make.
> 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/
> ./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
> Google found that someone had the same error at some point compiling
> for darwin-ppc but a fix was supposed to be checked into the trunk
> and seeing that it's an issue in asm I imagine the fix is different
> on intel. Any help i much appreciated.
Stackless mailing list
Stackless at stackless.com
More information about the Stackless