[racket] Problems compiling Racket 5.3.5 on OpenIndiana (core dump)

From: Johann 'Myrkraverk' Oskarsson (johann at myrkraverk.com)
Date: Thu Aug 8 11:12:26 EDT 2013

Hi all,

OpenIndiana is an Illumos distro, the OpenSolaris fork.

% uname -a
SunOS asuka 5.11 oi_151a7 i86pc i386 i86pc

This is racket 5.3.5.

I have 3G of memory and even added 2G of swap and tried again, no
luck.  Whatever this is, it's presumably not related to lack of
available memory.

Racket fails to compile with error messages like:

raco setup:  in typed-racket/infer
Racket virtual machine has run out of memory; aborting
gmake[1]: *** [install-3m] Abort (core dumped)

The command that fails is:

env CFLAGS="-g -O2  -Wall    -I/usr/lib/libffi-3.0.9/include  "
LDFLAGS=""  racket/racket3m -X
"/opt/myrkraverk/racket/5.3.5/lib/racket/collects" -N "raco setup" -l-
setup    --no-user

Manually entering the command with -j 1 like:

env CFLAGS="-g -O2  -Wall    -I/usr/lib/libffi-3.0.9/include  "
LDFLAGS=""  racket/racket3m -X
"/opt/myrkraverk/racket/5.3.5/lib/racket/collects" -N "raco setup -j
1" -l- setup    --no-user

did not help.

raco setup -j 1:  in typed-racket/optimizer
Racket virtual machine has run out of memory; aborting
zsh: IOT instruction (core dumped)  env CFLAGS="-g -O2  -Wall
-I/usr/lib/libffi-3.0.9/include  " LDFLAGS=""  -

As you can see it only went slightly further and when I added 2G of
swap and tried gmake install again, it still failed when setting up
the optimizer.

Any hints on what might be going wrong?

-- 
Johann

 I'm not from the internet, I just work there.

Posted on the users mailing list.