[Stackless] Fwd: Stackless 2.5.1c1 on OS X

Richard Tew richard.m.tew at gmail.com
Mon Apr 30 11:42:58 CEST 2007

Anyone got any experience with a Macintelsh and Stackless?

---------- Forwarded message ----------
From: Rob Hardin <rob.hardin at gmail.com>
Date: Apr 30, 2007 12:57 AM
Subject: Stackless 2.5.1c1 on OS X
To: Richard Tew <richard.m.tew at gmail.com>


I thought to give the compile a try on my brand new MacBook (intel
core 2 duo) and hit the following snag;

gcc-4.0 -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: 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

When I see assembly I get flash backs of CS340 and an uncontrollable
urge to cry in some dark closet (took the class from the guy who wrote
the text book, lesson learned)--so I came promptly to a complete stop.
Configure seemed to pickup mac okay and go through the proper routine,
so that has thrown me off. Shall I try an older version of gcc? If I
think of something in the next few days I will give it another go, but
with the work week getting ready to begin that might be optimistic.
Only brought this to your attention since I didn't see any other mac
users post in the list archive.

Best regards,


NB : While I was re-reading to send this, I thought about your message
on the configure.in file. I wonder if the mac stuff is still geared
toward powerpc (which might explain the complaint about registers).
I'll look into that when I find some free time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20070430/29baeda1/attachment.htm>
-------------- next part --------------
Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list