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@
and rbx FLAVORs, avoiding missing pthread and gmp libraries depending
on the FLAVOR. Remove support for MODRUBY_WANTLIB_m, only used by
one port.
Feedback and OK zhuk@
ruby21 FLAVOR. Use additional PLIST file for gems with C extensions
for ruby 2.1, to include the gem.build_complete file, which avoids
problems where rubygems attempts to build extensions at runtime.
So let's switch to compiling Setup scripts once more, to give at least
a few more hs packages to be built on i386, until I figure out a fix
for rts/Linker.c.
Unfortunately, the current breakage also affects template haskell,
which still leads to a lot of unbuildable ports, for example
devel/hs-vector.
Tested on i386, amd64 and macppc. macppc included a diff that's not part
of this update but will be added at a later time.
Committing on behalf of rpointel@. sthen@ OK
Not quite sure why this is needed as it looks to be built without PIE
anyway, so XXX comment added to patch, but this makes things work.
N.B. regression tests fail, "error: objects are initialised from 1st to last
(should be from last to 1st) - undefine constant OBJ_CHAIN_REVERSE_ORDER in
obj_chain.h" but this is not new and they also fail on amd64.
Regen distinfo while there.
following removal of __guard. Additionally, it has a funny license
(can't distribute packages), port is outdated, and other scheme
interpreters/compilers are available (racket, chicken, gambit).
OK juanfra@ jca@
Unbreak squeak-vm on alpha, because if __alpha__ is defined,
then we're probably running on a variant of DEC unix, and we
should use /decgcc -taso, right?
Work around upstream regression causing rake/rdoc/ri to not work by
copying the real executables over the rubygems shims.
Fix the #! lines on the executables.
The old ant based tests no longer work, and the new maven tests
require downloading tons of packages at runtime, so punt and mark
NO_TEST=Yes and stop downloading the -src tarball.