CVSROOT:        /cvs
Module name:    ports
Changes by:     juan...@cvs.openbsd.org 2014/01/15 18:49:32

Modified files:
        lang/racket    : Makefile 
Added files:
        lang/racket/patches: patch-src_racket_src_gmp_gmplonglong_h 

Log message:
Racket doesn't build on i386 with clang. Spotted by sthen@.

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@

Reply via email to