[racket] Report on compiling racket on ARMv5; JIT disabled

From: Laurent (laurent.orseau at gmail.com)
Date: Sat Aug 24 10:42:05 EDT 2013

It looks better, but it fails on:

make[4]: Entering directory
`/share/HDA_DATA/build/racket/racket/src/build/racket'
gcc -I. -I../../racket/include -g -O2  -Wall
-DINITIAL_COLLECTS_DIRECTORY='"'"`cd ../../racket/../../collects; pwd`"'"'
-DINITIAL_CONFIG_DIRECTORY='"'"`cd ../../racket/../..; pwd`/etc"'"' -c
../../racket/main.c -o main.o
gcc -o racketcgc main.o  libracket.a libmzgc.a  -ldl -lm  -ldl -lm
-rdynamic
make[4]: Leaving directory
`/share/HDA_DATA/build/racket/racket/src/build/racket'
make[3]: Leaving directory
`/share/HDA_DATA/build/racket/racket/src/build/racket'
cd gc2; make all
make[3]: Entering directory
`/share/HDA_DATA/build/racket/racket/src/build/racket/gc2'
mkdir xsrc
make xsrc/precomp.h
make[4]: Entering directory
`/share/HDA_DATA/build/racket/racket/src/build/racket/gc2'
env XFORM_PRECOMP=yes ../racketcgc  -cqu ../../../racket/gc2/xform.rkt
--setup . --cpp "gcc -E -I./.. -I../../../racket/gc2/../include "
--keep-lines -o xsrc/precomp.h ../../../racket/gc2/precomp.c
make[4]: *** [xsrc/precomp.h] Illegal instruction
make[4]: Leaving directory
`/share/HDA_DATA/build/racket/racket/src/build/racket/gc2'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/share/HDA_DATA/build/racket/racket/src/build/racket/gc2'
make[2]: *** [3m] Error 2
make[2]: Leaving directory
`/share/HDA_DATA/build/racket/racket/src/build/racket'
make[1]: *** [3m] Error 2
make[1]: Leaving directory `/share/HDA_DATA/build/racket/racket/src/build'
make: *** [all] Error 2



On Sat, Aug 24, 2013 at 3:00 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> At Sat, 24 Aug 2013 10:55:56 +0200, Laurent wrote:
> > I could compile Racket on the QNAP TS 121, thanks to the detailed
> > instructions in the READMEs, except for the JIT (and gracket disabled),
> > despite:
> > http://article.gmane.org/gmane.comp.lang.racket.devel/8703/
> >
> > Here is the how to, since it may interest some people, and the error
> > regarding the JIT.
> > https://gist.github.com/Metaxal/6326948
> >
> > I'd be interested in ideas on how to have the JIT working though.
>
> Does the enclosed patch work?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130824/b2707f48/attachment.html>

Posted on the users mailing list.