Tested by bcallah@ (i386), jturner@ (amd64) and me (both platforms).
Help and OK from jturner@ to an old similar diff. Change from
RUN_DEPENDS to LIB_DEPENDS of some deps suggested by sthen@ and OK
from him.
The offending code is the i386 assembler within gmplonglong.h.
Using the same C code used by amd64, the interpreter builds but
it breaks the racket math libs. I tried to fix the bug backporting
some fixes related to gmp or clang from the racket repo but nothing
worked.
GCC 4.6 fixes also the crashes with the udp.rktl test but doesn't
break the math lib, so I'm changing the port to use the ports GCC.
Obviously there is some broken code on racket but I need more
time to find it.
I've included an additional patch for the gmp version included
with racket. The version is pretty old and only has assembler
code for old CPUs while the racket developers mostly only test
their code on amd64. Now racket uses the C code used by amd64
for every platform.
ok brad@ sthen@
Racket (formerly called PLT Scheme) is a multi-paradigm programming
language in the Lisp/Scheme family, that also serves as a platform for
language creation, design, and implementation.
The primary components of Racket platform are:
- The implementation of Racket (including a rich run-time system,
various libraries, JIT compiler, and more).
- DrRacket (formerly named DrScheme), the Racket program development
environment.
- Teachpacks to use together with various books.
- pkg.racket-lang.org, Racket's web-based package distribution system
for user-contributed packages.
- raco, command line tool for finding documentation, compiling Racket
source to bytecode, packaging executables, and packaging installable
archives.