I just tried updating racket on my Mac OS PPC machine, and jit.c does
not compile. The same revision builds fine on linux x86.

This is the error I get:

gcc -I./.. -I../../../racket/src/../include -g -O2  -Wall  -DOS_X 
-D_DARWIN_UNLIMITED_SELECT   -fno-common  -c ../../../racket/src/jit.c -o jit.o
../../../racket/src/jit.c:53: warning: ignoring #pragma GCC diagnostic
../../../racket/src/jit.c:54: warning: ignoring #pragma GCC diagnostic
../../../racket/src/jit.c: In function 'generate_inlined_nary':
../../../racket/src/jit.c:8270: error: 'current_future' undeclared (first use 
in this function)
../../../racket/src/jit.c:8270: error: (Each undeclared identifier is reported 
only once
../../../racket/src/jit.c:8270: error: for each function it appears in.)
../../../racket/src/jit.c:8270: warning: left-hand operand of comma expression 
has no effect
../../../racket/src/jit.c:8270: warning: left-hand operand of comma expression 
has no effect
../../../racket/src/jit.c:8270: warning: value computed is not used


If I ifdef out the responsible piece of code to only be live when
futures are enabled, it errors further down the line:

gcc -o Racket.framework/Versions/5.0.1.3/Racket  -framework CoreFoundation 
-dynamiclib -all_load  libracket.a libmzgc.a -ldl -lm  -liconv
Undefined symbols:
  "_scheme_init_futures_per_place", referenced from:
      _place_instance_init in libracket.a(env.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Vincent

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Reply via email to