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

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu Aug 8 12:04:17 EDT 2013

Consider installing the current minimal snapshot: 

 http://www.cs.utah.edu/plt/snapshots/

and then adding packages from the main distro. This may help pin down the issue. 

Warning: highly experimental. 


On Aug 8, 2013, at 11:12 AM, Johann 'Myrkraverk' Oskarsson wrote:

> 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.
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users



Posted on the users mailing list.