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

From: Laurent (laurent.orseau at gmail.com)
Date: Mon Aug 26 02:42:44 EDT 2013

It works! Thank you very much!

On Sun, Aug 25, 2013 at 8:56 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> At Sun, 25 Aug 2013 19:42:47 +0200, Laurent wrote:
> > On Sat, Aug 24, 2013 at 8:51 PM, Matthew Flatt <mflatt at cs.utah.edu>
> wrote:
> > >At Sat, 24 Aug 2013 16:42:05 +0200, Laurent wrote:
> > >> It looks better, but it fails on:
> >
> > >Can you send me the output of
> > >  gcc -dM -E - < /dev/null
> >
> > # gcc -dM -E - < /dev/null
>
> Thanks! I've pushed a change that I think should fix the problem on
> your machine.
>
>

On Sat, Aug 24, 2013 at 4:42 PM, Laurent <laurent.orseau at gmail.com> wrote:

> 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/20130826/fb97c2ca/attachment.html>

Posted on the users mailing list.