[Stackless] Warning: build may fail on OS X with Xcode 1.1.1's gcc 3.3 compiler

Christian Tismer tismer at stackless.com
Sun Mar 14 12:43:25 CET 2004


Bob Ippolito wrote:

> gcc version 3.3 20030304 (Apple Computer, Inc. build 1636) (-mlongcall), 
> distributed with the latest seed of Xcode 1.1.1, isn't able to build 
> slp_transfer.  You will see errors that looks like this:
> 
> /var/tmp//ccyq4M9K.s:64:non-relocatable subtraction expression, "__cst" 
> minus "L00000000001$pb"
> /var/tmp//ccyq4M9K.s:64:symbol: "L00000000001$pb" can't be undefined in 
> a subtraction expression
> 
> Current workarounds:
>     don't upgrade Xcode
>     or compile with gcc 3.1 (/usr/bin/gcc3)
> 
> If I can't tweak it to compile, I'll guess I'll distribute a .s 
> (assembly) file for the platform (created with gcc -S from a working 
> compiler) and jigger the makefile to use that instead.

That's just fine.
Maybe this would be the better option in general, since we
would have more control over the registers and such.
On the other hand, it would not integrate so nice with
those macros which do the actual data transfers.
Maybe these would be real functions, instead, and
called from the assembly?

-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  pager +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/


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



More information about the Stackless mailing list