[MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard

Laurent Sansonetti lsansonetti at apple.com
Sun Oct 11 22:35:27 PDT 2009


On Oct 11, 2009, at 10:10 PM, Laurent Sansonetti wrote:
> In fact, this crash is because of a limitation in the AOT compiler,  
> I forgot to handle literal bignums.
>
> $ ./miniruby --emit-llvm foo omg -e "p  
> 1267650600228229401496703205376"
> unrecognized literal `1267650600228229401496703205376' (class  
> `Bignum' type 10)
> Abort trap

I fixed the problem in r2782.

$ cat t.rb
p 1267650600228229401496703205376
$ macrubyc t.rb -o /tmp/t
$ /tmp/t
1267650600228229401496703205376

Laurent


More information about the MacRuby-devel mailing list